123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- #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 // _MSC_VER > 1000
- // Worker.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // Worker form view
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
- class Worker : public MyFormView //Ô±¹¤ÉèÖÃ;
- {
- Image *m_pImg;
- CString m_oldid;
- CString m_oldname;
- CArray<CStringArray, CStringArray>m_List1array;
- CArray<CStringArray, CStringArray>m_List1arrayBak;
- protected:
- Worker(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(Worker)
- // Form Data
- public:
- //{{AFX_DATA(Worker)
- enum { IDD = IDD_DLGWorker2 };
- CComboBox m_combolevel; // ÎļþȨÏ޵ȼ¶;
- CComboBox m_combodimission;
- CComboBox m_combomarry;
- 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;
- CString m_address2;
- CString m_idno;
- CString m_loginno1;
- CString m_loginno2;
- //}}AFX_DATA
- // Attributes
- public:
- // Operations
- public:
- BOOL IsExist();
- BOOL IsExistID();
- BOOL IsExistName();
- void GetData();
- void ListSelChange();
- void ClearCtrl();
- void FillGrid();
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(Worker)
- public:
- virtual void OnInitialUpdate();
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~Worker();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- //{{AFX_MSG(Worker)
- afx_msg void OnBUTsave();
- afx_msg void OnBUTdel();
- afx_msg void OnBUTclose();
- afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnBUTadd();
- afx_msg void OnBUTAutoGet();
- afx_msg void OnBUTload();
- afx_msg void OnBUTdel2();
- afx_msg void OnPaint();
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_Worker_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
|