📄 userdoc.cpp
字号:
// USERDoc.cpp : implementation of the CUSERDoc class
//
#include "stdafx.h"
#include "USER.h"
#include "USERSet.h"
#include "USERDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CUSERDoc
IMPLEMENT_DYNCREATE(CUSERDoc, CDocument)
BEGIN_MESSAGE_MAP(CUSERDoc, CDocument)
//{{AFX_MSG_MAP(CUSERDoc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CUSERDoc construction/destruction
CUSERDoc::CUSERDoc()
{
// TODO: add one-time construction code here
m_pUserEName="ygr";
m_pUserCName="尹光荣";
m_pRadio=0;
m_UserMemo="世纪最佳程序员";
m_UserPassword="www";
m_UserPasswordR="www";
m_pMark="";
m_pDuty="班长";
m_pDepartment="用电科";
m_pClass="班组1";
}
CUSERDoc::~CUSERDoc()
{
}
BOOL CUSERDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
SetTitle("城南信访办公自动化系统");
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CUSERDoc serialization
void CUSERDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CUSERDoc diagnostics
#ifdef _DEBUG
void CUSERDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CUSERDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CUSERDoc commands
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -