TreeDoc1.cpp
上传用户:szcysw
上传日期:2013-03-11
资源大小:6752k
文件大小:1k
- // TreeDoc1.cpp : implementation file
- //
- #include "stdafx.h"
- #include "DevDemo.h"
- #include "TreeDoc1.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CTreeDoc1
- IMPLEMENT_DYNCREATE(CTreeDoc1, CDocument)
- CTreeDoc1::CTreeDoc1()
- {
- }
- BOOL CTreeDoc1::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
- return TRUE;
- }
- CTreeDoc1::~CTreeDoc1()
- {
- }
- BEGIN_MESSAGE_MAP(CTreeDoc1, CDocument)
- //{{AFX_MSG_MAP(CTreeDoc1)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CTreeDoc1 diagnostics
- #ifdef _DEBUG
- void CTreeDoc1::AssertValid() const
- {
- CDocument::AssertValid();
- }
- void CTreeDoc1::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CTreeDoc1 serialization
- void CTreeDoc1::Serialize(CArchive& ar)
- {
- if (ar.IsStoring())
- {
- // TODO: add storing code here
- }
- else
- {
- // TODO: add loading code here
- }
- }
- /////////////////////////////////////////////////////////////////////////////
- // CTreeDoc1 commands