www.pudn.com > AnimateLine1.rar > AnimateLine1Doc.cpp


// AnimateLine1Doc.cpp : implementation of the CAnimateLine1Doc class 
// 
 
#include "stdafx.h" 
#include "AnimateLine1.h" 
 
#include "AnimateLine1Doc.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CAnimateLine1Doc 
 
IMPLEMENT_DYNCREATE(CAnimateLine1Doc, CDocument) 
 
BEGIN_MESSAGE_MAP(CAnimateLine1Doc, CDocument) 
	//{{AFX_MSG_MAP(CAnimateLine1Doc) 
		// 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() 
 
///////////////////////////////////////////////////////////////////////////// 
// CAnimateLine1Doc construction/destruction 
 
CAnimateLine1Doc::CAnimateLine1Doc() 
{ 
	// TODO: add one-time construction code here 
 
} 
 
CAnimateLine1Doc::~CAnimateLine1Doc() 
{ 
} 
 
BOOL CAnimateLine1Doc::OnNewDocument() 
{ 
	if (!CDocument::OnNewDocument()) 
		return FALSE; 
 
	// TODO: add reinitialization code here 
	// (SDI documents will reuse this document) 
 
	return TRUE; 
} 
 
 
 
///////////////////////////////////////////////////////////////////////////// 
// CAnimateLine1Doc serialization 
 
void CAnimateLine1Doc::Serialize(CArchive& ar) 
{ 
	if (ar.IsStoring()) 
	{ 
		// TODO: add storing code here 
	} 
	else 
	{ 
		// TODO: add loading code here 
	} 
} 
 
///////////////////////////////////////////////////////////////////////////// 
// CAnimateLine1Doc diagnostics 
 
#ifdef _DEBUG 
void CAnimateLine1Doc::AssertValid() const 
{ 
	CDocument::AssertValid(); 
} 
 
void CAnimateLine1Doc::Dump(CDumpContext& dc) const 
{ 
	CDocument::Dump(dc); 
} 
#endif //_DEBUG 
 
///////////////////////////////////////////////////////////////////////////// 
// CAnimateLine1Doc commands