logindlg.h

来自「内容包括从VC++的基本范例到项目开发的许多典型的例子。是VC++初学者不可多得」· C头文件 代码 · 共 59 行

H
59
字号
#if !defined(AFX_LOGINDLG_H__39E3DC6F_2BFE_4D7D_BEA8_D0B889B3703F__INCLUDED_)
#define AFX_LOGINDLG_H__39E3DC6F_2BFE_4D7D_BEA8_D0B889B3703F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LoginDlg.h : header file
//
#include "MyRecordSet.h"

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

class CLoginDlg : public CDialog
{
// Construction
public:
	CLoginDlg(CWnd* pParent = NULL);   // standard constructor

	MyRecordSet m_pRS;			//定义数据集

	CString		m_strSQL;		//定义查询语句
	int			m_nPower;		//用户权限



// Dialog Data
	//{{AFX_DATA(CLoginDlg)
	enum { IDD = IDD_LOGINDLG_DIALOG };
	CString	m_strDataType;
	CString	m_strPassword;
	CString	m_strUsername;
	//}}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 void OnBtnLogin();
	afx_msg void OnClose();
	afx_msg void OnBtnCancel();
	//}}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__39E3DC6F_2BFE_4D7D_BEA8_D0B889B3703F__INCLUDED_)

⌨️ 快捷键说明

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