📄 test_grapdoc.cpp
字号:
// test_grapDoc.cpp : implementation of the CTest_grapDoc class
//
#include "stdafx.h"
#include "test_grap.h"
#include "test_grapDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTest_grapDoc
IMPLEMENT_DYNCREATE(CTest_grapDoc, CDocument)
BEGIN_MESSAGE_MAP(CTest_grapDoc, CDocument)
//{{AFX_MSG_MAP(CTest_grapDoc)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CTest_grapDoc construction/destruction
CTest_grapDoc::CTest_grapDoc()
{
// TODO: add one-time construction code here
}
CTest_grapDoc::~CTest_grapDoc()
{
}
BOOL CTest_grapDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CTest_grapDoc serialization
void CTest_grapDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CTest_grapDoc diagnostics
#ifdef _DEBUG
void CTest_grapDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CTest_grapDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CTest_grapDoc commands
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -