AgentManager/DLG_Corp_User_Add.h
2025-01-22 15:45:17 +08:00

68 lines
1.9 KiB
C++

#if !defined(AFX_DLG_CORP_USER_ADD_H__81C60675_424A_404B_92CA_8D96746AAE2A__INCLUDED_)
#define AFX_DLG_CORP_USER_ADD_H__81C60675_424A_404B_92CA_8D96746AAE2A__INCLUDED_
#include "..\PUBLIC\CorpSms.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DLG_Corp_User_Add.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// DLG_Corp_User_Add dialog
class DLG_Corp_User;
class CC_User;
class DLG_Corp_User_Add : public CDialog
{
protected:
DLG_Corp_User * m_pUserDlg;
CC_User * m_pUser2Dlg;
ANS_Corp_UserData m_User;
POSITION m_Pos;
BOOL m_bAdd; //是否新增,否则只能重置密码
long m_lCorpID; //企业ID
BOOL m_bUser2;
// Construction
public:
ANS_Corp_UserData GetParam();
void SetParam( ANS_Corp_UserData User, POSITION pos , long lCorpID , BOOL bAdd , BOOL bUser2);
DLG_Corp_User_Add(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(DLG_Corp_User_Add)
enum { IDD = IDD_CORP_USER_ADD };
CString m_strLoginName;
CString m_strMsg;
CString m_strName;
CString m_strPasswd;
BOOL m_bSDK;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(DLG_Corp_User_Add)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(DLG_Corp_User_Add)
virtual BOOL OnInitDialog();
afx_msg void OnCorpUseraddResetpasswd();
afx_msg void OnChangeCorpUseraddLoginname();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLG_CORP_USER_ADD_H__81C60675_424A_404B_92CA_8D96746AAE2A__INCLUDED_)