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