⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setsystem.cpp

📁 有几种密码系统供选择,如RSA密码.能对单个文件进行加密,并且也能对单个文件进行解密
💻 CPP
字号:
// setsystem.cpp : implementation file
//

#include "stdafx.h"
#include "cript.h"
#include "setsystem.h"
#include "var.h"

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

/////////////////////////////////////////////////////////////////////////////
// setsystem dialog

setsystem::setsystem(CWnd* pParent /*=NULL*/)
	: CDialog(setsystem::IDD, pParent)
{
	//{{AFX_DATA_INIT(setsystem)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
	types_num=4;
}


void setsystem::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(setsystem)
	DDX_Control(pDX, IDC_LIST1, m_systemlist);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(setsystem, CDialog)
	//{{AFX_MSG_MAP(setsystem)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// setsystem message handlers

void setsystem::OnOK() 
{
	m_type=m_systemlist.GetCurSel();
	CDialog::OnOK();
}

BOOL setsystem::OnInitDialog() 
{
	CDialog::OnInitDialog();
	UINT k;
	for(k=0;k<types_num;k++)
		m_systemlist.AddString(types[k]);	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

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