?? exp32_2doc.cpp
字號:
// Exp32_2Doc.cpp : implementation of the CExp32_2Doc class
//
#include "stdafx.h"
#include "Exp32_2.h"
#include "Exp32_2Doc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CExp32_2Doc
IMPLEMENT_DYNCREATE(CExp32_2Doc, CDocument)
BEGIN_MESSAGE_MAP(CExp32_2Doc, CDocument)
//{{AFX_MSG_MAP(CExp32_2Doc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CExp32_2Doc construction/destruction
CExp32_2Doc::CExp32_2Doc()
{
// TODO: add one-time construction code here
}
CExp32_2Doc::~CExp32_2Doc()
{
}
BOOL CExp32_2Doc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CExp32_2Doc serialization
void CExp32_2Doc::Serialize(CArchive& ar)
{
/*if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}*/
m_elemList.Serialize(ar);
}
/////////////////////////////////////////////////////////////////////////////
// CExp32_2Doc diagnostics
#ifdef _DEBUG
void CExp32_2Doc::AssertValid() const
{
CDocument::AssertValid();
}
void CExp32_2Doc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CExp32_2Doc commands
void CExp32_2Doc::DeleteContents()
{
// TODO: Add your specialized code here and/or call the base class
while(!m_elemList.IsEmpty()) {
delete m_elemList.RemoveHead();
}
CDocument::DeleteContents();
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -