📄 logindlg.h
字号:
#if !defined(AFX_LOGINDLG_H__E1753517_0073_4858_B8EB_EABED7DCA204__INCLUDED_)
#define AFX_LOGINDLG_H__E1753517_0073_4858_B8EB_EABED7DCA204__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LoginDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CLoginDlg dialog
#include "XPButton.h"
class CLoginDlg : public CDialog
{
// Construction
public:
CRecordset m_recordSet;
CString m_userLevel; //记录用户权限
CDatabase m_database; //数据库对象
CLoginDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CLoginDlg)
enum { IDD = IDD_LoginDIALOG };
CXPButton m_Cancel;
CXPButton m_ok;
CEdit m_strUserName;
CEdit m_strPassword;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLoginDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CLoginDlg)
virtual void OnOK();
virtual void OnCancel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LOGINDLG_H__E1753517_0073_4858_B8EB_EABED7DCA204__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -