logindlg.h

来自「图书管理系统,自己编的,希望高手多指教.」· C头文件 代码 · 共 60 行

H
60
字号
#if !defined(AFX_LOGINDLG_H__FD4E4ADE_A515_48E1_9B82_E83D9FAB9F12__INCLUDED_)
#define AFX_LOGINDLG_H__FD4E4ADE_A515_48E1_9B82_E83D9FAB9F12__INCLUDED_

#include "ReadSet.h"	// Added by ClassView
#include "AdminSet.h"
//extern CString LoginID;
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LoginDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CLoginDlg dialog

class CLoginDlg : public CDialog
{
// Construction
public:
	CAdminSet AdminDataSet;
//	CString LoginID;
	CReadSet ReadDataSet;
	CFont m_font;
	CLoginDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CLoginDlg)
	enum { IDD = IDD_LOGIN };
	CString	m_Password;
	CString	m_UserID;
	BOOL	m_IsAdmin;
	//}}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)
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	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__FD4E4ADE_A515_48E1_9B82_E83D9FAB9F12__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?