📄 addition.h
字号:
#if !defined(AFX_ADDITION_H__261D2504_D61D_4687_A422_25856BD868B0__INCLUDED_)
#define AFX_ADDITION_H__261D2504_D61D_4687_A422_25856BD868B0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Addition.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CAddition dialog
class CAddition : public CDialog
{
// Construction
public:
CString m_strSQL;
void InitModify();
void InitAddition();
bool m_bMode;
CAddition(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CAddition)
enum { IDD = IDD_ADD_DIALOG };
CDateTimeCtrl m_CdStartTime;
CDateTimeCtrl m_CdBirthday;
CDateTimeCtrl m_startCDTC;
CDateTimeCtrl m_birthCDTC;
CEdit m_CEditName;
CComboBox m_ComboStates;
CComboBox m_ComboHealth;
CComboBox m_ComboGender;
CComboBox m_ComboNation;
CComboBox m_ComboCountry;
CComboBox m_ComboSpecialize;
CString m_address;
CString m_email;
CString m_hometown;
CString m_id;
CString m_men;
CString m_name;
CString m_no;
CString m_teleno;
CString m_specialize;
CString m_nation;
CString m_country;
CString m_gender;
CString m_health;
CString m_states;
CString mc_address;
CTime mc_birthday;
CString mc_email;
CString mc_hometown;
CString mc_id;
CString mc_men;
CString mc_name;
CString mc_no;
CTime mc_starttime;
CString mc_teleno;
CString mc_specialize;
CString mc_nation;
CString mc_country;
CString mc_gender;
CString mc_health;
CString mc_states;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAddition)
public:
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CAddition)
virtual BOOL OnInitDialog();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
virtual void OnOK();
afx_msg void OnReset();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int m_nNation;
int m_nCountry;
int m_nSpecialize;
CBrush m_brush;
// friend CSIMSDlg;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ADDITION_H__261D2504_D61D_4687_A422_25856BD868B0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -