testview.h

来自「VIUSAL C++实现的考试管理系统,涉及到试卷生成,成绩记录等功能.」· C头文件 代码 · 共 68 行

H
68
字号
#if !defined(AFX_TESTVIEW_H__DCB1AEB5_168C_4FEB_BB18_64D407AECB46__INCLUDED_)
#define AFX_TESTVIEW_H__DCB1AEB5_168C_4FEB_BB18_64D407AECB46__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TestView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CTestView record view

#include "PapersSet.h"

class CTestView : public CRecordView
{
protected:
	CTestView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CTestView)

// Form Data
public:
	//{{AFX_DATA(CTestView)
	enum { IDD = IDD_SINGLEFORM };
	CPapersSet* m_pSet;
	//}}AFX_DATA

// Attributes
public:

// Operations
public:
	CPapersSet* GetRecordset();


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestView)
		// NOTE - the ClassWizard will add and remove member functions here.
	public:
	virtual CRecordset* OnGetRecordset();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate();
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CTestView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CTestView)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_TESTVIEW_H__DCB1AEB5_168C_4FEB_BB18_64D407AECB46__INCLUDED_)

⌨️ 快捷键说明

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