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