dia7.cpp

来自「对文本内的字符进行加密(重编码)。(由于是早期编写的」· C++ 代码 · 共 60 行

CPP
60
字号
// dia7.cpp : implementation file
//

#include "stdafx.h"
#include "CodeDialog.h"
#include "dia7.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// dia7 dialog


dia7::dia7(CWnd* pParent /*=NULL*/)
	: CDialog(dia7::IDD, pParent)
{
	//{{AFX_DATA_INIT(dia7)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
	rep = false;
}
bool dia7::replace()
{
	return rep;
}

void dia7::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(dia7)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(dia7, CDialog)
	//{{AFX_MSG_MAP(dia7)
	ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// dia7 message handlers

void dia7::OnOK() 
{
	rep = true;
	EndDialog(1);
}

void dia7::OnButton1() 
{
	rep = false;
	EndDialog(1);
}

⌨️ 快捷键说明

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