CalDoc.cpp
资源名称:ebd_src.zip [点击查看]
上传用户:kelijie
上传日期:2007-01-01
资源大小:123k
文件大小:1k
源码类别:
图形图象
开发平台:
Visual C++
- // CalDoc.cpp : implementation file
- //
- #include "stdafx.h"
- #include "ebdlib2.h"
- #include "CalDoc.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CCalculatorDoc
- IMPLEMENT_DYNCREATE(CCalculatorDoc, CDocument)
- CCalculatorDoc::CCalculatorDoc()
- :CStandardDoc()
- {
- }
- BOOL CCalculatorDoc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
- return TRUE;
- }
- CCalculatorDoc::~CCalculatorDoc()
- {
- }
- BEGIN_MESSAGE_MAP(CCalculatorDoc, CDocument)
- //{{AFX_MSG_MAP(CCalculatorDoc)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CCalculatorDoc diagnostics
- #ifdef _DEBUG
- void CCalculatorDoc::AssertValid() const
- {
- CDocument::AssertValid();
- }
- void CCalculatorDoc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CCalculatorDoc serialization
- void CCalculatorDoc::Serialize(CArchive& ar)
- {
- if (ar.IsStoring())
- {
- // TODO: add storing code here
- }
- else
- {
- // TODO: add loading code here
- }
- }
- /////////////////////////////////////////////////////////////////////////////
- // CCalculatorDoc commands
English
