schoolDoc.cpp
资源名称:school.rar [点击查看]
上传用户:rs600066
上传日期:2017-10-16
资源大小:4788k
文件大小:2k
源码类别:
数据库系统
开发平台:
Visual C++
- // schoolDoc.cpp : implementation of the CSchoolDoc class
- //
- #include "stdafx.h"
- #include "school.h"
- #include "schoolDoc.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CSchoolDoc
- IMPLEMENT_DYNCREATE(CSchoolDoc, CDocument)
- BEGIN_MESSAGE_MAP(CSchoolDoc, CDocument)
- //{{AFX_MSG_MAP(CSchoolDoc)
- // 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()
- /////////////////////////////////////////////////////////////////////////////
- // CSchoolDoc construction/destruction
- CSchoolDoc::CSchoolDoc()
- {
- // TODO: add one-time construction code here
- }
- CSchoolDoc::~CSchoolDoc()
- {
- }
- BOOL CSchoolDoc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
- // TODO: add reinitialization code here
- // (SDI documents will reuse this document)
- return TRUE;
- }
- /////////////////////////////////////////////////////////////////////////////
- // CSchoolDoc serialization
- void CSchoolDoc::Serialize(CArchive& ar)
- {
- if (ar.IsStoring())
- {
- // TODO: add storing code here
- }
- else
- {
- // TODO: add loading code here
- }
- }
- /////////////////////////////////////////////////////////////////////////////
- // CSchoolDoc diagnostics
- #ifdef _DEBUG
- void CSchoolDoc::AssertValid() const
- {
- CDocument::AssertValid();
- }
- void CSchoolDoc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CSchoolDoc commands