www.pudn.com > MapXpro006.rar > MapXpro006Doc.cpp


// MapXpro006Doc.cpp : implementation of the CMapXpro006Doc class 
// 
 
#include "stdafx.h" 
#include "MapXpro006.h" 
 
#include "MapXpro006Doc.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CMapXpro006Doc 
 
IMPLEMENT_DYNCREATE(CMapXpro006Doc, CDocument) 
 
BEGIN_MESSAGE_MAP(CMapXpro006Doc, CDocument) 
	//{{AFX_MSG_MAP(CMapXpro006Doc) 
		// NOTE - the ClassWizard will add and remove mapping macros here. 
		//    DO NOT EDIT what you see in these blocks of generated code! 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CMapXpro006Doc construction/destruction 
 
CMapXpro006Doc::CMapXpro006Doc() 
{ 
	// TODO: add one-time construction code here 
 
} 
 
CMapXpro006Doc::~CMapXpro006Doc() 
{ 
} 
 
BOOL CMapXpro006Doc::OnNewDocument() 
{ 
	if (!CDocument::OnNewDocument()) 
		return FALSE; 
 
	// TODO: add reinitialization code here 
	// (SDI documents will reuse this document) 
 
	return TRUE; 
} 
 
 
 
///////////////////////////////////////////////////////////////////////////// 
// CMapXpro006Doc serialization 
 
void CMapXpro006Doc::Serialize(CArchive& ar) 
{ 
	if (ar.IsStoring()) 
	{ 
		// TODO: add storing code here 
	} 
	else 
	{ 
		// TODO: add loading code here 
	} 
} 
 
///////////////////////////////////////////////////////////////////////////// 
// CMapXpro006Doc diagnostics 
 
#ifdef _DEBUG 
void CMapXpro006Doc::AssertValid() const 
{ 
	CDocument::AssertValid(); 
} 
 
void CMapXpro006Doc::Dump(CDumpContext& dc) const 
{ 
	CDocument::Dump(dc); 
} 
#endif //_DEBUG 
 
///////////////////////////////////////////////////////////////////////////// 
// CMapXpro006Doc commands