www.pudn.com > 基本GIS系统开发.rar > Data1Doc.cpp, change:2005-05-18,size:1474b
// Data1Doc.cpp : implementation of the CData1Doc class
//
#include "stdafx.h"
#include "Data1.h"
#include "Data1Set.h"
#include "Data1Doc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CData1Doc
IMPLEMENT_DYNCREATE(CData1Doc, CDocument)
BEGIN_MESSAGE_MAP(CData1Doc, CDocument)
//{{AFX_MSG_MAP(CData1Doc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CData1Doc construction/destruction
CData1Doc::CData1Doc()
{
// TODO: add one-time construction code here
}
CData1Doc::~CData1Doc()
{
}
BOOL CData1Doc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CData1Doc diagnostics
#ifdef _DEBUG
void CData1Doc::AssertValid() const
{
CDocument::AssertValid();
}
void CData1Doc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CData1Doc commands