ex06bdoc.cpp

来自「主要用于交通系统」· C++ 代码 · 共 79 行

CPP
79
字号
// Ex06bDoc.cpp : implementation of the CEx06bDoc class
//

#include "stdafx.h"
#include "Ex06b.h"

#include "Ex06bDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CEx06bDoc

IMPLEMENT_DYNCREATE(CEx06bDoc, CDocument)

BEGIN_MESSAGE_MAP(CEx06bDoc, CDocument)
END_MESSAGE_MAP()


// CEx06bDoc construction/destruction

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

}

CEx06bDoc::~CEx06bDoc()
{
}

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

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

	return TRUE;
}




// CEx06bDoc serialization

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


// CEx06bDoc diagnostics

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

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


// CEx06bDoc commands

⌨️ 快捷键说明

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