subform_4.h

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

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

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

/////////////////////////////////////////////////////////////////////////////
// CSubForm_4 dialog

class CExamView;
class CSubForm_4 : public CDialog
{
// Construction
public:
	void DoView(CString sSQL);
	CString GetName(int nID);
	int GetCourseID(CString sCourse);
	int GetClassID();
	CExamView* m_pView;
	CSubForm_4(CWnd* pParent = NULL);   // standard constructor
	CString m_sCmd1;
	CString m_sCmd2;
	CString m_sCmd3;
	CString m_sCmd4;

// Dialog Data
	//{{AFX_DATA(CSubForm_4)
	enum { IDD = IDD_FORMVIEW_4 };
	CComboBox	m_ctrlCourse;
	CListCtrl	m_ctrlResult;
	int		m_nNum1;
	CString	m_sGrade;
	CString	m_sClass;
	float	m_fAvg;
	int		m_nNum2;
	int		m_nNum3;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSubForm_4)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeCourse();
	afx_msg void OnView1();
	afx_msg void OnView2();
	afx_msg void OnView3();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SUBFORM_4_H__66641139_4BC9_4F39_9021_8AF3A08D277C__INCLUDED_)

⌨️ 快捷键说明

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