PayOutInput.h 2.3 KB

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