stumdlg.h
来自「这是一个学生管理系统 包含学生基本信息 选课信息 宿舍信息 教师信息 课程信息 」· C头文件 代码 · 共 80 行
H
80 行
#if !defined(AFX_STUMDLG_H__F0B2FB7D_0834_4DEA_85C3_CA77CB5BE83D__INCLUDED_)
#define AFX_STUMDLG_H__F0B2FB7D_0834_4DEA_85C3_CA77CB5BE83D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StuMdlg.h : header file
//
#include "StudentSet.h"
#include "Modifydlg.h"
/////////////////////////////////////////////////////////////////////////////
// CStuMdlg dialog
class CStuMdlg : public CDialog
{
// Construction
public:
CStuMdlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CStuMdlg)
enum { IDD = IDD_DLG_STUM };
CComboBox m_ComboSex;
CComboBox m_ComboPolity;
CComboBox m_ComboNation;
CComboBox m_ComboDorm;
CString m_address;
CString m_content;
int m_day;
CString m_help;
int m_month;
CString m_name;
CString m_no;
CString m_phone;
int m_score;
CString m_sourse;
int m_year;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStuMdlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CStuMdlg)
virtual BOOL OnInitDialog();
afx_msg void OnBtnBottom();
afx_msg void OnBtnDelete();
afx_msg void OnBtnEditCancal();
afx_msg void OnBtnFirst();
afx_msg void OnBtnNext();
afx_msg void OnBtnPrev();
afx_msg void OnBtnAddSave();
virtual void OnCancel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
CDatabase * m_pDB;
int m_kind;
CRecordset *m_pStudent;
void EnableControl(BOOL bEnable=FALSE);
void InitComboBox(CString tCategory,CComboBox *tBox);
void UpdateField(BOOL bSave=TRUE);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STUMDLG_H__F0B2FB7D_0834_4DEA_85C3_CA77CB5BE83D__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?