IncomeInput.h 2.2 KB

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