📄 exam8_3view.h
字号:
// Exam8_3View.h : interface of the CExam8_3View class
//
/////////////////////////////////////////////////////////////////////////////
#include "student.h"
#if !defined(AFX_EXAM8_3VIEW_H__9008BAA2_7DC4_41BA_AFD6_F8C82739D5F7__INCLUDED_)
#define AFX_EXAM8_3VIEW_H__9008BAA2_7DC4_41BA_AFD6_F8C82739D5F7__INCLUDED_
#include "student.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CExam8_3View : public CFormView
{
protected: // create from serialization only
CExam8_3View();
DECLARE_DYNCREATE(CExam8_3View)
public:
//{{AFX_DATA(CExam8_3View)
enum { IDD = IDD_EXAM8_3_FORM };
CString m_Name;
int m_Grade;
//}}AFX_DATA
// Attributes
public:
CExam8_3Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CExam8_3View)
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);
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
//}}AFX_VIRTUAL
// Implementation
public:
CStudent m_pStu;
int m_StuIndex;
virtual ~CExam8_3View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CExam8_3View)
afx_msg void OnStudentInsert();
afx_msg void OnStudentDel();
afx_msg void OnUpdateStudentDel(CCmdUI* pCmdUI);
afx_msg void OnStudentEnd();
afx_msg void OnUpdateStudentEnd(CCmdUI* pCmdUI);
afx_msg void OnStudentHome();
afx_msg void OnUpdateStudentHome(CCmdUI* pCmdUI);
afx_msg void OnStudentNext();
afx_msg void OnUpdateStudentNext(CCmdUI* pCmdUI);
afx_msg void OnStudentPrev();
afx_msg void OnUpdateStudentPrev(CCmdUI* pCmdUI);
afx_msg void OnEditClear();
afx_msg void OnClear();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in Exam8_3View.cpp
inline CExam8_3Doc* CExam8_3View::GetDocument()
{ return (CExam8_3Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EXAM8_3VIEW_H__9008BAA2_7DC4_41BA_AFD6_F8C82739D5F7__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -