people.h

来自「用vc++实现的通讯录程序」· C头文件 代码 · 共 59 行

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

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

#include <afxdb.h>

/////////////////////////////////////////////////////////////////////////////
// CPeople recordset

class CPeople : public CRecordset
{
public:
	CPeople(CDatabase* pDatabase = NULL);
	DECLARE_DYNAMIC(CPeople)

// Field/Param Data
	//{{AFX_FIELD(CPeople, CRecordset)
	long	m_id;
	long	m_groupId;
	CString	m_fullName;
	BOOL	m_sex;
	CString	m_company;
	CString	m_phoneInCompany;
	CString	m_homeAddress;
	CString	m_phineInHome;
	CString	m_mobile;
	CString	m_mail;
	CString	m_qq;
	CString	m_msn;
	CString	m_memory;
	//}}AFX_FIELD


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPeople)
	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_PEOPLE_H__ADE38B23_97A6_461A_86F9_F4597DE46ABD__INCLUDED_)

⌨️ 快捷键说明

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