FinanceForm.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #if !defined(AFX_FinanceForm_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_FinanceForm_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif
  6. #ifndef __AFXEXT_H__
  7. #include <afxext.h>
  8. #endif
  9. #include "MyFormView.h"
  10. // ¶©µ¥ÊÕ¿îviewÊÓ´°;
  11. class FinanceForm : public MyFormView
  12. {
  13. CFont g_listctrlfont;
  14. CArray<CStringArray, CStringArray>m_List1array;
  15. protected:
  16. FinanceForm(); // protected constructor used by dynamic creation
  17. DECLARE_DYNCREATE(FinanceForm)
  18. public:
  19. enum { IDD = IDD_DLGFinanceFrom };
  20. CComboBox m_combo1;
  21. CSortListCtrl3 m_List1;
  22. CStatic m_static1;
  23. CString m_filter;
  24. public:
  25. void GetData();
  26. void FillGrid();
  27. virtual void OnInitialUpdate();
  28. virtual BOOL PreTranslateMessage(MSG* pMsg);
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  31. protected:
  32. virtual ~FinanceForm();
  33. #ifdef _DEBUG
  34. virtual void AssertValid() const;
  35. virtual void Dump(CDumpContext& dc) const;
  36. #endif
  37. afx_msg void OnBUTclose();
  38. afx_msg void OnButton1();
  39. afx_msg void OnSelchangeCombo1();
  40. afx_msg void OnTimer(UINT nIDEvent);
  41. afx_msg void OnBUTprint();
  42. afx_msg void OnBUTmoney();
  43. afx_msg void OnBUTMoney2();
  44. afx_msg void OnBUTmoney3();
  45. afx_msg void OnBUTmoney4();
  46. afx_msg void OnBTNaddsp();
  47. afx_msg void OnBTNaddsp2();
  48. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  49. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  50. afx_msg void OnCustomdrawList(NMHDR*, LRESULT*);
  51. DECLARE_MESSAGE_MAP()
  52. };
  53. #endif