📄 employeedlg.h
字号:
#if !defined(AFX_EMPLOYEEDLG_H__725F1E52_31C7_4E86_8DFE_572889703F58__INCLUDED_)
#define AFX_EMPLOYEEDLG_H__725F1E52_31C7_4E86_8DFE_572889703F58__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EmployeeDlg.h : header file
//
#include "LinkButton.h"
#include "EmployeeSet.h"
/////////////////////////////////////////////////////////////////////////////
// CEmployeeDlg dialog
class CEmployeeDlg : public CDialog
{
// Construction
public:
CEmployeeDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CEmployeeDlg)
enum { IDD = IDD_EMPLOYEE };
CLinkButton m_searchButton;
CListCtrl m_employeeList;
CLinkButton m_editButton;
CLinkButton m_displayButton;
CLinkButton m_deleteButton;
CLinkButton m_addButton;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEmployeeDlg)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnOK();
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CEmployeeDlg)
afx_msg void OnDisplay();
afx_msg void OnSearch();
afx_msg void OnDelete();
afx_msg void OnEdit();
afx_msg void OnAdd();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void DataBaseToCtrl();
int m_nIndex;
CEmployeeSet m_employeeSet;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EMPLOYEEDLG_H__725F1E52_31C7_4E86_8DFE_572889703F58__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -