【VC开源代码栏目提醒】:网学会员在VC开源代码频道为大家收集整理了CSDI_5Doc.cpp提供大家参考,希望对大家有所帮助!
// CSDI_5Doc.cpp : implementation of the CCSDI_5Doc class
//
#include "stdafx.h"
#include "CSDI_5.h"
#include "CSDI_5Doc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCSDI_5Doc
IMPLEMENT_DYNCREATE(CCSDI_5Doc, CDocument)
BEGIN_MESSAGE_MAP(CCSDI_5Doc, CDocument)
//{{AFX_MSG_MAP(CCSDI_5Doc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CCSDI_5Doc construction/destruction
CCSDI_5Doc::CCSDI_5Doc()
{
// TODO: add one-time construction code here
}
CCSDI_5Doc::~CCSDI_5Doc()
{
}
BOOL CCSDI_5Doc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CCSDI_5Doc serialization
void CCSDI_5Doc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CCSDI_5Doc diagnostics
#ifdef _DEBUG
void CCSDI_5Doc::AssertValid() const
{
CDocument::AssertValid();
}
void CCSDI_5Doc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CCSDI_5Doc commands
上一篇:
B借书.frm
下一篇:
竞赛中运动员的心理障碍与心理训练分析