Card2RegChart.h 2.1 KB

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