【VC开源代码栏目提醒】:网学会员鉴于大家对VC开源代码十分关注,论文会员在此为大家搜集整理了“ex81Doc.cpp”一文,供大家参考学习
// ex81Doc.cpp : Cex81Doc 类的实现
//
#include "stdafx.h"
#include "ex81.h"
#include "ex81Doc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// Cex81Doc
IMPLEMENT_DYNCREATE(Cex81Doc, CDocument)
BEGIN_MESSAGE_MAP(Cex81Doc, CDocument)
END_MESSAGE_MAP()
// Cex81Doc 构造/销毁
Cex81Doc::Cex81Doc()
{
// TODO:在此添加一次性构造代码
}
Cex81Doc::~Cex81Doc()
{
}
BOOL Cex81Doc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO:在此添加重新初始化代码
// (SDI
文档将重用该
文档)
return TRUE;
}
// Cex81Doc 序列化
void Cex81Doc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO:在此添加存储代码
}
else
{
// TODO:在此添加加载代码
}
}
// Cex81Doc 诊断
#ifdef _DEBUG
void Cex81Doc::AssertValid() const
{
CDocument::AssertValid();
}
void Cex81Doc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
// Cex81Doc 命令