SalarySet.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. #if !defined(AFX_SalarySet_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_SalarySet_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // SalarySet.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // SalarySet form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. class SalarySet : public CFormView
  14. {
  15. CArray<CStringArray, CStringArray>m_List1array;
  16. protected:
  17. SalarySet(); // protected constructor used by dynamic creation
  18. DECLARE_DYNCREATE(SalarySet)
  19. // Form Data
  20. public:
  21. //{{AFX_DATA(SalarySet)
  22. enum { IDD = IDD_DLGsalaryset };
  23. CNumEdit m_editnum3;
  24. CNumEdit m_editnum2;
  25. CNumEdit m_editnum1;
  26. CSortListCtrl2 m_List1;
  27. CStatic m_static1;
  28. CString m_name;
  29. CString m_rate1;
  30. CString m_rate2;
  31. CString m_bz;
  32. CString m_base;
  33. //}}AFX_DATA
  34. // Attributes
  35. public:
  36. // Operations
  37. public:
  38. void GetData();
  39. void ListSelChange();
  40. void FillGrid();
  41. // Overrides
  42. // ClassWizard generated virtual function overrides
  43. //{{AFX_VIRTUAL(SalarySet)
  44. public:
  45. virtual void OnInitialUpdate();
  46. virtual BOOL PreTranslateMessage(MSG* pMsg);
  47. protected:
  48. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  49. //}}AFX_VIRTUAL
  50. // Implementation
  51. protected:
  52. virtual ~SalarySet();
  53. #ifdef _DEBUG
  54. virtual void AssertValid() const;
  55. virtual void Dump(CDumpContext& dc) const;
  56. #endif
  57. // Generated message map functions
  58. //{{AFX_MSG(SalarySet)
  59. afx_msg void OnBUTsave();
  60. afx_msg void OnBUTclose();
  61. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  62. //}}AFX_MSG
  63. DECLARE_MESSAGE_MAP()
  64. };
  65. /////////////////////////////////////////////////////////////////////////////
  66. //{{AFX_INSERT_LOCATION}}
  67. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  68. #endif // !defined(AFX_SalarySet_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)