class designdoc.cpp
来自「二维几何图形变换的演示」· C++ 代码 · 共 90 行
CPP
90 行
// Class DesignDoc.cpp : implementation of the CClassDesignDoc class
//
#include "stdafx.h"
#include "Class Design.h"
#include "Class DesignDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CClassDesignDoc
IMPLEMENT_DYNCREATE(CClassDesignDoc, CDocument)
BEGIN_MESSAGE_MAP(CClassDesignDoc, CDocument)
//{{AFX_MSG_MAP(CClassDesignDoc)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CClassDesignDoc construction/destruction
CClassDesignDoc::CClassDesignDoc()
{
// TODO: add one-time construction code here
}
CClassDesignDoc::~CClassDesignDoc()
{
}
BOOL CClassDesignDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CClassDesignDoc serialization
void CClassDesignDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CClassDesignDoc diagnostics
#ifdef _DEBUG
void CClassDesignDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CClassDesignDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CClassDesignDoc commands
//DEL void CClassDesignDoc::OnUpdateLine(CCmdUI* pCmdUI)
//DEL {
//DEL
//DEL // TODO: Add your command update UI handler code here
//DEL
//DEL }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?