IncomeInput.h 2.4 KB

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