testdoc.cpp

来自「Dopod手机读取端口数据」· C++ 代码 · 共 66 行

CPP
66
字号
// TestDoc.cpp : CTestDoc 类的实现
//

#include "stdafx.h"
#include "Test.h"

#include "TestDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CTestDoc

IMPLEMENT_DYNCREATE(CTestDoc, CDocument)

BEGIN_MESSAGE_MAP(CTestDoc, CDocument)
END_MESSAGE_MAP()

// CTestDoc 构造/析构

CTestDoc::CTestDoc()
{
	// TODO: 在此添加一次性构造代码

}

CTestDoc::~CTestDoc()
{
}

BOOL CTestDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: 在此添加重新初始化代码
	// (SDI 文档将重用该文档)

	return TRUE;
}

// CTestDoc 序列化

#ifndef _WIN32_WCE_NO_ARCHIVE_SUPPORT
void CTestDoc::Serialize(CArchive& ar)
{
	(ar);
}
#endif // !_WIN32_WCE_NO_ARCHIVE_SUPPORT


// CTestDoc 诊断

#ifdef _DEBUG
void CTestDoc::AssertValid() const
{
	CDocument::AssertValid();
}
#endif //_DEBUG


// CTestDoc 命令

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?