📄 cdadoc.cpp
字号:
// CDADoc.cpp : implementation of the CCDADoc class
//
#include "stdafx.h"
#include "CDA.h"
#include "CDADoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCDADoc
IMPLEMENT_DYNCREATE(CCDADoc, CDocument)
BEGIN_MESSAGE_MAP(CCDADoc, CDocument)
//{{AFX_MSG_MAP(CCDADoc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CCDADoc construction/destruction
CCDADoc::CCDADoc()
{
// TODO: add one-time construction code here
}
CCDADoc::~CCDADoc()
{
}
BOOL CCDADoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CCDADoc serialization
void CCDADoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CCDADoc diagnostics
#ifdef _DEBUG
void CCDADoc::AssertValid() const
{
CDocument::AssertValid();
}
void CCDADoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CCDADoc commands
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -