Other2SaleChart.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. //{{AFX_INCLUDES()
  2. #include "mschart.h"
  3. //}}AFX_INCLUDES
  4. #if !defined(AFX_OTHER2SALECHART_H__9A478D52_C474_49E2_9FEF_89F74628D584__INCLUDED_)
  5. #define AFX_OTHER2SALECHART_H__9A478D52_C474_49E2_9FEF_89F74628D584__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. // Other2SaleChart.h : header file
  10. //
  11. /////////////////////////////////////////////////////////////////////////////
  12. // Other2SaleChart dialog
  13. class Other2SaleChart : public CDialog
  14. {
  15. CStringArray m_selarray;
  16. BOOL m_bInit;
  17. CArray<CStringArray, CStringArray>other2salearray;
  18. // Construction
  19. public:
  20. int FindList(CString str);
  21. void KindChange();
  22. void GetData();
  23. Other2SaleChart(CWnd* pParent = NULL); // standard constructor
  24. // Dialog Data
  25. //{{AFX_DATA(Other2SaleChart)
  26. enum { IDD = IDD_DLGOther2SaleChart };
  27. CListBox m_List1;
  28. CSpinButtonCtrl m_spinyear;
  29. CMSChart m_Chart;
  30. UINT m_year;
  31. //}}AFX_DATA
  32. // Overrides
  33. // ClassWizard generated virtual function overrides
  34. //{{AFX_VIRTUAL(Other2SaleChart)
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. protected:
  40. // Generated message map functions
  41. //{{AFX_MSG(Other2SaleChart)
  42. virtual BOOL OnInitDialog();
  43. afx_msg void OnChangeEDITyear();
  44. afx_msg void OnSelchangeList1();
  45. afx_msg void OnDblClickMschart1();
  46. DECLARE_EVENTSINK_MAP()
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. };
  50. //{{AFX_INSERT_LOCATION}}
  51. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  52. #endif // !defined(AFX_OTHER2SALECHART_H__9A478D52_C474_49E2_9FEF_89F74628D584__INCLUDED_)