?? test1doc.cpp
字號:
// test1Doc.cpp : implementation of the Ctest1Doc class
//
#include "stdafx.h"
#include "test1.h"
#include "test1Doc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// Ctest1Doc
IMPLEMENT_DYNCREATE(Ctest1Doc, CDocument)
BEGIN_MESSAGE_MAP(Ctest1Doc, CDocument)
END_MESSAGE_MAP()
// Ctest1Doc construction/destruction
Ctest1Doc::Ctest1Doc()
{
// TODO: add one-time construction code here
}
Ctest1Doc::~Ctest1Doc()
{
}
BOOL Ctest1Doc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
// Ctest1Doc serialization
void Ctest1Doc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
// Ctest1Doc diagnostics
#ifdef _DEBUG
void Ctest1Doc::AssertValid() const
{
CDocument::AssertValid();
}
void Ctest1Doc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
// Ctest1Doc commands
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -