StaffAchievement.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. //{{AFX_INCLUDES()
  2. #include "mschart.h"
  3. //}}AFX_INCLUDES
  4. #if !defined(AFX_StaffAchievement_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  5. #define AFX_StaffAchievement_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. // StaffAchievement.h : header file
  10. //
  11. /////////////////////////////////////////////////////////////////////////////
  12. // StaffAchievement form view
  13. #ifndef __AFXEXT_H__
  14. #include <afxext.h>
  15. #endif
  16. class StaffAchievement : public CFormView
  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. CArray<CMSChart*, CMSChart*>m_pChartArray;
  26. protected:
  27. StaffAchievement(); // protected constructor used by dynamic creation
  28. DECLARE_DYNCREATE(StaffAchievement)
  29. // Form Data
  30. public:
  31. //{{AFX_DATA(StaffAchievement)
  32. enum { IDD = IDD_DLGStaffAchievement };
  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. void InitChartStyle(CMSChart *pChart);
  48. void SetChartStyle(CMSChart *pChart);
  49. void KindChange();
  50. void DateChange();
  51. void FillGrid();
  52. // Overrides
  53. // ClassWizard generated virtual function overrides
  54. //{{AFX_VIRTUAL(StaffAchievement)
  55. public:
  56. virtual void OnInitialUpdate();
  57. virtual BOOL PreTranslateMessage(MSG* pMsg);
  58. protected:
  59. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  60. //}}AFX_VIRTUAL
  61. // Implementation
  62. protected:
  63. virtual ~StaffAchievement();
  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(StaffAchievement)
  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. //}}AFX_MSG
  82. DECLARE_MESSAGE_MAP()
  83. };
  84. /////////////////////////////////////////////////////////////////////////////
  85. //{{AFX_INSERT_LOCATION}}
  86. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  87. #endif // !defined(AFX_StaffAchievement_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)