📄 userlogin.h
字号:
#if !defined(AFX_USERLOGIN_H__8BFF1D06_FE07_4E49_B991_6570C9709901__INCLUDED_)
#define AFX_USERLOGIN_H__8BFF1D06_FE07_4E49_B991_6570C9709901__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// UserLogin.h : header file
//
#include <afxdb.h>
/////////////////////////////////////////////////////////////////////////////
// CUserLogin dialog
class CUserLogin : public CDialog
{
// Construction
public:
CUserLogin(CWnd* pParent = NULL); // standard constructor
static int DBAflag;///define globe variable to indicat the power of the user
static bool flag;
static CString UID;///链接数据库的用户名
// static CString PWD;///链接数据库的密码
// Dialog Data
//{{AFX_DATA(CUserLogin)
enum { IDD = IDD_DIALOG_UserLogin };
CString m_ePassword;
CString m_eUser;
int count;
CString m_Point1;
CString m_Point2;
CString m_Point3;
CString m_Wait;
void ConnectDB();
CDatabase m_db;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CUserLogin)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CUserLogin)
virtual void OnCancel();
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_USERLOGIN_H__8BFF1D06_FE07_4E49_B991_6570C9709901__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -