www.gusucode.com > NOKIA手机游戏贪吃蛇完整版源码源码程序 > NOKIA手机游戏贪吃蛇完整版源码源码程序\code\PROGRAM1Doc.cpp

    //Download by http://www.NewXing.com
// PROGRAM1Doc.cpp : implementation of the CPROGRAM1Doc class
//

#include "stdafx.h"
#include "PROGRAM1.h"

#include "PROGRAM1Doc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CPROGRAM1Doc

IMPLEMENT_DYNCREATE(CPROGRAM1Doc, CDocument)

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

/////////////////////////////////////////////////////////////////////////////
// CPROGRAM1Doc construction/destruction

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

}

CPROGRAM1Doc::~CPROGRAM1Doc()
{
}

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

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CPROGRAM1Doc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CPROGRAM1Doc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CPROGRAM1Doc commands