⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 collegemanagedemodoc.cpp

📁 这是一个大学校园的数据库管理系统,请大家提意见
💻 CPP
字号:
// CollegeManageDemoDoc.cpp : implementation of the CCollegeManageDemoDoc class
//

#include "stdafx.h"
#include "CollegeManageDemo.h"

#include "CollegeManageDemoDoc.h"
#include "DlgInputPerson.h"

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

/////////////////////////////////////////////////////////////////////////////
// CCollegeManageDemoDoc

IMPLEMENT_DYNCREATE(CCollegeManageDemoDoc, CDocument)

BEGIN_MESSAGE_MAP(CCollegeManageDemoDoc, CDocument)
	//{{AFX_MSG_MAP(CCollegeManageDemoDoc)
	ON_COMMAND(ID_PERSON_NEW, OnPersonNew)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CCollegeManageDemoDoc construction/destruction

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

}

CCollegeManageDemoDoc::~CCollegeManageDemoDoc()
{
}

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

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CCollegeManageDemoDoc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CCollegeManageDemoDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CCollegeManageDemoDoc commands

void CCollegeManageDemoDoc::OnPersonNew() 
{
	// TODO: Add your command handler code here
	CDlgInputPerson dlgNewPerson;
	dlgNewPerson.DoModal();
}

⌨️ 快捷键说明

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