www.gusucode.com > 一个专业点的VC++建筑管理软件源码程序 > 一个专业点的VC++建筑管理软件/BeamDataManager0.2/BeamDataManager0.2/BeamDataManagerDoc.cpp
// BeamDataManagerDoc.cpp : implementation of the CBeamDataManagerDoc class // Download by http://www.codesc.net #include "stdafx.h" #include "BeamDataManager.h" #include "BeamDataManagerDoc.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CBeamDataManagerDoc IMPLEMENT_DYNCREATE(CBeamDataManagerDoc, CDocument) BEGIN_MESSAGE_MAP(CBeamDataManagerDoc, CDocument) //{{AFX_MSG_MAP(CBeamDataManagerDoc) // 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() ///////////////////////////////////////////////////////////////////////////// // CBeamDataManagerDoc construction/destruction CBeamDataManagerDoc::CBeamDataManagerDoc() { // TODO: add one-time construction code here } CBeamDataManagerDoc::~CBeamDataManagerDoc() { } BOOL CBeamDataManagerDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) return TRUE; } ///////////////////////////////////////////////////////////////////////////// // CBeamDataManagerDoc serialization void CBeamDataManagerDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // TODO: add storing code here } else { // TODO: add loading code here } } ///////////////////////////////////////////////////////////////////////////// // CBeamDataManagerDoc diagnostics #ifdef _DEBUG void CBeamDataManagerDoc::AssertValid() const { CDocument::AssertValid(); } void CBeamDataManagerDoc::Dump(CDumpContext& dc) const { CDocument::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CBeamDataManagerDoc commands