IncomeInput2.h 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. #if !defined(AFX_IncomeInput2_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_IncomeInput2_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // IncomeInput2.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // IncomeInput2 form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. #include "TreeComboBox.h"
  14. class IncomeInput2 : public MyFormView
  15. {
  16. BOOL m_bInit;
  17. CArray<CStringArray, CStringArray>m_List1array;
  18. CArray<CStringArray, CStringArray>expendtypearray;
  19. CArray<CStringArray, CStringArray>itemarray;
  20. protected:
  21. IncomeInput2(); // protected constructor used by dynamic creation
  22. DECLARE_DYNCREATE(IncomeInput2)
  23. // Form Data
  24. public:
  25. //{{AFX_DATA(IncomeInput2)
  26. enum { IDD = IDD_DLGIncomeInput2 };
  27. CButtonST m_btn;
  28. CComboBox m_combo1;
  29. CComboBox m_combobz;
  30. CSpinButtonCtrl m_spinday;
  31. CSpinButtonCtrl m_spinmonth;
  32. CSpinButtonCtrl m_spinyear;
  33. CTreeComboBox m_comboren;
  34. CNumEdit m_editctrl1;
  35. CSortListCtrl3 m_List1;
  36. CStatic m_static1;
  37. CString m_bz;
  38. CString m_date;
  39. CString m_money;
  40. CString m_name;
  41. CString m_renyuan1;
  42. CString m_renyuan2;
  43. UINT m_year;
  44. UINT m_month;
  45. UINT m_day;
  46. CString m_filter;
  47. //}}AFX_DATA
  48. // Attributes
  49. public:
  50. // Operations
  51. public:
  52. void ClearCtrl();
  53. void GetData();
  54. void ListSelChange();
  55. void FillGrid();
  56. // Overrides
  57. // ClassWizard generated virtual function overrides
  58. //{{AFX_VIRTUAL(IncomeInput2)
  59. public:
  60. virtual void OnInitialUpdate();
  61. virtual BOOL PreTranslateMessage(MSG* pMsg);
  62. protected:
  63. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  64. //}}AFX_VIRTUAL
  65. // Implementation
  66. protected:
  67. virtual ~IncomeInput2();
  68. #ifdef _DEBUG
  69. virtual void AssertValid() const;
  70. virtual void Dump(CDumpContext& dc) const;
  71. #endif
  72. // Generated message map functions
  73. //{{AFX_MSG(IncomeInput2)
  74. afx_msg void OnBUTsave();
  75. afx_msg void OnBUTdel();
  76. afx_msg void OnBUTclose();
  77. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  78. afx_msg void OnSelchangeList1();
  79. afx_msg void OnChangeEDITyear();
  80. afx_msg void OnChangeEDITmonth();
  81. afx_msg void OnChangeEDITday();
  82. afx_msg void OnBUTprint();
  83. afx_msg void OnButton1();
  84. afx_msg void OnBUTsave2();
  85. afx_msg void OnBUTpay();
  86. afx_msg void OnButton2();
  87. afx_msg void OnButton4();
  88. afx_msg void OnButton5();
  89. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  90. //}}AFX_MSG
  91. afx_msg void OnCustomdrawList(NMHDR*, LRESULT*);
  92. DECLARE_MESSAGE_MAP()
  93. };
  94. /////////////////////////////////////////////////////////////////////////////
  95. //{{AFX_INSERT_LOCATION}}
  96. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  97. #endif // !defined(AFX_IncomeInput2_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)