Добавил:
Studfiles2
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:Курсовой проект / Kyrsovik / TheOne / TheOneDoc
.cpp// TheOneDoc.cpp : implementation of the CTheOneDoc class
//
#include "stdafx.h"
#include "TheOne.h"
#include "TheOneSet.h"
#include "TheOneDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CTheOneDoc
IMPLEMENT_DYNCREATE(CTheOneDoc, CDocument)
BEGIN_MESSAGE_MAP(CTheOneDoc, CDocument)
END_MESSAGE_MAP()
// CTheOneDoc construction/destruction
CTheOneDoc::CTheOneDoc()
{
// TODO: add one-time construction code here
}
CTheOneDoc::~CTheOneDoc()
{
}
BOOL CTheOneDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
// CTheOneDoc serialization
void CTheOneDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
// CTheOneDoc diagnostics
#ifdef _DEBUG
void CTheOneDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CTheOneDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
// CTheOneDoc commands
Соседние файлы в папке TheOne