guidoc.cpp
来自「The main idea of this work is to create 」· C++ 代码 · 共 79 行
CPP
79 行
// GUIDoc.cpp : implementation of the CGUIDoc class
//
#include "stdafx.h"
#include "GUI.h"
#include "GUIDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CGUIDoc
IMPLEMENT_DYNCREATE(CGUIDoc, CDocument)
BEGIN_MESSAGE_MAP(CGUIDoc, CDocument)
END_MESSAGE_MAP()
// CGUIDoc construction/destruction
CGUIDoc::CGUIDoc()
{
// TODO: add one-time construction code here
}
CGUIDoc::~CGUIDoc()
{
}
BOOL CGUIDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
// CGUIDoc serialization
void CGUIDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
// CGUIDoc diagnostics
#ifdef _DEBUG
void CGUIDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CGUIDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
// CGUIDoc commands
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?