www.gusucode.com > VC++动画窗口以及位图上下文菜单源代码源码程序 > VC++动画窗口以及位图上下文菜单源代码源码程序\code\jobDoc.cpp

    //Download by http://www.NewXing.com
// jobDoc.cpp : implementation of the CJobDoc class
//

#include "stdafx.h"
#include "job.h"

#include "jobDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CJobDoc

IMPLEMENT_DYNCREATE(CJobDoc, CDocument)

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

/////////////////////////////////////////////////////////////////////////////
// CJobDoc construction/destruction

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

}

CJobDoc::~CJobDoc()
{
}

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

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CJobDoc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CJobDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CJobDoc commands