lmcryptdoc.cpp

来自「.net2003下写的多种加密加密算法的演示」· C++ 代码 · 共 73 行

CPP
73
字号
// LmCryptDoc.cpp :  CLmCryptDoc 类的实现
//

#include "stdafx.h"
#include "LmCrypt.h"

#include "LmCryptDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CLmCryptDoc

IMPLEMENT_DYNCREATE(CLmCryptDoc, CDocument)

BEGIN_MESSAGE_MAP(CLmCryptDoc, CDocument)
END_MESSAGE_MAP()


// CLmCryptDoc 构造/析构

CLmCryptDoc::CLmCryptDoc()
{
	// TODO: 在此添加一次性构造代码

}

CLmCryptDoc::~CLmCryptDoc()
{
}

BOOL CLmCryptDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: 在此添加重新初始化代码
	// (SDI 文档将重用该文档)

	return TRUE;
}




// CLmCryptDoc 序列化

void CLmCryptDoc::Serialize(CArchive& ar)
{
	// CEditView 包含一个处理所有序列化的编辑控件
	reinterpret_cast<CEditView*>(m_viewList.GetHead())->SerializeRaw(ar);
}


// CLmCryptDoc 诊断

#ifdef _DEBUG
void CLmCryptDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CLmCryptDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG


// CLmCryptDoc 命令

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?