⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 e1102doc.cpp

📁 一个vc6.0的通讯录代码范例,适合新手入门
💻 CPP
字号:
// E1102Doc.cpp : implementation of the CE1102Doc class
//

#include "stdafx.h"
#include "E1102.h"

#include "E1102Doc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CE1102Doc

IMPLEMENT_DYNCREATE(CE1102Doc, CDocument)

BEGIN_MESSAGE_MAP(CE1102Doc, CDocument)
	//{{AFX_MSG_MAP(CE1102Doc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CE1102Doc construction/destruction

CE1102Doc::CE1102Doc()
{
	m_DB.Open("C:\\Books\\11\\DB\\ͨѶ¼.mdb");
}

CE1102Doc::~CE1102Doc()
{
}

BOOL CE1102Doc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CE1102Doc serialization

void CE1102Doc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CE1102Doc diagnostics

#ifdef _DEBUG
void CE1102Doc::AssertValid() const
{
	CDocument::AssertValid();
}

void CE1102Doc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CE1102Doc commands

⌨️ 快捷键说明

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