SalarySet.h 2.4 KB

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