1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- #if !defined(AFX_Worker_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
- #define AFX_Worker_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
- class Worker : public CFormView
- {
- CString m_oldid;
- CString m_oldname;
- protected:
- Worker();
- DECLARE_DYNCREATE(Worker)
- public:
-
- enum { IDD = IDD_DLGWorker };
- CComboBox m_combosex;
- CComboBox m_combobm;
- CSortListCtrl2 m_List1;
- CStatic m_static1;
- CString m_bz;
- CString m_sex;
- CString m_id;
- CString m_phone;
- CString m_address;
- CString m_name;
-
- public:
- public:
- BOOL IsExist();
- BOOL IsExistID();
- BOOL IsExistName();
- void GetData();
- void ListSelChange();
- void ClearCtrl();
- void FillGrid();
-
-
- public:
- virtual void OnInitialUpdate();
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX);
-
- protected:
- virtual ~Worker();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
-
- afx_msg void OnBUTsave();
- afx_msg void OnBUTdel();
- afx_msg void OnBUTclose();
- afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnBUTadd();
-
- DECLARE_MESSAGE_MAP()
- };
- #endif
|