📄 collegeidlg.h
字号:
#if !defined(AFX_COLLEGEIDLG_H__ABBA39ED_0791_4F48_A213_60BD5C48BFF4__INCLUDED_)
#define AFX_COLLEGEIDLG_H__ABBA39ED_0791_4F48_A213_60BD5C48BFF4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CollegeIdlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CCollegeIdlg dialog
class CCollegeIdlg : public CDialog
{
// Construction
public:
CCollegeIdlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCollegeIdlg)
enum { IDD = IDD_DLG_COLLEGEI };
CString m_college_no;
CString m_help;
CString m_introduction;
CString m_name;
CString m_phone;
CString m_president;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCollegeIdlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CCollegeIdlg)
afx_msg void OnBtnOk();
virtual BOOL OnInitDialog();
virtual void OnCancel();
afx_msg void OnSetfocusEditName();
afx_msg void OnSetfocusEditIntrodc();
afx_msg void OnSetfocusEditPhone();
afx_msg void OnSetfocusEditPresidet();
//}}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;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_COLLEGEIDLG_H__ABBA39ED_0791_4F48_A213_60BD5C48BFF4__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -