WorkerReport.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. #if !defined(AFX_WorkerReport_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_WorkerReport_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // WorkerReport.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // WorkerReport form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. #include "MyFormView.h"
  14. #include "TreeComboBox.h"
  15. class WorkerReport : public MyFormView
  16. {
  17. int m_days;
  18. CString m_id;
  19. CArray<CStringArray, CStringArray>m_List1array;
  20. CArray<CStringArray, CStringArray>m_List1arrayBak;
  21. protected:
  22. WorkerReport(); // protected constructor used by dynamic creation
  23. DECLARE_DYNCREATE(WorkerReport)
  24. // Form Data
  25. public:
  26. //{{AFX_DATA(WorkerReport)
  27. enum { IDD = IDD_DLGWorkerReport };
  28. CTreeComboBox m_comboclerk;
  29. CComboBox m_combo1;
  30. CSortListCtrl2 m_List1;
  31. CStatic m_static1;
  32. CString m_filter;
  33. CString m_clerk;
  34. CString m_worker;
  35. CString m_addr;
  36. CTime m_date1;
  37. CTime m_date2;
  38. CString m_remark;
  39. BOOL m_check1;
  40. CString m_remark2;
  41. CString m_remark3;
  42. //}}AFX_DATA
  43. // Attributes
  44. public:
  45. // Operations
  46. public:
  47. void GetData();
  48. void FillGrid();
  49. // Overrides
  50. // ClassWizard generated virtual function overrides
  51. //{{AFX_VIRTUAL(WorkerReport)
  52. public:
  53. virtual void OnInitialUpdate();
  54. virtual BOOL PreTranslateMessage(MSG* pMsg);
  55. protected:
  56. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  57. //}}AFX_VIRTUAL
  58. // Implementation
  59. protected:
  60. virtual ~WorkerReport();
  61. #ifdef _DEBUG
  62. virtual void AssertValid() const;
  63. virtual void Dump(CDumpContext& dc) const;
  64. #endif
  65. // Generated message map functions
  66. //{{AFX_MSG(WorkerReport)
  67. afx_msg void OnBUTclose();
  68. afx_msg void OnButton1();
  69. afx_msg void OnButton2();
  70. afx_msg void OnButton3();
  71. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  72. afx_msg void OnButton4();
  73. afx_msg void OnButton5();
  74. afx_msg void OnCheck1();
  75. afx_msg void OnCloseupCOMBOclerk();
  76. afx_msg void OnCloseupCombo1();
  77. afx_msg void OnTimer(UINT nIDEvent);
  78. afx_msg void OnButton10();
  79. afx_msg void OnButton11();
  80. afx_msg void OnButton32();
  81. afx_msg void OnButton14();
  82. afx_msg void OnButton9();
  83. afx_msg void OnButton16();
  84. afx_msg void OnButton12();
  85. //}}AFX_MSG
  86. afx_msg void OnCustomdrawList(NMHDR*, LRESULT*);
  87. DECLARE_MESSAGE_MAP()
  88. };
  89. /////////////////////////////////////////////////////////////////////////////
  90. //{{AFX_INSERT_LOCATION}}
  91. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  92. #endif // !defined(AFX_WorkerReport_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)