📄 cppmdidoc.cpp
字号:
/******************************************************************************/
/***** Copyright 2004-2004, Analytical Graphics, Incorporated. *****/
/******************************************************************************/
// CPPMDIDoc.cpp : implementation of the CCPPMDIDoc class
//
#include "stdafx.h"
#include "CPPMDI.h"
#include "CPPMDIDoc.h"
#include "CPPMDIVOView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCPPMDIDoc
IMPLEMENT_DYNCREATE(CCPPMDIDoc, CDocument)
BEGIN_MESSAGE_MAP(CCPPMDIDoc, CDocument)
//{{AFX_MSG_MAP(CCPPMDIDoc)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CCPPMDIDoc construction/destruction
CCPPMDIDoc::CCPPMDIDoc()
{
// TODO: add one-time construction code here
}
// if every view is closed, the document is unloaded so close the scenario
CCPPMDIDoc::~CCPPMDIDoc()
{
::AfxGetMainWnd()->SendMessage(WM_COMMAND, ID_FILE_CLOSE_SCENARIO, 0);
}
/////////////////////////////////////////////////////////////////////////////
// CCPPMDIDoc serialization
void CCPPMDIDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CCPPMDIDoc diagnostics
#ifdef _DEBUG
void CCPPMDIDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CCPPMDIDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CCPPMDIDoc commands
/******************************************************************************/
/***** Copyright 2004-2004, Analytical Graphics, Incorporated. *****/
/******************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -