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