ShowHisSalary.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #if !defined(AFX_SHOWHISSALARY_H__A0BDFF02_02CA_4936_BAA5_FEA1138DAE34__INCLUDED_)
  2. #define AFX_SHOWHISSALARY_H__A0BDFF02_02CA_4936_BAA5_FEA1138DAE34__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ShowHisSalary.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // ShowHisSalary dialog
  10. class ShowHisSalary : public CDialog
  11. {
  12. BOOL m_bInit;
  13. CArray<CStringArray, CStringArray>m_List1array;
  14. // Construction
  15. public:
  16. void GetData();
  17. void Clear(int selpos);
  18. void FillGrid();
  19. ShowHisSalary(CWnd* pParent = NULL); // standard constructor
  20. // Dialog Data
  21. //{{AFX_DATA(ShowHisSalary)
  22. enum { IDD = IDD_DLGShowHisSalary };
  23. CSpinButtonCtrl m_spinmonth;
  24. CSpinButtonCtrl m_spinyear;
  25. CSortListCtrl2 m_List1;
  26. CString m_filter;
  27. UINT m_year;
  28. UINT m_month;
  29. //}}AFX_DATA
  30. // Overrides
  31. // ClassWizard generated virtual function overrides
  32. //{{AFX_VIRTUAL(ShowHisSalary)
  33. protected:
  34. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. protected:
  38. // Generated message map functions
  39. //{{AFX_MSG(ShowHisSalary)
  40. virtual BOOL OnInitDialog();
  41. afx_msg void OnButton1();
  42. afx_msg void OnChangeEDITyear();
  43. afx_msg void OnChangeEDITmonth();
  44. afx_msg void OnBUTclear1();
  45. afx_msg void OnBUTclear2();
  46. afx_msg void OnBUTclear3();
  47. afx_msg void OnBUTclear4();
  48. afx_msg void OnBUTclear5();
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. };
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  54. #endif // !defined(AFX_SHOWHISSALARY_H__A0BDFF02_02CA_4936_BAA5_FEA1138DAE34__INCLUDED_)