dbbooksdoc.cpp

来自「这是一个小数据库图书管理系统对初学者有帮助参考一个吧」· C++ 代码 · 共 71 行

CPP
71
字号
// DBBooksDoc.cpp : implementation of the CDBBooksDoc class
//

#include "stdafx.h"
#include "DBBooks.h"

#include "DBBooksSet.h"
#include "DBBooksDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDBBooksDoc

IMPLEMENT_DYNCREATE(CDBBooksDoc, CDocument)

BEGIN_MESSAGE_MAP(CDBBooksDoc, CDocument)
	//{{AFX_MSG_MAP(CDBBooksDoc)
		// 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()

/////////////////////////////////////////////////////////////////////////////
// CDBBooksDoc construction/destruction

CDBBooksDoc::CDBBooksDoc()
{
	// TODO: add one-time construction code here

}

CDBBooksDoc::~CDBBooksDoc()
{
}

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

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CDBBooksDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CDBBooksDoc commands

⌨️ 快捷键说明

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