IncomeInput2.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. public:
  24. enum { IDD = IDD_DLGIncomeInput2 };
  25. CButtonST m_btn;
  26. CComboBox m_combo1;
  27. CComboBox m_combobz;
  28. CSpinButtonCtrl m_spinday;
  29. CSpinButtonCtrl m_spinmonth;
  30. CSpinButtonCtrl m_spinyear;
  31. CTreeComboBox m_comboren;
  32. CNumEdit m_editctrl1;
  33. CSortListCtrl3 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_renyuan1;
  40. CString m_renyuan2;
  41. UINT m_year;
  42. UINT m_month;
  43. UINT m_day;
  44. CString m_filter;
  45. public:
  46. void ClearCtrl();
  47. void GetData();
  48. void ListSelChange();
  49. void FillGrid();
  50. public:
  51. virtual void OnInitialUpdate();
  52. virtual BOOL PreTranslateMessage(MSG* pMsg);
  53. protected:
  54. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  55. protected:
  56. virtual ~IncomeInput2();
  57. #ifdef _DEBUG
  58. virtual void AssertValid() const;
  59. virtual void Dump(CDumpContext& dc) const;
  60. #endif
  61. afx_msg void OnBUTsave(); // 录入按钮;
  62. afx_msg void OnBUTdel(); // 删除按钮;
  63. afx_msg void OnBUTclose();
  64. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  65. afx_msg void OnSelchangeList1();
  66. afx_msg void OnChangeEDITyear();
  67. afx_msg void OnChangeEDITmonth();
  68. afx_msg void OnChangeEDITday();
  69. afx_msg void OnBUTprint();
  70. afx_msg void OnButton1();
  71. afx_msg void OnBUTsave2(); // 修改按钮;
  72. afx_msg void OnBUTpay(); // 收款按钮;
  73. afx_msg void OnButton2(); // 查询按钮;
  74. afx_msg void OnButton4(); // 条件查询;
  75. afx_msg void OnButton5();
  76. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  77. afx_msg void OnCustomdrawList(NMHDR*, LRESULT*);
  78. DECLARE_MESSAGE_MAP()
  79. };
  80. #endif