📄 logondialog.h
字号:
#if !defined(AFX_LOGONDIALOG_H__F7DF45F1_8442_443B_825F_9386134D7607__INCLUDED_)
#define AFX_LOGONDIALOG_H__F7DF45F1_8442_443B_825F_9386134D7607__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LogonDialog.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CLogonDialog dialog
#include "SysUserSet.h"
#include "TeacherSet.h"
class CLogonDialog : public CDialog
{
// Construction
public:
CLogonDialog(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CLogonDialog)
enum { IDD = IDD_DIALOG_LOGON };
CEdit m_objuserid;
CEdit m_objpassword;
CComboBox m_status;
CString m_password;
CString m_userid;
CSysUserSet* m_pSetAdmin;//访问SysUsers表的记录集指针
CTeacherSet* m_pSetTeacher;//访问Teachers表的记录集指针
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLogonDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CLogonDialog)
virtual BOOL OnInitDialog();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnButtonCancel();
afx_msg void OnButtonOk();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LOGONDIALOG_H__F7DF45F1_8442_443B_825F_9386134D7607__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -