userlogin.h

来自「自己编的设备管理系统」· C头文件 代码 · 共 61 行

H
61
字号
#if !defined(AFX_USERLOGIN_H__8BFF1D06_FE07_4E49_B991_6570C9709901__INCLUDED_)
#define AFX_USERLOGIN_H__8BFF1D06_FE07_4E49_B991_6570C9709901__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// UserLogin.h : header file
//
#include <afxdb.h>
/////////////////////////////////////////////////////////////////////////////
// CUserLogin dialog

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

	static int DBAflag;///define globe variable to indicat the power of the user
	static bool flag;
	static CString UID;///链接数据库的用户名
//	static CString PWD;///链接数据库的密码

// Dialog Data
	//{{AFX_DATA(CUserLogin)
	enum { IDD = IDD_DIALOG_UserLogin };
	CString	m_ePassword;
	CString	m_eUser;
	int count;
	CString	m_Point1;
	CString	m_Point2;
	CString	m_Point3;
	CString	m_Wait;
	void ConnectDB();
	CDatabase m_db;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CUserLogin)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CUserLogin)
	virtual void OnCancel();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_USERLOGIN_H__8BFF1D06_FE07_4E49_B991_6570C9709901__INCLUDED_)

⌨️ 快捷键说明

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