PayOutInput.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. #if !defined(AFX_PayOutInput_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_PayOutInput_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // PayOutInput.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // PayOutInput form view
  10. #include "TreeComboBox.h"
  11. #ifndef __AFXEXT_H__
  12. #include <afxext.h>
  13. #endif
  14. class PayOutInput : public MyFormView
  15. {
  16. public:
  17. PayOutInput(); // protected constructor used by dynamic creation
  18. virtual ~PayOutInput();
  19. //{{AFX_DATA(PayOutInput)
  20. enum { IDD = IDD_DLGPayOutInput };
  21. //}}AFX_DATA
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(PayOutInput)
  24. //}}AFX_VIRTUAL
  25. // Implementation
  26. protected:
  27. virtual void OnInitialUpdate();
  28. virtual BOOL PreTranslateMessage(MSG* pMsg);
  29. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  30. #ifdef _DEBUG
  31. virtual void AssertValid() const;
  32. virtual void Dump(CDumpContext& dc) const;
  33. #endif
  34. DECLARE_DYNCREATE(PayOutInput)
  35. // Generated message map functions
  36. //{{AFX_MSG(PayOutInput)
  37. afx_msg void OnBUTsave();
  38. afx_msg void OnBUTdel();
  39. afx_msg void OnBUTclose();
  40. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  41. afx_msg void OnSelchangeList1();
  42. afx_msg void OnChangeEDITyear();
  43. afx_msg void OnChangeEDITmonth();
  44. afx_msg void OnChangeEDITday();
  45. afx_msg void OnBUTprint();
  46. afx_msg void OnButton1();
  47. afx_msg void OnBUTload();
  48. afx_msg void OnBUTdel2();
  49. afx_msg void OnPaint();
  50. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  51. afx_msg void OnButton2();
  52. //}}AFX_MSG
  53. DECLARE_MESSAGE_MAP()
  54. public:
  55. void ClearCtrl();
  56. void GetData();
  57. void ListSelChange();
  58. void FillGrid();
  59. public:
  60. CDateEdit m_datectrl;
  61. CSpinButtonCtrl m_spinday;
  62. CSpinButtonCtrl m_spinmonth;
  63. CSpinButtonCtrl m_spinyear;
  64. CTreeComboBox m_comborenyuan;
  65. CNumEdit m_editctrl1;
  66. CListBox m_list2;
  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_renyuan2;
  74. CString m_renyuan1;
  75. UINT m_day;
  76. UINT m_month;
  77. UINT m_year;
  78. private:
  79. CString m_id;
  80. Image* m_pImg;
  81. BOOL m_bInit;
  82. CArray<CStringArray, CStringArray> m_List1array;
  83. CArray<CStringArray, CStringArray> m_List1arrayBak;
  84. };
  85. /////////////////////////////////////////////////////////////////////////////
  86. //{{AFX_INSERT_LOCATION}}
  87. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  88. #endif // !defined(AFX_PayOutInput_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)