📄 pageaddemployee.h
字号:
#if !defined(AFX_PAGEADDEMPLOYEE_H__AFCACD83_32BD_4286_8095_AEE898C3208B__INCLUDED_)
#define AFX_PAGEADDEMPLOYEE_H__AFCACD83_32BD_4286_8095_AEE898C3208B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PageAddEmployee.h : header file
//
#include "ResizablePage.h"
/////////////////////////////////////////////////////////////////////////////
// CPageAddEmployee dialog
class CPageAddEmployee : public CResizablePage
{
DECLARE_DYNCREATE(CPageAddEmployee)
// Construction
public:
CPageAddEmployee();
~CPageAddEmployee();
public:
void FillCMBDept();
BOOL LoadBufPicFromFile(CString strFilePath);
protected:
CString m_strPhotoPath;
IPicture *m_pPicture;
DWORD m_nFileLen;
BYTE * m_pPicBuffer;
// Dialog Data
//{{AFX_DATA(CPageAddEmployee)
enum { IDD = IDD_DIALOG_NEWEMPLOYEE };
CComboBox m_cmbDept;
CString m_strName;
CString m_strLoginName;
CString m_strPassword;
CString m_strTelephone;
int m_iBasicSalary;
COleDateTime m_tBirthday;
int m_iLevel;
CString m_strEmail;
CString m_strDeptName;
CString m_strTitle;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CPageAddEmployee)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPageAddEmployee)
virtual BOOL OnInitDialog();
afx_msg void OnButtonAddemp();
afx_msg void OnButttonCancel();
afx_msg void OnButtonUploadphoto();
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PAGEADDEMPLOYEE_H__AFCACD83_32BD_4286_8095_AEE898C3208B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -