#if !defined(AFX_MySalary_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_) #define AFX_MySalary_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // MySalary.h : header file // ///////////////////////////////////////////////////////////////////////////// // MySalary form view #ifndef __AFXEXT_H__ #include #endif class MySalary : public CFormView { BOOL m_bAll; BOOL m_bInit; CArraym_List1array; CArraym_List3array; protected: MySalary(); // protected constructor used by dynamic creation DECLARE_DYNCREATE(MySalary) // Form Data public: //{{AFX_DATA(MySalary) enum { IDD = IDD_DLGmysalary }; CSortListCtrl2 m_List3; CListBox m_ListBox1; CSpinButtonCtrl m_spinmonth; CSpinButtonCtrl m_spinyear; CSortListCtrl2 m_List1; CStatic m_static1; CString m_name; CString m_rate1; CString m_rate2; CString m_bz; CString m_base; UINT m_month; CString m_salary; CString m_money1; CString m_money2; UINT m_year; //}}AFX_DATA // Attributes public: // Operations public: void GetAllData(); void FillGrid2(); void GetData(); void ListSelChange(); void FillGrid(CArray*array); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(MySalary) public: virtual void OnInitialUpdate(); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: virtual ~MySalary(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif // Generated message map functions //{{AFX_MSG(MySalary) afx_msg void OnBUTclose(); afx_msg void OnSelchangeList1(); afx_msg void OnChangeEDITyear(); afx_msg void OnChangeEDITmonth(); afx_msg void OnBUTshowall(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_MySalary_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)