framesdoc.cpp
来自「CAN__组建现场总线系统设计技术(光盘)」· C++ 代码 · 共 76 行
CPP
76 行
// 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 + =
减小字号Ctrl + -
显示快捷键?