www.pudn.com > 自由画直线.rar > exam010Doc.cpp


// exam010Doc.cpp :  Cexam010Doc 类的实现 
// 
 
#include "stdafx.h" 
#include "exam010.h" 
 
#include "exam010Doc.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#endif 
 
 
// Cexam010Doc 
 
IMPLEMENT_DYNCREATE(Cexam010Doc, CDocument) 
 
BEGIN_MESSAGE_MAP(Cexam010Doc, CDocument) 
END_MESSAGE_MAP() 
 
 
// Cexam010Doc 构造/析构 
 
Cexam010Doc::Cexam010Doc() 
{ 
	// TODO: 在此添加一次性构造代码 
 
} 
 
Cexam010Doc::~Cexam010Doc() 
{ 
} 
 
BOOL Cexam010Doc::OnNewDocument() 
{ 
	if (!CDocument::OnNewDocument()) 
		return FALSE; 
 
	// TODO: 在此添加重新初始化代码 
	// (SDI 文档将重用该文档) 
 
	return TRUE; 
} 
 
 
 
 
// Cexam010Doc 序列化 
 
void Cexam010Doc::Serialize(CArchive& ar) 
{ 
	if (ar.IsStoring()) 
	{ 
		// TODO: 在此添加存储代码 
	} 
	else 
	{ 
		// TODO: 在此添加加载代码 
	} 
} 
 
 
// Cexam010Doc 诊断 
 
#ifdef _DEBUG 
void Cexam010Doc::AssertValid() const 
{ 
	CDocument::AssertValid(); 
} 
 
void Cexam010Doc::Dump(CDumpContext& dc) const 
{ 
	CDocument::Dump(dc); 
} 
#endif //_DEBUG 
 
 
// Cexam010Doc 命令