123 lines
2.9 KiB
C++
123 lines
2.9 KiB
C++
#if !defined(AFX_DLG_AGENT_MODIFY_H__95F1DDC3_C0B8_44AE_BDAC_E7B65E18A21A__INCLUDED_)
|
|
#define AFX_DLG_AGENT_MODIFY_H__95F1DDC3_C0B8_44AE_BDAC_E7B65E18A21A__INCLUDED_
|
|
|
|
#include "..\PUBLIC\CorpSms.h" // Added by ClassView
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// DLG_Agent_Modify.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// DLG_Agent_Modify dialog
|
|
|
|
class CK_Agent;
|
|
class DLG_Agent_Modify : public CDialog
|
|
{
|
|
public:
|
|
ANS_Agent_SeeData m_AgentData;
|
|
TCHAR m_szPasswd[32];
|
|
CK_Agent * m_pAgentDlg;
|
|
long m_lReSetpasswdType; //重置密码类型
|
|
|
|
protected:
|
|
POSITION m_Pos; //自身在管理员列表中所处的位置
|
|
BOOL m_bAdd; //是否是新添加的内容
|
|
|
|
// Construction
|
|
public:
|
|
ANS_Agent_SeeData GetParam();
|
|
void SetParam(ANS_Agent_SeeData data, POSITION pos, BOOL bAdd);
|
|
DLG_Agent_Modify(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(DLG_Agent_Modify)
|
|
enum { IDD = IDD_AGENT_MODIFY };
|
|
CComboBox m_L_YWY;
|
|
CEdit m_E_Passwd;
|
|
CString m_strAddress;
|
|
CString m_strBZ;
|
|
CString m_strCharterNum;
|
|
CString m_strCreateUser;
|
|
CString m_strEmail;
|
|
CString m_strFax;
|
|
CString m_strHttp;
|
|
CString m_strLXR;
|
|
CString m_strMobile;
|
|
CString m_strName;
|
|
CString m_strPostcode;
|
|
CString m_strRegTime;
|
|
int m_lStatus;
|
|
CString m_strTaxNum;
|
|
CString m_strTel;
|
|
CString m_strTotal;
|
|
CString m_strUsed;
|
|
CString m_strMmsTotal;
|
|
CString m_strMmsUsed;
|
|
CString m_strCredit;
|
|
CString m_strLoginName;
|
|
CString m_strPasswd;
|
|
UINT m_lAddCorpCount;
|
|
UINT m_lAddedCorp;
|
|
int m_lType;
|
|
CString m_strOEMName;
|
|
UINT m_lReportPer;
|
|
BOOL m_bYJ;
|
|
CString m_strS_AgentName;
|
|
CString m_strS_Email;
|
|
CString m_strS_Http;
|
|
CString m_strS_Name;
|
|
CString m_strS_Tel;
|
|
BOOL m_bTest;
|
|
UINT m_lTCPer;
|
|
BOOL m_bRTX;
|
|
int m_lTD_Cmcc;
|
|
int m_lTD_Phs;
|
|
int m_lTD_Unicom;
|
|
int m_lUserType;
|
|
int m_lADCTCType;
|
|
int m_lLongSmsType;
|
|
BOOL m_bYWYManager;
|
|
CString m_strPriceOne;
|
|
CString m_strMmsPriceOne;
|
|
int m_lTD_Telcom;
|
|
CString m_strMobile1;
|
|
CString m_strMobile2;
|
|
BOOL m_bSendSms;
|
|
long m_lSmUsed;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(DLG_Agent_Modify)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(DLG_Agent_Modify)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnAgentModifyRepasswd();
|
|
afx_msg void OnAgentModifySendmsg();
|
|
afx_msg void OnAgentModifySendsmsNow();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
public:
|
|
afx_msg void OnBnClickedOk();
|
|
CString m_strAgentID;
|
|
BOOL m_bAllowMinus;
|
|
// int m_lDayMaxSend;
|
|
int m_lSY;
|
|
int m_lDayMaxSend;
|
|
afx_msg void OnBnClickedAgentModifyClear();
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_DLG_AGENT_MODIFY_H__95F1DDC3_C0B8_44AE_BDAC_E7B65E18A21A__INCLUDED_)
|