-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathEmployeeAdd.h
47 lines (36 loc) · 917 Bytes
/
EmployeeAdd.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#pragma once
#include "MySql.h"
// CEmployeeAdd 对话框
class CEmployeeAdd : public CDialog
{
DECLARE_DYNAMIC(CEmployeeAdd)
public:
CEmployeeAdd(CWnd* pParent = NULL); // 标准构造函数
virtual ~CEmployeeAdd();
// 对话框数据
enum { IDD = IDD_DIALOGADDEMPLOYEE };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedButtonAddemp();
afx_msg void OnBnClickedCancel1();
virtual BOOL OnInitDialog();
afx_msg HBRUSH OnCtlColor(CDC *pDC,CWnd *pWnd,UINT nCtlColor);
int m_nAge;
CString m_strNo;
CString m_strName;
CString m_strSex;
CString m_strPwd1;
CString m_strPwd2;
CString m_strConn;
MySql mySql;
_ConnectionPtr pConn;
CListCtrl *pList2;
HBRUSH m_hRedBrush;
public:
void ResetControl();
void setList(CListCtrl *listctrl);
protected:
virtual void OnOK();
};