managerdoc.cpp

来自「VC6数据库开发指南」· C++ 代码 · 共 82 行

CPP
82
字号
// managerDoc.cpp : implementation of the CManagerDoc class
//

#include "stdafx.h"
#include "manager.h"

#include "managerDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CManagerDoc

IMPLEMENT_DYNCREATE(CManagerDoc, CDocument)

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

/////////////////////////////////////////////////////////////////////////////
// CManagerDoc construction/destruction

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

CManagerDoc::~CManagerDoc()
{
}

/////////////////////////////////////////////////////////////////////////////
// CManagerDoc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CManagerDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////

BOOL CManagerDoc::OnNewDocument() 
{
	// TODO: Add your specialized code here and/or call the base class
	if (!CDocument::OnNewDocument())
		return FALSE;

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

	return TRUE;
}

⌨️ 快捷键说明

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