📄 dormidlg.h
字号:
#if !defined(AFX_DORMIDLG_H__C189A3BB_1264_490E_BB7F_905C284CF050__INCLUDED_)
#define AFX_DORMIDLG_H__C189A3BB_1264_490E_BB7F_905C284CF050__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DormIdlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDormIdlg dialog
class CDormIdlg : public CDialog
{
// Construction
public:
CDormIdlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDormIdlg)
enum { IDD = IDD_DLG_DORMI };
int m_stu_num;
CString m_manager;
CString m_phone;
CString m_sex;
CString m_help;
CString m_dorm_no;
CString m_build_no;
CString m_apartment_no;
CString m_class_no;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDormIdlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDormIdlg)
virtual BOOL OnInitDialog();
afx_msg void OnBtnOk();
virtual void OnCancel();
afx_msg void OnSetfocusEditBuildNo();
afx_msg void OnSetfocusEditClassno();
afx_msg void OnSetfocusEditManager();
afx_msg void OnSetfocusEditNum();
afx_msg void OnSetfocusEditPhone();
afx_msg void OnSetfocusEditSex();
afx_msg void OnKillfocusEditSex();
afx_msg void OnSetfocusEditApartNo();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
void GenHelp(CString tCategory);
CString KillFocus(CString strCategory,CString &strCode,int len);
BOOL UpdateDB();
void GenNext();
CString GetNextNo();
CDatabase* m_pDB;
CString m_CollegeNo;
private:
CString m_sexid;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DORMIDLG_H__C189A3BB_1264_490E_BB7F_905C284CF050__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -