【VC开源代码栏目提醒】:网学会员VC开源代码为您提供CellsDoc.cpp参考,解决您在CellsDoc.cpp学习中工作中的难题,参考学习。
// CellsDoc.cpp : implementation of the CCellsDoc class
//
#include "stdafx.h"
#include "Cells.h"
#include "CellsDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCellsDoc
IMPLEMENT_DYNCREATE(CCellsDoc, CDocument)
BEGIN_MESSAGE_MAP(CCellsDoc, CDocument)
//{{AFX_MSG_MAP(CCellsDoc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CCellsDoc construction/destruction
CCellsDoc::CCellsDoc()
{
// TODO: add one-time construction code here
}
CCellsDoc::~CCellsDoc()
{
}
BOOL CCellsDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CCellsDoc serialization
void CCellsDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CCellsDoc diagnostics
#ifdef _DEBUG
void CCellsDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CCellsDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CCellsDoc commands
上一篇:
Cells.cpp
下一篇:
病理学实验课多样化教学方法探讨