MySalary.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. #if !defined(AFX_MySalary_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_MySalary_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // MySalary.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // MySalary form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. class MySalary : public CFormView
  14. {
  15. BOOL m_bAll;
  16. BOOL m_bInit;
  17. CArray<CStringArray, CStringArray>m_List1array;
  18. CArray<CStringArray, CStringArray>m_List3array;
  19. protected:
  20. MySalary(); // protected constructor used by dynamic creation
  21. DECLARE_DYNCREATE(MySalary)
  22. // Form Data
  23. public:
  24. //{{AFX_DATA(MySalary)
  25. enum { IDD = IDD_DLGmysalary };
  26. CSortListCtrl2 m_List3;
  27. CListBox m_ListBox1;
  28. CSpinButtonCtrl m_spinmonth;
  29. CSpinButtonCtrl m_spinyear;
  30. CSortListCtrl2 m_List1;
  31. CStatic m_static1;
  32. CString m_name;
  33. CString m_rate1;
  34. CString m_rate2;
  35. CString m_bz;
  36. CString m_base;
  37. UINT m_month;
  38. CString m_salary;
  39. CString m_money1;
  40. CString m_money2;
  41. UINT m_year;
  42. //}}AFX_DATA
  43. // Attributes
  44. public:
  45. // Operations
  46. public:
  47. void GetAllData();
  48. void FillGrid2();
  49. void GetData();
  50. void ListSelChange();
  51. void FillGrid(CArray<CStringArray, CStringArray>*array);
  52. // Overrides
  53. // ClassWizard generated virtual function overrides
  54. //{{AFX_VIRTUAL(MySalary)
  55. public:
  56. virtual void OnInitialUpdate();
  57. protected:
  58. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  59. //}}AFX_VIRTUAL
  60. // Implementation
  61. protected:
  62. virtual ~MySalary();
  63. #ifdef _DEBUG
  64. virtual void AssertValid() const;
  65. virtual void Dump(CDumpContext& dc) const;
  66. #endif
  67. // Generated message map functions
  68. //{{AFX_MSG(MySalary)
  69. afx_msg void OnBUTclose();
  70. afx_msg void OnSelchangeList1();
  71. afx_msg void OnChangeEDITyear();
  72. afx_msg void OnChangeEDITmonth();
  73. afx_msg void OnBUTshowall();
  74. //}}AFX_MSG
  75. DECLARE_MESSAGE_MAP()
  76. };
  77. /////////////////////////////////////////////////////////////////////////////
  78. //{{AFX_INSERT_LOCATION}}
  79. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  80. #endif // !defined(AFX_MySalary_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)