StoreInfoChart.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. //{{AFX_INCLUDES()
  2. #include "mschart.h"
  3. //}}AFX_INCLUDES
  4. #if !defined(AFX_StoreInfoChart_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  5. #define AFX_StoreInfoChart_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. // StoreInfoChart.h : header file
  10. //
  11. /////////////////////////////////////////////////////////////////////////////
  12. // StoreInfoChart form view
  13. #ifndef __AFXEXT_H__
  14. #include <afxext.h>
  15. #endif
  16. class StoreInfoChart : public MyFormView
  17. {
  18. CArray<CStringArray, CStringArray>m_List1array;
  19. BOOL m_bInit;
  20. CArray<CMSChart*, CMSChart*>m_pChartArray;
  21. protected:
  22. StoreInfoChart(); // protected constructor used by dynamic creation
  23. DECLARE_DYNCREATE(StoreInfoChart)
  24. // Form Data
  25. public:
  26. //{{AFX_DATA(StoreInfoChart)
  27. enum { IDD = IDD_DLGstoreintochart };
  28. CSpinButtonCtrl m_spinday;
  29. CSpinButtonCtrl m_spinmonth;
  30. CSpinButtonCtrl m_spinyear;
  31. CStatic m_static1;
  32. UINT m_year;
  33. UINT m_month;
  34. UINT m_day;
  35. int m_radio1;
  36. int m_radio3;
  37. //}}AFX_DATA
  38. // Attributes
  39. public:
  40. // Operations
  41. public:
  42. void InitChartStyle(CMSChart *pChart);
  43. void SetChartStyle(CMSChart *pChart);
  44. void KindChange();
  45. void DateChange();
  46. void FillGrid();
  47. // Overrides
  48. // ClassWizard generated virtual function overrides
  49. //{{AFX_VIRTUAL(StoreInfoChart)
  50. public:
  51. virtual void OnInitialUpdate();
  52. virtual BOOL PreTranslateMessage(MSG* pMsg);
  53. protected:
  54. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  55. //}}AFX_VIRTUAL
  56. // Implementation
  57. protected:
  58. virtual ~StoreInfoChart();
  59. #ifdef _DEBUG
  60. virtual void AssertValid() const;
  61. virtual void Dump(CDumpContext& dc) const;
  62. #endif
  63. // Generated message map functions
  64. //{{AFX_MSG(StoreInfoChart)
  65. afx_msg void OnBUTclose();
  66. afx_msg void OnChangeEDITyear();
  67. afx_msg void OnChangeEDITmonth();
  68. afx_msg void OnChangeEDITday();
  69. afx_msg void OnRadio3();
  70. afx_msg void OnRadio4();
  71. afx_msg void OnDestroy();
  72. afx_msg void OnRadio5();
  73. //}}AFX_MSG
  74. DECLARE_MESSAGE_MAP()
  75. };
  76. /////////////////////////////////////////////////////////////////////////////
  77. //{{AFX_INSERT_LOCATION}}
  78. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  79. #endif // !defined(AFX_StoreInfoChart_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)