#if !defined(AFX_IncomeInput2_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_) #define AFX_IncomeInput2_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // IncomeInput2.h : header file // ///////////////////////////////////////////////////////////////////////////// // IncomeInput2 form view #ifndef __AFXEXT_H__ #include #endif #include "TreeComboBox.h" class IncomeInput2 : public MyFormView // 其它二销录入 视图窗口; { BOOL m_bInit; CArraym_List1array; CArrayexpendtypearray; CArrayitemarray; protected: IncomeInput2(); // protected constructor used by dynamic creation DECLARE_DYNCREATE(IncomeInput2) public: enum { IDD = IDD_DLGIncomeInput2 }; CButtonST m_btn; CComboBox m_combo1; CComboBox m_combobz; CSpinButtonCtrl m_spinday; CSpinButtonCtrl m_spinmonth; CSpinButtonCtrl m_spinyear; CTreeComboBox m_comboren; CNumEdit m_editctrl1; CSortListCtrl3 m_List1; CStatic m_static1; CString m_bz; CString m_date; CString m_money; CString m_name; CString m_renyuan1; CString m_renyuan2; UINT m_year; UINT m_month; UINT m_day; CString m_filter; public: void ClearCtrl(); void GetData(); void ListSelChange(); void FillGrid(); public: virtual void OnInitialUpdate(); virtual BOOL PreTranslateMessage(MSG* pMsg); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support protected: virtual ~IncomeInput2(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif afx_msg void OnBUTsave(); // 录入按钮; afx_msg void OnBUTdel(); // 删除按钮; afx_msg void OnBUTclose(); afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnSelchangeList1(); afx_msg void OnChangeEDITyear(); afx_msg void OnChangeEDITmonth(); afx_msg void OnChangeEDITday(); afx_msg void OnBUTprint(); afx_msg void OnButton1(); afx_msg void OnBUTsave2(); // 修改按钮; afx_msg void OnBUTpay(); // 收款按钮; afx_msg void OnButton2(); // 查询按钮; afx_msg void OnButton4(); // 条件查询; afx_msg void OnButton5(); afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnCustomdrawList(NMHDR*, LRESULT*); DECLARE_MESSAGE_MAP() }; #endif