⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 e3_1view.h

📁 创建用户界面交互平台,主要是熟悉控件的使用
💻 H
字号:
// E3_1View.h : interface of the CE3_1View class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_E3_1VIEW_H__62D0AFB8_C4B7_44DC_8258_80A81CA3E280__INCLUDED_)
#define AFX_E3_1VIEW_H__62D0AFB8_C4B7_44DC_8258_80A81CA3E280__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CE3_1View : public CFormView
{
protected: // create from serialization only
	CE3_1View();
	DECLARE_DYNCREATE(CE3_1View)
  
public:
	//{{AFX_DATA(CE3_1View)
	enum { IDD = IDD_E3_1_FORM };
	int		m_Num;
	CString	m_Name;
	int		m_Score;
	//}}AFX_DATA

// Attributes
public:
	CE3_1Doc* GetDocument();
    int  m_Index;            //注意:把学号与学生对象数组的下标联系起来了
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CE3_1View)
	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 ~CE3_1View();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CE3_1View)
	afx_msg void OnEnterButton();
	afx_msg void OnOutputButton();
	afx_msg void OnPrevButton();
	afx_msg void OnNextButton();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in E3_1View.cpp
inline CE3_1Doc* CE3_1View::GetDocument()
   { return (CE3_1Doc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_E3_1VIEW_H__62D0AFB8_C4B7_44DC_8258_80A81CA3E280__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -