#if !defined(AFX_DLG_CORP_MODIFY_H__867E8B9E_1D1B_4298_B21E_0FBB55D026B1__INCLUDED_)
#define AFX_DLG_CORP_MODIFY_H__867E8B9E_1D1B_4298_B21E_0FBB55D026B1__INCLUDED_

#include "..\PUBLIC\CorpSms.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DLG_Corp_Modify.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// DLG_Corp_Modify dialog

class CUserDlg;
class DLG_Corp_Modify : public CDialog
{
public:
	ANS_Corp_SeeData  m_CorpData;
	ANS_Corp_SeeData  m_CorpData2;
	CToolTipCtrl      m_tt;

protected:
	CUserDlg  * m_pUserDlg;
	POSITION  m_Pos;       //自身在管理员列表中所处的位置

// Construction
public:
	long GetCorpNumType( const TCHAR * pNum );
	ANS_Corp_SeeData GetParam();
	void SetParam( ANS_Corp_SeeData  pData , POSITION pos);
	DLG_Corp_Modify(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(DLG_Corp_Modify)
	enum { IDD = IDD_CORP_MODIFY };
	CComboBox	m_L_Partner;
	CComboBox	m_L_KF;
	CEdit	m_E_AgentID;
	CComboBox	m_L_YWY;
	CComboBox	m_L_Agent;
	CString	m_strAddress;
	CString	m_strBZ;
	CString	m_strCharterNum;
	CString	m_strHttp;
	CString	m_strName;
	CString	m_strOperation;
	CString	m_strOvrtime;
	CString	m_strPactNum;
	CString	m_strPostcode;
	CString	m_strRegTime;
	CString	m_strSMSNum;
	CString	m_strSMSUsed;
	CString	m_strSMSSendAll;
	int		m_lStatus;
	CString	m_strTotal;
	long	m_lBankroll;
	CString	m_strCreateUser;
	UINT	m_lFiltStep;
	CString	m_strCM;
	BOOL	m_bNoOut;
	BOOL	m_bOutAll;
	CString	m_strSName;
	CString	m_strTotalSms;
//	BOOL	m_bNoStatus;
	long	m_lSubDelay;
	long	m_lPriority;
	BOOL	m_bSY;
	BOOL	m_bNumCmcc;
	BOOL	m_bNumPhs;
	BOOL	m_bNumUnicom;
	int		m_lAgent;
	BOOL	m_bAgentMan;
	long	m_lAutoTG_CL;
	long	m_lAutoTG_GJZ;
	int		m_lTD_Cmcc;
	int		m_lTD_Phs;
	int		m_lTD_Unicom;
	CString	m_strEmail2;
	CString	m_strEmail1;
	CString	m_strMobile1;
	CString	m_strMobile2;
//	BOOL	m_bReportType;
	BOOL	m_bSendBill;
	BOOL	m_bSendSms;
	long	m_lSmUsed;
	int		m_lYWY;
	CString	m_strUpSms;
	UINT	m_lTCPer;
	UINT	m_lAddressCount;
	int		m_lFStep;
	UINT	m_lReportPer;
	UINT	m_lNoSendBegin;
	UINT	m_lNoSendMaxPer;
	UINT	m_lDayMaxSend;
	int		m_lHY;
	int		m_lCheckReSend;
	int		m_lLongSmsType;
	int		m_lUserType;
	int		m_lProv;
	CString	m_strEntCode;
	CString	m_strSmsCode;
	CString	m_strADCHT;
	CString	m_strADCXY;
	CString	m_strADCName;
	int		m_lKF;
	CString	m_strCorpID;
	CString	m_strSMSNum2;
	CString	m_strName_CM;
	BOOL	m_bYJ;
	CString	m_strPriceOne;
	BOOL	m_bQXT;
	BOOL	m_bMas;
	int		m_lVipType;
	BOOL	m_bNumTelcom;
	int		m_lTD_Telcom;
	int		m_lPartner;
	BOOL	m_bFax;
	CString	m_strFax_PriceAll;
	CString	m_strFax_PriceOne;
	CString	m_strFax_PriceOne2;
	CString	m_strFax_PriceYE;
	BOOL	m_bTDLock;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(DLG_Corp_Modify)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(DLG_Corp_Modify)
	virtual BOOL OnInitDialog();
	afx_msg void OnCorpModifySmsnumAuto();
	afx_msg void OnCorpModifySendbillNow();
	afx_msg void OnCorpModifySendsmsNow();
	afx_msg void OnCorpModifySendsmsQueryagent();
	afx_msg void OnSelchangeCorpModifyYwy();
	afx_msg void OnCorpModifySmsnumAuto2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedOk();
	BOOL m_bNumOversea2;
	int m_lTD_Oversea2;
	int m_lBlackType;
	int m_lVerificationCodeType;
	afx_msg void OnBnClickedCancel();
	CString m_strResponsibleID;
	CString m_strResponsible;
	CString m_strLegalPerson;
	CString m_strLegalPersonID;
	CString m_strResponsible_Mobile;
};

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

#endif // !defined(AFX_DLG_CORP_MODIFY_H__867E8B9E_1D1B_4298_B21E_0FBB55D026B1__INCLUDED_)