【VC开源代码栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。网学会员整理了VC开源代码-Ex05_4Doc.cpp的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
// Ex05_4Doc.cpp : implementation of the CEx05_4Doc class
//
#include "stdafx.h"
#include "Ex05_4.h"
#include "Ex05_4Doc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CEx05_4Doc
IMPLEMENT_DYNCREATE(CEx05_4Doc, CDocument)
BEGIN_MESSAGE_MAP(CEx05_4Doc, CDocument)
//{{AFX_MSG_MAP(CEx05_4Doc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CEx05_4Doc construction/destruction
CEx05_4Doc::CEx05_4Doc()
{
// TODO: add one-time construction code here
}
CEx05_4Doc::~CEx05_4Doc()
{
}
BOOL CEx05_4Doc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CEx05_4Doc serialization
void CEx05_4Doc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CEx05_4Doc diagnostics
#ifdef _DEBUG
void CEx05_4Doc::AssertValid() const
{
CDocument::AssertValid();
}
void CEx05_4Doc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CEx05_4Doc commands
上一篇:
Ex05_4.cpp
下一篇:
西班牙语童话:El Alimento de Dios