EmployeeForm2.h 2.0 KB

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