#if !defined(AFX_DLG_PAY_TC_H__6D90C5EF_3651_455D_BDC0_73F378FEA07D__INCLUDED_)
#define AFX_DLG_PAY_TC_H__6D90C5EF_3651_455D_BDC0_73F378FEA07D__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// DLG_Pay_TC dialog
#include "C_Pay.h"
#include "C_AgentPay.h"
#include "C_FuncPay.h"


class DLG_Pay_TC : public CDialog
{
public:
	CPayData      *  m_pPayData;
	CAgentPayData *  m_pAgentPayData;
	CFuncPayData  *  m_pFuncPayData;

	long             m_lAgentID;
	CImageList       m_Image;

// Construction
public:
	void OnCPayTcNow_Func();
	void OnCPayTcNow2_Agent();
	void OnCPayTcNow_Agent();
	float GetPriceTC( float fPriceOne);
	void SetParam( CPayData *pPay,CAgentPayData * pAgentPay,CFuncPayData * pFuncPay,long lAgentID );
	DLG_Pay_TC(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(DLG_Pay_TC)
	enum { IDD = IDD_C_PAY_TC };
	CReportCtrl	m_wndList;
	float	m_lPer2;
	CString	m_strMsg;
	float	m_lPer10;
	float	m_lPer09;
	float	m_lPer08;
	float	m_lPer07;
	float	m_lPer06;
	float	m_lPer05;
	float	m_lPerA;
	float	m_lPer1;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(DLG_Pay_TC)
	virtual void OnOK();
	virtual void OnCancel();
	virtual BOOL OnInitDialog();
	afx_msg void OnCPayTcNow();
	afx_msg void OnCPayTcCopy();
	afx_msg void OnCPayTcNow2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DLG_PAY_TC_H__6D90C5EF_3651_455D_BDC0_73F378FEA07D__INCLUDED_)