page3.h
来自「为VC初学者提供一个很好的例程」· C头文件 代码 · 共 74 行
H
74 行
#if !defined(AFX_PAGE3_H__ED383B90_E1C1_458F_B488_8A7FBF3F4ED5__INCLUDED_)
#define AFX_PAGE3_H__ED383B90_E1C1_458F_B488_8A7FBF3F4ED5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Page3.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPage3 dialog
class CPage3 : public CPropertyPage
{
DECLARE_DYNCREATE(CPage3)
// Construction
public:
CPage3();
~CPage3();
CDatabase m_database;//定义一个数据库变量
// Dialog Data
//{{AFX_DATA(CPage3)
enum { IDD = IDD_SYSTEMMANAGER };
CString strClass;
CString strXueQi;
CString strXuejie;
CString strXibie;
CString str;
CString strXiBieID;
CString strXuejieID;
CString strXueQiID;
CString strClassID;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CPage3)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPage3)
afx_msg void OnAbout();
afx_msg void OncmdAdd();
afx_msg void OncmdDelet();
afx_msg void OncmdExamKemu();
afx_msg void OncmdModifPasswod();
afx_msg void OncmdOffice();
afx_msg void OncmdStudentCourse();
afx_msg void OncmdStudentIfo();
afx_msg void OncmdTable();
afx_msg void OncmdTeacher();
afx_msg void OncmdXiBieClaas();
afx_msg void OncmdXuejieXueqi();
afx_msg void OncmdXueKeManage();
virtual void OnOK();
afx_msg void OnClose();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PAGE3_H__ED383B90_E1C1_458F_B488_8A7FBF3F4ED5__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?