IncomeInput.h 2.4 KB

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