users.h

来自「自己弄得一个学生管理系统」· C头文件 代码 · 共 54 行

H
54
字号
#if !defined(AFX_USERS_H__F2B0E830_393A_45D8_A52E_E843A90E7F01__INCLUDED_)
#define AFX_USERS_H__F2B0E830_393A_45D8_A52E_E843A90E7F01__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Users.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CUsers dialog

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

// Dialog Data
	//{{AFX_DATA(CUsers)
	enum { IDD = IDD_USER };
	CEdit	m_ctrlpassword;
	CEdit	m_ctrlusername;
	CString	m_username;
	CString	m_password;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CUsers)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
protected:
	int count; // 用户登录次数
	bool notExist(CString str1,CString str2);    //不存在要删除的元组
};

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

#endif // !defined(AFX_USERS_H__F2B0E830_393A_45D8_A52E_E843A90E7F01__INCLUDED_)

⌨️ 快捷键说明

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