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