EmployeeForm.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. #if !defined(AFX_EmployeeForm_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_EmployeeForm_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // EmployeeForm.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // EmployeeForm form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. #include "MyFormView.h"
  14. class EmployeeForm : public MyFormView
  15. {
  16. CArray<CStringArray, CStringArray>m_List1arrayBak;
  17. CArray<CStringArray, CStringArray>m_List1array;
  18. protected:
  19. EmployeeForm(); // protected constructor used by dynamic creation
  20. DECLARE_DYNCREATE(EmployeeForm)
  21. // Form Data
  22. public:
  23. //{{AFX_DATA(EmployeeForm)
  24. enum { IDD = IDD_DLGEmployeeForm };
  25. CComboBox m_combo1;
  26. CSortListCtrl2 m_List1;
  27. CStatic m_static1;
  28. CString m_filter;
  29. BOOL m_check1;
  30. BOOL m_check2;
  31. //}}AFX_DATA
  32. // Attributes
  33. public:
  34. // Operations
  35. public:
  36. BOOL CheckOK(CString name);
  37. void FillGrid(BOOL bStatus=0);
  38. // Overrides
  39. // ClassWizard generated virtual function overrides
  40. //{{AFX_VIRTUAL(EmployeeForm)
  41. public:
  42. virtual void OnInitialUpdate();
  43. virtual BOOL PreTranslateMessage(MSG* pMsg);
  44. protected:
  45. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  46. //}}AFX_VIRTUAL
  47. // Implementation
  48. protected:
  49. virtual ~EmployeeForm();
  50. #ifdef _DEBUG
  51. virtual void AssertValid() const;
  52. virtual void Dump(CDumpContext& dc) const;
  53. #endif
  54. // Generated message map functions
  55. //{{AFX_MSG(EmployeeForm)
  56. afx_msg void OnBUTclose();
  57. afx_msg void OnButton1();
  58. afx_msg void OnSelchangeCombo1();
  59. afx_msg void OnTimer(UINT nIDEvent);
  60. afx_msg void OnCheck1();
  61. afx_msg void OnCheck2();
  62. //}}AFX_MSG
  63. DECLARE_MESSAGE_MAP()
  64. };
  65. /////////////////////////////////////////////////////////////////////////////
  66. //{{AFX_INSERT_LOCATION}}
  67. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  68. #endif // !defined(AFX_EmployeeForm_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)