📄 framesdoc.cpp
字号:
// FramesDoc.cpp : implementation file
//
#include "stdafx.h"
#include "VCStyle.h"
#include "FramesDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFramesDoc
IMPLEMENT_DYNCREATE(CFramesDoc, CDocument)
CFramesDoc::CFramesDoc()
{
}
BOOL CFramesDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
m_frames = "接收帧如下:\r\n";
m_frames += "\t\t2002/11/29\r\n";
return TRUE;
}
CFramesDoc::~CFramesDoc()
{
}
BEGIN_MESSAGE_MAP(CFramesDoc, CDocument)
//{{AFX_MSG_MAP(CFramesDoc)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CFramesDoc diagnostics
#ifdef _DEBUG
void CFramesDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CFramesDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CFramesDoc serialization
void CFramesDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CFramesDoc commands
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -