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