📄 personneldlg.h
字号:
#if !defined(AFX_PERSONNELDLG_H__8194F76E_0D28_4F26_BE49_D07D15122091__INCLUDED_)
#define AFX_PERSONNELDLG_H__8194F76E_0D28_4F26_BE49_D07D15122091__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
class CPersonnelDlg : public CDialog{
CEmployee m_manager; //部门的经理
CString m_id; //得到要删除的职员号
CString DEPART; //要操作的部门
// Construction
public:
CPersonnelDlg(CWnd* pParent = NULL); // standard constructor
BOOL OnInitDialog(); //重载初始化对话框的虚函数
void DisplayPersonnelList(); //显示职员列表
// Dialog Data
//{{AFX_DATA(CPersonnelDlg)
enum { IDD = IDD_PERSONNEL_DIALOG };
CComboBox m_optdepartment;
CListCtrl m_information;
CString m_managername;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPersonnelDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPersonnelDlg)
afx_msg void OnPersonnelAddButton();
afx_msg void OnPersonnelExitButton();
afx_msg void OnCloseupPersonnelDepartmentCombo();
afx_msg void OnPersonnelDeleteButton();
afx_msg void OnClickInformationList(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -