📄 userdlg.h
字号:
#if !defined(AFX_USERDLG_H__218F962C_FCC7_45EA_801D_76746E77A470__INCLUDED_)
#define AFX_USERDLG_H__218F962C_FCC7_45EA_801D_76746E77A470__INCLUDED_
#include "UserSet.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// UserDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CUserDlg dialog
class CUserDlg : public CDialog
{
// Construction
public:
void ResetButton();
CDatabase m_database;
CUserSet m_userSet;
void RefreshList();
CUserDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CUserDlg)
enum { IDD = IDD_USER };
CButton m_bConfirm;
CEdit m_strPassword;
CEdit m_strUser;
CComboBox m_cLevel;
CButton m_bEdit;
CButton m_bDel;
CButton m_bAdd;
CListCtrl m_list;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CUserDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CUserDlg)
virtual BOOL OnInitDialog();
afx_msg void OnUserAdd();
afx_msg void OnUserEdit();
afx_msg void OnUserDel();
virtual void OnCancel();
afx_msg void OnClickListUser(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnUserOk();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_USERDLG_H__218F962C_FCC7_45EA_801D_76746E77A470__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -