StaffAchievementShowAll.h 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. //{{AFX_INCLUDES()
  2. #include "mschart.h"
  3. //}}AFX_INCLUDES
  4. #if !defined(AFX_StaffAchievementShowAll_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  5. #define AFX_StaffAchievementShowAll_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. // StaffAchievementShowAll.h : header file
  10. //
  11. /////////////////////////////////////////////////////////////////////////////
  12. // StaffAchievementShowAll form view
  13. #ifndef __AFXEXT_H__
  14. #include <afxext.h>
  15. #endif
  16. class StaffAchievementShowAll : public CDialog
  17. {
  18. CArray<float,float>money1array;
  19. CArray<float,float>money2array;
  20. CArray<CStringArray, CStringArray>m_List3array;
  21. CArray<CStringArray, CStringArray>waiterarray;
  22. CArray<CStringArray, CStringArray>m_List1array;
  23. DWORD m_timestmap;
  24. BOOL m_bInit;
  25. int m_time;
  26. CArray<CMSChart*, CMSChart*>m_pChartArray;
  27. int m_radio3;
  28. // Form Data
  29. public:
  30. StaffAchievementShowAll(CWnd* pParent = NULL); // standard constructor
  31. //{{AFX_DATA(StaffAchievementShowAll)
  32. enum { IDD = IDD_DLGStaffAchievementShowAll };
  33. CSpinButtonCtrl m_spinday;
  34. CSpinButtonCtrl m_spinmonth;
  35. CSpinButtonCtrl m_spinyear;
  36. CStatic m_static1;
  37. UINT m_year;
  38. UINT m_month;
  39. UINT m_day;
  40. int m_radio2;
  41. int m_radio1;
  42. //}}AFX_DATA
  43. // Attributes
  44. public:
  45. // Operations
  46. public:
  47. BOOL IsCtrlDown();
  48. BOOL IsShiftDown();
  49. void MyExitWindows();
  50. void InitChartStyle(CMSChart *pChart);
  51. void SetChartStyle(CMSChart *pChart);
  52. void KindChange();
  53. void DateChange();
  54. void FillGrid();
  55. // Overrides
  56. // ClassWizard generated virtual function overrides
  57. //{{AFX_VIRTUAL(StaffAchievementShowAll)
  58. public:
  59. virtual BOOL PreTranslateMessage(MSG* pMsg);
  60. protected:
  61. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  62. //}}AFX_VIRTUAL
  63. // Implementation
  64. protected:
  65. #ifdef _DEBUG
  66. virtual void AssertValid() const;
  67. virtual void Dump(CDumpContext& dc) const;
  68. #endif
  69. // Generated message map functions
  70. //{{AFX_MSG(StaffAchievementShowAll)
  71. afx_msg void OnBUTclose();
  72. afx_msg void OnChangeEDITyear();
  73. afx_msg void OnChangeEDITmonth();
  74. afx_msg void OnChangeEDITday();
  75. afx_msg void OnRadio3();
  76. afx_msg void OnRadio4();
  77. afx_msg void OnRadio5();
  78. afx_msg void OnRadio6();
  79. afx_msg void OnRadio7();
  80. afx_msg void OnDestroy();
  81. afx_msg void OnBUTshowall();
  82. virtual BOOL OnInitDialog();
  83. afx_msg void OnTimer(UINT nIDEvent);
  84. afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  85. afx_msg void OnClose();
  86. //}}AFX_MSG
  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_StaffAchievementShowAll_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)