📄 m_esystemdoc.cpp
字号:
// M_ESystemDoc.cpp : implementation of the CM_ESystemDoc class
//
#include "stdafx.h"
#include "M_ESystem.h"
#include "M_ESystemDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CM_ESystemDoc
IMPLEMENT_DYNCREATE(CM_ESystemDoc, CDocument)
BEGIN_MESSAGE_MAP(CM_ESystemDoc, CDocument)
//{{AFX_MSG_MAP(CM_ESystemDoc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CM_ESystemDoc construction/destruction
CM_ESystemDoc::CM_ESystemDoc()
{
// TODO: add one-time construction code here
this->m_info=" ";
this->m_Teacher=" ";
this->m_temp=" ";
this->m_Time.Empty();
this->m_M_Teacher=" ";
this->m_Subject.Empty();
this->count2=0;
this->count1=0;
}
CM_ESystemDoc::~CM_ESystemDoc()
{
}
BOOL CM_ESystemDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
m_string.SetSize(10);
m_string[0] = "监考信息打印系统";
this->m_s="燕山大学教务处";
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CM_ESystemDoc serialization
void CM_ESystemDoc::Serialize(CArchive& ar)
{
m_string.Serialize(ar);
}
/////////////////////////////////////////////////////////////////////////////
// CM_ESystemDoc diagnostics
#ifdef _DEBUG
void CM_ESystemDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CM_ESystemDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CM_ESystemDoc commands
/*void CM_ESystemDoc::DeleteContents()
{
m_string.RemoveAll();
}*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -