📄 staffrecord.h
字号:
#if !defined(AFX_STAFFRECORD_H__C7F0D25A_0253_404B_9325_677C1AEEE0EF__INCLUDED_)
#define AFX_STAFFRECORD_H__C7F0D25A_0253_404B_9325_677C1AEEE0EF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StaffRecord.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CStaffRecord dialog
class CStaffRecord : public CDialog
{
// Construction
public:
CStaffRecord(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CStaffRecord)
enum { IDD = IDD_STAFFRECORD_DIALOG };
CListCtrl m_list;
CString m_staffID;
CString m_staffName;
CString m_duty;
CString m_contractID;
int m_contractTerm;
CString m_department;
CString m_sex;
CString m_address;
COleDateTime m_birthday;
CString m_marriageCondition;
CString m_postcode;
CString m_telephone;
CString m_nationality;
CString m_eMail;
CString m_educationLevel;
CString m_QQ;
CString m_graduateSchool;
CString m_major;
CString m_identityNO;
CString m_mobile;
CString m_workType;
CString m_remark;
CWnd* cwnd_list;
CWnd* cwnd_staffID;
CWnd* cwnd_staffName;
CWnd* cwnd_duty;
CWnd* cwnd_contractID;
CWnd* cwnd_contractTerm;
CWnd* cwnd_department;
CWnd* cwnd_sex;
CWnd* cwnd_address;
CWnd* cwnd_birthday;
CWnd* cwnd_marriageCondition;
CWnd* cwnd_postcode;
CWnd* cwnd_telephone;
CWnd* cwnd_nationality;
CWnd* cwnd_eMail;
CWnd* cwnd_educationLevel;
CWnd* cwnd_QQ;
CWnd* cwnd_graduateSchool;
CWnd* cwnd_major;
CWnd* cwnd_identityNO;
CWnd* cwnd_mobile;
CWnd* cwnd_workType;
CWnd* cwnd_remark;
CWnd* cwnd_add;
CWnd* cwnd_cancel;
CWnd* cwnd_delete;
CWnd* cwnd_modify;
CWnd* cwnd_save;
CWnd* cwnd_exit;
int flag;
//}}AFX_DATA
public:
void Refresh();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStaffRecord)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CStaffRecord)
afx_msg void OnClickList(NMHDR* pNMHDR, LRESULT* pResult);
virtual BOOL OnInitDialog();
afx_msg void OnAdd();
afx_msg void OnDelete();
afx_msg void OnModify();
afx_msg void OnSave();
afx_msg void OnCancellation();
afx_msg void OnExit();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STAFFRECORD_H__C7F0D25A_0253_404B_9325_677C1AEEE0EF__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -