StaffAchievementShowAll.h 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. // Form Data
  28. public:
  29. StaffAchievementShowAll(CWnd* pParent = NULL); // standard constructor
  30. //{{AFX_DATA(StaffAchievementShowAll)
  31. enum { IDD = IDD_DLGStaffAchievementShowAll };
  32. CSpinButtonCtrl m_spinday;
  33. CSpinButtonCtrl m_spinmonth;
  34. CSpinButtonCtrl m_spinyear;
  35. CStatic m_static1;
  36. UINT m_year;
  37. UINT m_month;
  38. UINT m_day;
  39. int m_radio2;
  40. int m_radio1;
  41. //}}AFX_DATA
  42. // Attributes
  43. public:
  44. // Operations
  45. public:
  46. BOOL IsCtrlDown();
  47. BOOL IsShiftDown();
  48. void MyExitWindows();
  49. void InitChartStyle(CMSChart *pChart);
  50. void SetChartStyle(CMSChart *pChart);
  51. void KindChange();
  52. void DateChange();
  53. void FillGrid();
  54. // Overrides
  55. // ClassWizard generated virtual function overrides
  56. //{{AFX_VIRTUAL(StaffAchievementShowAll)
  57. public:
  58. virtual BOOL PreTranslateMessage(MSG* pMsg);
  59. protected:
  60. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  61. //}}AFX_VIRTUAL
  62. // Implementation
  63. protected:
  64. #ifdef _DEBUG
  65. virtual void AssertValid() const;
  66. virtual void Dump(CDumpContext& dc) const;
  67. #endif
  68. // Generated message map functions
  69. //{{AFX_MSG(StaffAchievementShowAll)
  70. afx_msg void OnBUTclose();
  71. afx_msg void OnChangeEDITyear();
  72. afx_msg void OnChangeEDITmonth();
  73. afx_msg void OnChangeEDITday();
  74. afx_msg void OnRadio3();
  75. afx_msg void OnRadio4();
  76. afx_msg void OnRadio5();
  77. afx_msg void OnRadio6();
  78. afx_msg void OnRadio7();
  79. afx_msg void OnDestroy();
  80. afx_msg void OnBUTshowall();
  81. virtual BOOL OnInitDialog();
  82. afx_msg void OnTimer(UINT nIDEvent);
  83. afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  84. afx_msg void OnClose();
  85. //}}AFX_MSG
  86. DECLARE_MESSAGE_MAP()
  87. };
  88. /////////////////////////////////////////////////////////////////////////////
  89. //{{AFX_INSERT_LOCATION}}
  90. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  91. #endif // !defined(AFX_StaffAchievementShowAll_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)