59 lines
1.5 KiB
C++
59 lines
1.5 KiB
C++
#if !defined(AFX_DAILLOGIN_H__E138DD09_A581_493B_B56E_E5875F3E4B59__INCLUDED_)
|
|
#define AFX_DAILLOGIN_H__E138DD09_A581_493B_B56E_E5875F3E4B59__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// DailLogin.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CDailLogin dialog
|
|
|
|
class CDailLogin : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CDailLogin(UINT32 uiUserID, CString strPwd, BOOL bAutoLogin, BOOL bSavePassword, CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CDailLogin)
|
|
enum { IDD = IDD_DIALOG_LOGIN };
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CDailLogin)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
BOOL OnInitDialog();
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CDailLogin)
|
|
afx_msg void OnLoginCancel();
|
|
afx_msg void OnLoginOk();
|
|
afx_msg void OnLoginChange();
|
|
afx_msg void OnLoginForgot();
|
|
afx_msg void OnUsbMode();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
public:
|
|
afx_msg void OnPaint();
|
|
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
|
|
private:
|
|
CString m_IDedit;
|
|
CString m_password;
|
|
BOOL m_SavePassword;
|
|
BOOL m_autoLogin;
|
|
//}}AFX_DATA
|
|
UINT32 m_uiUserID;
|
|
CString m_csPwd;
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_DAILLOGIN_H__E138DD09_A581_493B_B56E_E5875F3E4B59__INCLUDED_)
|