SimpleMailDoc.cpp
上传用户:weimei12
上传日期:2022-08-11
资源大小:185k
文件大小:1k
- // SimpleMailDoc.cpp : implementation of the CSimpleMailDoc class
- //
- #include "stdafx.h"
- #include "SimpleMail.h"
- #include "SimpleMailDoc.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #endif
- // CSimpleMailDoc
- IMPLEMENT_DYNCREATE(CSimpleMailDoc, CDocument)
- BEGIN_MESSAGE_MAP(CSimpleMailDoc, CDocument)
- END_MESSAGE_MAP()
- // CSimpleMailDoc construction/destruction
- CSimpleMailDoc::CSimpleMailDoc()
- {
- // TODO: add one-time construction code here
- }
- CSimpleMailDoc::~CSimpleMailDoc()
- {
- }
- BOOL CSimpleMailDoc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
- // TODO: add reinitialization code here
- // (SDI documents will reuse this document)
- return TRUE;
- }
- // CSimpleMailDoc serialization
- void CSimpleMailDoc::Serialize(CArchive& ar)
- {
- if (ar.IsStoring())
- {
- // TODO: add storing code here
- }
- else
- {
- // TODO: add loading code here
- }
- }
- // CSimpleMailDoc diagnostics
- #ifdef _DEBUG
- void CSimpleMailDoc::AssertValid() const
- {
- CDocument::AssertValid();
- }
- void CSimpleMailDoc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
- // CSimpleMailDoc commands