📄 exampl~2.cpp
字号:
// Example007Doc.cpp : CExample007Doc 类的实现
//
#include "stdafx.h"
#include "Example007.h"
#include "Example007Doc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CExample007Doc
IMPLEMENT_DYNCREATE(CExample007Doc, CDocument)
BEGIN_MESSAGE_MAP(CExample007Doc, CDocument)
END_MESSAGE_MAP()
// CExample007Doc 构造/销毁
CExample007Doc::CExample007Doc()
{
// TODO:在此添加一次性构造代码
}
CExample007Doc::~CExample007Doc()
{
}
BOOL CExample007Doc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO:在此添加重新初始化代码
// (SDI 文档将重用该文档)
return TRUE;
}
// CExample007Doc 序列化
void CExample007Doc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO:在此添加存储代码
}
else
{
// TODO:在此添加加载代码
}
}
// CExample007Doc 诊断
#ifdef _DEBUG
void CExample007Doc::AssertValid() const
{
CDocument::AssertValid();
}
void CExample007Doc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
// CExample007Doc 命令
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -