userset.h

来自「初学VC,编写的一个机房管理系统,功能基本上完善,但代码可读性不强.」· C头文件 代码 · 共 54 行

H
54
字号
// userSet.h : interface of the CUserSet class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_USERSET_H__84E081E9_B5F9_4FF0_AD1A_25FD67164855__INCLUDED_)
#define AFX_USERSET_H__84E081E9_B5F9_4FF0_AD1A_25FD67164855__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef MYMDBH
#define MYMDBH 1000
#include <afxdb.h>
#endif
class CUserSet : public CRecordset
{
public:
	CUserSet(CDatabase* pDatabase = NULL);
	DECLARE_DYNAMIC(CUserSet)

// Field/Param Data
	//{{AFX_FIELD(CUserSet, CRecordset)
	CString	m_xuehao;
	CString	m_name;
	CString	m_password;
	CString	m_class;
	long	m_time;
	BYTE	m_num;
	BOOL	m_mark;
	//}}AFX_FIELD

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CUserSet)
	public:
	virtual CString GetDefaultConnect();	// Default connection string
	virtual CString GetDefaultSQL(); 	// default SQL for Recordset
	virtual void DoFieldExchange(CFieldExchange* pFX);	// RFX support
	//}}AFX_VIRTUAL

// Implementation
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

};

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

#endif // !defined(AFX_USERSET_H__84E081E9_B5F9_4FF0_AD1A_25FD67164855__INCLUDED_)

⌨️ 快捷键说明

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