dbsampledoc.cpp

来自「Visual C++ 2005的源代码」· C++ 代码 · 共 65 行

CPP
65
字号
// DBSampleDoc.cpp : implementation of the CDBSampleDoc class
//

#include "stdafx.h"
#include "DBSample.h"

#include "ProductSet.h"
#include "DBSampleDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CDBSampleDoc

IMPLEMENT_DYNCREATE(CDBSampleDoc, CDocument)

BEGIN_MESSAGE_MAP(CDBSampleDoc, CDocument)
END_MESSAGE_MAP()


// CDBSampleDoc construction/destruction

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

}

CDBSampleDoc::~CDBSampleDoc()
{
}

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

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

	return TRUE;
}




// CDBSampleDoc diagnostics

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

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


// CDBSampleDoc commands

⌨️ 快捷键说明

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