IncomeInput3.h 2.3 KB

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