subform_2.h

来自「考试管理系统」· C头文件 代码 · 共 55 行

H
55
字号
#if !defined(AFX_SUBFORM_2_H__FEB49B05_94F4_4ACC_A99B_4667B4607957__INCLUDED_)
#define AFX_SUBFORM_2_H__FEB49B05_94F4_4ACC_A99B_4667B4607957__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSubForm_2 dialog

class CExamView;
class CSubForm_2 : public CDialog
{
// Construction
public:
	void GetClassInfo(int nID, CString* sGrade, CString* sClass);
	void GetStudentInfo(int nID, CString* sName, CString* sStudentID, CString* sGrade, CString* sClass);
	CExamView* m_pView;
	CSubForm_2(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSubForm_2)
	enum { IDD = IDD_FORMVIEW_2 };
	CComboBox	m_ctrlCourse;
	CListCtrl	m_ctrlResult;
	CString	m_sClass;
	CString	m_sGrade;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSubForm_2)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSubForm_2)
	virtual BOOL OnInitDialog();
	afx_msg void OnBygrade();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SUBFORM_2_H__FEB49B05_94F4_4ACC_A99B_4667B4607957__INCLUDED_)

⌨️ 快捷键说明

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