#if !defined(AFX_DLG_CORP_FUNCPAY_H__9CD6B2F5_EEB3_4234_AF8C_4CD6B0A675AD__INCLUDED_)
#define AFX_DLG_CORP_FUNCPAY_H__9CD6B2F5_EEB3_4234_AF8C_4CD6B0A675AD__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// DLG_Corp_FuncPay dialog

#include "MainFrm.h"

#include "..\public\reportctrl\ReportCtrl.h"
typedef CTypedPtrList<CPtrList, ANS_Corp_FuncPayData*>  CFuncPay;

class DLG_Corp_FuncPay : public CDialog
{
public:
	CFuncPay       m_Pay;
	ANS_Corp_FuncPay        m_PayReq;
	long       m_lModifyCount;
	float      m_fFuncTotal;
	long       m_lModifyType;
	BOOL       m_bSOS;
	CMainFrame* m_pMainFrame;
protected:
	CImageList m_Image;
	ANS_Corp_FuncPayData *  m_pPayData;

// Construction
public:
	static CString GetFuncToTxt(long lFuncID);
	long GetCurrentSelected();
	void SetParam(ANS_Corp_FuncPay Pay , ANS_Corp_FuncPayData *pPayData,long lModifyType);
	DLG_Corp_FuncPay(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(DLG_Corp_FuncPay)
	enum { IDD = IDD_CORP_FUNCPAY };
	CReportCtrl	m_wndList;
	CString	m_strSMSNum;
	CString	m_strCorpName;
	CString	m_strSMSUsed;
	CString	m_strTotal;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(DLG_Corp_FuncPay)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(DLG_Corp_FuncPay)
	virtual BOOL OnInitDialog();
	afx_msg void OnCorpPayAdd();
	afx_msg void OnDblclkCorpPayList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCorpPaySee();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedCorpPayModify();
};

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

#endif // !defined(AFX_DLG_CORP_PAY_H__9CD6B2F5_EEB3_4234_AF8C_4CD6B0A675AD__INCLUDED_)