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