enroldoc.cpp

来自「一个关于学生课程信息管理系统的源代码示例,用vc开发,可实用与学校课程管理中,非」· C++ 代码 · 共 70 行

CPP
70
字号
// EnrolDoc.cpp : implementation of the CCourseManagerDoc class
//

#include "Stdafx.h"
#include "CourseManager.h"
#include "SectSet.h"
#include "CoursSet.h"
#include "EnrolDoc.h"

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


/////////////////////////////////////////////////////////////////////////////
// CCourseManagerDoc

IMPLEMENT_DYNCREATE(CCourseManagerDoc, CDocument)

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

/////////////////////////////////////////////////////////////////////////////
// CCourseManagerDoc construction/destruction

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

}

CCourseManagerDoc::~CCourseManagerDoc()
{
}

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

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

	return TRUE;
}

/////////////////////////////////////////////////////////////////////////////
// CCourseManagerDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CCourseManagerDoc commands

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?