exam3Doc.cpp
上传用户:z_mail1980
上传日期:2007-06-01
资源大小:647k
文件大小:2k
- // exam3Doc.cpp : implementation of the CExam3Doc class
- //
- #include "stdafx.h"
- #include "exam3.h"
- #include "exam3Doc.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CExam3Doc
- IMPLEMENT_DYNCREATE(CExam3Doc, CDocument)
- BEGIN_MESSAGE_MAP(CExam3Doc, CDocument)
- //{{AFX_MSG_MAP(CExam3Doc)
- // 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()
- /////////////////////////////////////////////////////////////////////////////
- // CExam3Doc construction/destruction
- CExam3Doc::CExam3Doc()
- {
- // TODO: add one-time construction code here
- }
- CExam3Doc::~CExam3Doc()
- {
- }
- BOOL CExam3Doc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
- // TODO: add reinitialization code here
- // (SDI documents will reuse this document)
- return TRUE;
- }
- /////////////////////////////////////////////////////////////////////////////
- // CExam3Doc serialization
- void CExam3Doc::Serialize(CArchive& ar)
- {
- if (ar.IsStoring())
- {
- // TODO: add storing code here
- }
- else
- {
- // TODO: add loading code here
- }
- }
- /////////////////////////////////////////////////////////////////////////////
- // CExam3Doc diagnostics
- #ifdef _DEBUG
- void CExam3Doc::AssertValid() const
- {
- CDocument::AssertValid();
- }
- void CExam3Doc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CExam3Doc commands