www.gusucode.com > VC++建筑横梁数据管理系统源代码源码程序 > VC++建筑横梁数据管理系统源代码源码程序/code/BeamDataManagerDoc.cpp

    // BeamDataManagerDoc.cpp : implementation of the CBeamDataManagerDoc class
// Download by http://www.NewXing.com

#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