📄 exam8_2view.h
字号:
// Exam8_2View.h : interface of the CExam8_2View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_EXAM8_2VIEW_H__59892594_CEE7_4876_9021_B883482FBF95__INCLUDED_)
#define AFX_EXAM8_2VIEW_H__59892594_CEE7_4876_9021_B883482FBF95__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CExam8_2View : public CFormView
{
protected: // create from serialization only
CExam8_2View();
DECLARE_DYNCREATE(CExam8_2View)
public:
//{{AFX_DATA(CExam8_2View)
enum { IDD = IDD_EXAM8_2_FORM };
CString m_Name;
int m_Grade;
//}}AFX_DATA
// Attributes
public:
CExam8_2Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CExam8_2View)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
void UpdateControlsFromDoc();
virtual ~CExam8_2View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CExam8_2View)
afx_msg void OnEnter();
afx_msg void OnEditClearAll();
afx_msg void OnUpdateEditClearAll(CCmdUI* pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in Exam8_2View.cpp
inline CExam8_2Doc* CExam8_2View::GetDocument()
{ return (CExam8_2Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EXAM8_2VIEW_H__59892594_CEE7_4876_9021_B883482FBF95__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -