www.pudn.com > Stud_info.rar > Stud_infoDoc.cpp


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