找传奇、传世资源到传世资源站!

C# 加密解密例子源码下载( DES、3DES、TDEA、Blowfish、RC2、...

8.5玩家评分(1人评分)
下载后可评
介绍 评论 失效链接反馈

C# 加密解密例子源码下载( DES、3DES、TDEA、Blowfish、RC2、RC4、RC5、IDEA、SKIPJACK、AES ) C#语言基础-第1张using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Reflection;using System.Text;using System.Windows.Forms;namespace EncryptTool{ public partial class Form1 : Form { public int[] formFlag = {0, 0, 0, 0, 0, 0, 0}; public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { BuilderForm("EncryptTool.DESForm", tabControl1); } private void tabx_Click(object sender, EventArgs e) { var formTag = string.Format("EncryptTool.{0}", ((TabControl) sender).SelectedTab.Tag); BuilderForm(formTag, sender); } private void BuilderForm(string formTag, object sender) { Form fm = (Form)Assembly.GetExecutingAssembly().CreateInstance(formTag); fm.FormBorderStyle = FormBorderStyle.None; fm.TopLevel = false; fm.Parent = ((TabControl)sender).SelectedTab; fm.ControlBox = false; fm.Dock = DockStyle.Fill; fm.Show(); formFlag[((TabControl)sender).SelectedIndex] = 1; } private void tabControl1_SelectedIndexChanged(object sender, EventArgs e) { if (formFlag[tabControl1.SelectedIndex] == 0) //只生成一次 { tabx_Click(sender, e); } } }}

评论

发表评论必须先登陆, 您可以 登陆 或者 注册新账号 !


在线咨询: 问题反馈
客服QQ:174666394

有问题请留言,看到后及时答复