SalarySet.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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 MyFormView
  14. {
  15. CArray<CStringArray, CStringArray>m_List1array;
  16. CArray<CStringArray, CStringArray>m_List1arraybak;
  17. protected:
  18. SalarySet(); // protected constructor used by dynamic creation
  19. DECLARE_DYNCREATE(SalarySet)
  20. // Form Data
  21. public:
  22. //{{AFX_DATA(SalarySet)
  23. enum { IDD = IDD_DLGsalaryset };
  24. CComboBox m_combo3;
  25. CComboBox m_combo2;
  26. CNumEdit m_editnum6;
  27. CNumEdit m_editnum5;
  28. CNumEdit m_editnum4;
  29. CNumEdit m_editnum3;
  30. CNumEdit m_editnum2;
  31. CNumEdit m_editnum1;
  32. CSortListCtrl2 m_List1;
  33. CStatic m_static1;
  34. CString m_name;
  35. CString m_rate1;
  36. CString m_rate2;
  37. CString m_bz;
  38. CString m_base;
  39. CString m_rate3;
  40. CString m_rate4;
  41. CString m_rate5;
  42. BOOL m_check1;
  43. BOOL m_check2;
  44. BOOL m_check3;
  45. BOOL m_check4;
  46. //}}AFX_DATA
  47. // Attributes
  48. public:
  49. // Operations
  50. public:
  51. void GetData();
  52. void ListSelChange();
  53. void FillGrid();
  54. // Overrides
  55. // ClassWizard generated virtual function overrides
  56. //{{AFX_VIRTUAL(SalarySet)
  57. public:
  58. virtual void OnInitialUpdate();
  59. virtual BOOL PreTranslateMessage(MSG* pMsg);
  60. protected:
  61. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  62. //}}AFX_VIRTUAL
  63. // Implementation
  64. protected:
  65. virtual ~SalarySet();
  66. #ifdef _DEBUG
  67. virtual void AssertValid() const;
  68. virtual void Dump(CDumpContext& dc) const;
  69. #endif
  70. // Generated message map functions
  71. //{{AFX_MSG(SalarySet)
  72. afx_msg void OnBUTsave(); // 全部保存按钮;
  73. afx_msg void OnBUTclose(); // 关闭按钮;
  74. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  75. afx_msg void OnBUTsave2();
  76. afx_msg void OnBUTsave3(); // 选片保存按钮;
  77. afx_msg void OnButton1();
  78. afx_msg void OnButton2();
  79. afx_msg void OnButton3(); // 计件式提成设置;
  80. afx_msg void OnButton4(); // 前期方案;
  81. afx_msg void OnButton5(); // 后期方案;
  82. afx_msg void OnButton6(); // 前期方案----设置按钮;
  83. //}}AFX_MSG
  84. DECLARE_MESSAGE_MAP()
  85. };
  86. /////////////////////////////////////////////////////////////////////////////
  87. //{{AFX_INSERT_LOCATION}}
  88. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  89. #endif // !defined(AFX_SalarySet_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)