www.gusucode.com > 智能连接线C#源码程序 > 智能连接线/testsmartlines/testSmartLines/testSmartLinesDoc.cpp

    // testSmartLinesDoc.cpp : implementation of the CTestSmartLinesDoc class
//

#include "stdafx.h"
#include "testSmartLines.h"

#include "testSmartLinesDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CTestSmartLinesDoc

IMPLEMENT_DYNCREATE(CTestSmartLinesDoc, CDocument)

BEGIN_MESSAGE_MAP(CTestSmartLinesDoc, CDocument)
	//{{AFX_MSG_MAP(CTestSmartLinesDoc)
		// 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()

/////////////////////////////////////////////////////////////////////////////
// CTestSmartLinesDoc construction/destruction

CTestSmartLinesDoc::CTestSmartLinesDoc()
{
	// TODO: add one-time construction code here

}

CTestSmartLinesDoc::~CTestSmartLinesDoc()
{
}

BOOL CTestSmartLinesDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CTestSmartLinesDoc serialization

void CTestSmartLinesDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CTestSmartLinesDoc diagnostics

#ifdef _DEBUG
void CTestSmartLinesDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CTestSmartLinesDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CTestSmartLinesDoc commands