【VC开源代码栏目提醒】:本文主要为网学会员提供ex41Doc.cpp,希望对需要ex41Doc.cpp网友有所帮助,学习一下!
// ex41Doc.cpp : Cex41Doc 类的实现
//
#include "stdafx.h"
#include "ex41.h"
#include "ex41Doc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// Cex41Doc
IMPLEMENT_DYNCREATE(Cex41Doc, CDocument)
BEGIN_MESSAGE_MAP(Cex41Doc, CDocument)
END_MESSAGE_MAP()
// Cex41Doc 构造/销毁
Cex41Doc::Cex41Doc()
{
// TODO:在此添加一次性构造代码
}
Cex41Doc::~Cex41Doc()
{
}
BOOL Cex41Doc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO:在此添加重新初始化代码
// (SDI
文档将重用该
文档)
return TRUE;
}
// Cex41Doc 序列化
void Cex41Doc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO:在此添加存储代码
}
else
{
// TODO:在此添加加载代码
}
}
// Cex41Doc 诊断
#ifdef _DEBUG
void Cex41Doc::AssertValid() const
{
CDocument::AssertValid();
}
void Cex41Doc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
// Cex41Doc 命令