📄 sjwfdoc.cpp
字号:
// SJWFDoc.cpp : implementation of the CSJWFDoc class
//
#include "stdafx.h"
#include "SJWF.h"
#include "SJWFSet.h"
#include "SJWFDoc.h"
#include "ScoolWriteDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSJWFDoc
IMPLEMENT_DYNCREATE(CSJWFDoc, CDocument)
BEGIN_MESSAGE_MAP(CSJWFDoc, CDocument)
//{{AFX_MSG_MAP(CSJWFDoc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CSJWFDoc construction/destruction
CSJWFDoc::CSJWFDoc()
{
// TODO: add one-time construction code here
}
CSJWFDoc::~CSJWFDoc()
{
}
BOOL CSJWFDoc::OnNewDocument()
{
//CScoolWriteDlg dlg;
//CEdit *pEdit1=(CEdit*)GetDlgItem(dlg,IDC_EDIT1);
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
// m_stringArray1.SetSize(10);
// m_stringArray1[0]=m_stringArray[0];
// m_stringArray1[1]=m_stringArray[1];
// m_stringArray1[2]=m_stringArray[2];
// m_stringArray1[3]=m_stringArray[3];
// m_stringArray1[4]=m_stringArray[4];
// m_stringArray1[5]=m_stringArray[5];
// m_stringArray1[6]=m_stringArray[6];
//
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CSJWFDoc diagnostics
#ifdef _DEBUG
void CSJWFDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CSJWFDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CSJWFDoc commands
void CSJWFDoc::Serialize(CArchive& ar)
{
// m_stringArray.Serialize(ar);
}
void CSJWFDoc::DeleteContents()
{
// TODO: Add your specialized code here and/or call the base class
// m_stringArray.RemoveAll();
//CDocument::DeleteContents();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -