📄 ex07aview.h
字号:
// Ex07aView.h : interface of the CEx07aView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_EX07AVIEW_H__D790979B_B8CE_465F_937D_70B34CF383AD__INCLUDED_)
#define AFX_EX07AVIEW_H__D790979B_B8CE_465F_937D_70B34CF383AD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CEx07aView : public CFormView
{
protected: // create from serialization only
CEx07aView();
DECLARE_DYNCREATE(CEx07aView)
public:
//{{AFX_DATA(CEx07aView)
enum { IDD = IDD_EX07A_FORM };
long m_nCode;
CString m_sName;
long m_nAge;
double m_lScore;
double m_lScore2;
double m_lScore3;
double m_dAver;
double m_dSum;
//}}AFX_DATA
// Attributes
public:
CEx07aDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEx07aView)
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:
virtual ~CEx07aView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CEx07aView)
afx_msg void OnAdd();
afx_msg void OnNext();
afx_msg void OnSum();
afx_msg void OnAverage();
afx_msg void OnFirst();
afx_msg void OnLast();
afx_msg void OnPrev();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in Ex07aView.cpp
inline CEx07aDoc* CEx07aView::GetDocument()
{ return (CEx07aDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EX07AVIEW_H__D790979B_B8CE_465F_937D_70B34CF383AD__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -