CorpSms/DLG_Login.h

109 lines
2.6 KiB
C++

#if !defined(AFX_DLG_LOGIN_H__ABA26B1E_72C4_4385_AA66_3E918216577C__INCLUDED_)
#define AFX_DLG_LOGIN_H__ABA26B1E_72C4_4385_AA66_3E918216577C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DLG_Login.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// DLG_Login dialog
#include "MainFrm.h"
#include "..\public\BtnST\BtnST.h"
#include "Label.h"
#include "afxwin.h"
class CProcessSocket;
class DLG_Login : public CDialog
{
public:
BOOL m_bSetup; //是否是设置模式
SM_Setup m_Setup;
SM_User m_User;
CUser * m_pUser;
CProcessSocket * m_pSocket;
long m_lUserID;
ULONG m_ulPurviewType;
ULONG m_ulPurview;
ANS_Login m_Ans_Login;
BOOL m_bAnsLogin2;
ANS_Login2 m_Ans_Login2;
long m_lLoginCount;
BOOL m_bShowLogo;
CString m_strMasTitle;
CString m_strPasswdEnc; //记录加密后的密码
// Construction
public:
BOOL GetPara();
DLG_Login(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(DLG_Login)
enum { IDD = IDD_LOGIN };
CLabel m_S_KF;
CButton m_S_S3;
CLabel m_S_Reg;
CButtonST m_B_Logo;
CComboBox m_L_User;
CButton m_S_S2;
CButton m_S_S1;
CButton m_wndSetup;
CString m_strPasswd;
CString m_strProxyIP;
CString m_strProxyPasswd;
CString m_strProxyPort;
int m_iProxyType;
CString m_strProxyUser;
BOOL m_bProxyUse;
CString m_strIP;
CString m_strUser;
CString m_strCorpID;
CString m_strSQLDB;
CString m_strSQLIP;
CString m_strSQLPasswd;
CString m_strSQLUser;
BOOL m_bSQLUse;
BOOL m_bGateWay;
CString m_strLoginIP;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(DLG_Login)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(DLG_Login)
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnLoginSetup();
virtual BOOL OnInitDialog();
afx_msg void OnLoginUseproxy();
afx_msg void OnSelchangeLoginProxytype();
afx_msg void OnTimer(UINT_PTR nIDEvent);
//}}AFX_MSG
afx_msg LONG_PTR ProcessSocket_Error( WPARAM wParam , LPARAM lParam );
afx_msg LONG_PTR ProcessSocket_Frame( WPARAM wParam , LPARAM lParam );
DECLARE_MESSAGE_MAP()
public:
CStatic m_S_Logo2;
BOOL m_bSaveLoginPasswd;
CComboBox m_L_Server;
afx_msg void OnCbnSelchangeLoginUser();
afx_msg void OnStnClickedLoginReg();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLG_LOGIN_H__ABA26B1E_72C4_4385_AA66_3E918216577C__INCLUDED_)