empeditdlg.h
来自「visual c++与sql Server数据库开发考勤管理系统」· C头文件 代码 · 共 74 行
H
74 行
#if !defined(AFX_EMPEDITDLG_H__4FE2B60A_25C7_44F1_B9E2_41CA3487A308__INCLUDED_)
#define AFX_EMPEDITDLG_H__4FE2B60A_25C7_44F1_B9E2_41CA3487A308__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EmpEditDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CEmpEditDlg dialog
class CEmpEditDlg : public CDialog
{
public:
long EmpId; //用于保存当前编辑员工的编号
CString Name; //用于保存当前编辑员工的姓名
long DepId; //用于保存当前编辑员工的部门编号
CString cSex; //用于保存当前员工的性别
HBITMAP m_hBitmap; //定义一个位图句柄,用于保存读取的位图
// Construction
public:
CEmpEditDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CEmpEditDlg)
enum { IDD = IDD_EMP_EDIT_DIALOG };
CComboBox m_sex;
CTime m_birthday;
CString m_education;
CString m_FillinPerson;
CString m_FillinTime;
CString m_folk;
CTime m_HireDate;
CString m_hukou;
CString m_idcard;
CString m_marry;
CString m_memo;
CString m_mission;
CString m_mobile;
CString m_name;
CString m_NativePlace;
CString m_OfficePhone;
CString m_party;
CString m_duty;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEmpEditDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CEmpEditDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg void OnSetPhotoButton();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EMPEDITDLG_H__4FE2B60A_25C7_44F1_B9E2_41CA3487A308__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?