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