#if !defined(AFX_PayOutInput_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
#define AFX_PayOutInput_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PayOutInput.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// PayOutInput form view
#include "TreeComboBox.h"
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
class PayOutInput : public MyFormView
{
public:
	PayOutInput();           // protected constructor used by dynamic creation
	virtual ~PayOutInput();

	//{{AFX_DATA(PayOutInput)
	enum { IDD = IDD_DLGPayOutInput };
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(PayOutInput)

	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual void OnInitialUpdate();
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	DECLARE_DYNCREATE(PayOutInput)

	// Generated message map functions
	//{{AFX_MSG(PayOutInput)
	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 OnBUTload();
	afx_msg void OnBUTdel2();
	afx_msg void OnPaint();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnButton2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:
	void ClearCtrl();
	void GetData();
	void ListSelChange();
	void FillGrid();

public:
	CDateEdit		m_datectrl;
	CSpinButtonCtrl	m_spinday;
	CSpinButtonCtrl	m_spinmonth;
	CSpinButtonCtrl	m_spinyear;
	CTreeComboBox	m_comborenyuan;
	CNumEdit		m_editctrl1;
	CListBox		m_list2;
	CSortListCtrl2	m_List1;
	CStatic			m_static1;

	CString			m_bz;
	CString			m_date;
	CString			m_money;
	CString			m_name;
	CString			m_renyuan2;
	CString			m_renyuan1;
	UINT			m_day;
	UINT			m_month;
	UINT			m_year;

private:
	CString		m_id;
	Image*		m_pImg;
	BOOL		m_bInit;
	CArray<CStringArray, CStringArray> m_List1array;
	CArray<CStringArray, CStringArray> m_List1arrayBak;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PayOutInput_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)