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