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

📄 form1.designer.cs

📁 使用viginear,column permutation,DES加密和解密
💻 CS
字号:
namespace MyCAP
{
    partial class Form1
    {
        /// <summary>
        /// 必需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// 清理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows 窗体设计器生成的代码

        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.textBox1 = new System.Windows.Forms.TextBox();
            this.menuStrip1 = new System.Windows.Forms.MenuStrip();
            this.文件ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.退出ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.密码ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.viginearToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.加密ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.解密ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.columnPermutationCipherToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.加密ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.解密ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.dESCipherToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.加密ToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
            this.解密ToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
            this.textBox2 = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.textBox3 = new System.Windows.Forms.TextBox();
            this.label3 = new System.Windows.Forms.Label();
            this.生成明文ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.字明文ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.menuStrip1.SuspendLayout();
            this.SuspendLayout();
            // 
            // textBox1
            // 
            this.textBox1.Location = new System.Drawing.Point(12, 55);
            this.textBox1.Multiline = true;
            this.textBox1.Name = "textBox1";
            this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
            this.textBox1.Size = new System.Drawing.Size(394, 115);
            this.textBox1.TabIndex = 0;
            // 
            // menuStrip1
            // 
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.文件ToolStripMenuItem,
            this.密码ToolStripMenuItem,
            this.生成明文ToolStripMenuItem});
            this.menuStrip1.Location = new System.Drawing.Point(0, 0);
            this.menuStrip1.Name = "menuStrip1";
            this.menuStrip1.Size = new System.Drawing.Size(418, 24);
            this.menuStrip1.TabIndex = 1;
            this.menuStrip1.Text = "menuStrip1";
            // 
            // 文件ToolStripMenuItem
            // 
            this.文件ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.退出ToolStripMenuItem});
            this.文件ToolStripMenuItem.Name = "文件ToolStripMenuItem";
            this.文件ToolStripMenuItem.Size = new System.Drawing.Size(43, 20);
            this.文件ToolStripMenuItem.Text = "文件";
            // 
            // 退出ToolStripMenuItem
            // 
            this.退出ToolStripMenuItem.Name = "退出ToolStripMenuItem";
            this.退出ToolStripMenuItem.Size = new System.Drawing.Size(98, 22);
            this.退出ToolStripMenuItem.Text = "退出";
            this.退出ToolStripMenuItem.Click += new System.EventHandler(this.退出ToolStripMenuItem_Click);
            // 
            // 密码ToolStripMenuItem
            // 
            this.密码ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.viginearToolStripMenuItem,
            this.columnPermutationCipherToolStripMenuItem,
            this.dESCipherToolStripMenuItem});
            this.密码ToolStripMenuItem.Name = "密码ToolStripMenuItem";
            this.密码ToolStripMenuItem.Size = new System.Drawing.Size(43, 20);
            this.密码ToolStripMenuItem.Text = "密码";
            // 
            // viginearToolStripMenuItem
            // 
            this.viginearToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.加密ToolStripMenuItem,
            this.解密ToolStripMenuItem});
            this.viginearToolStripMenuItem.Name = "viginearToolStripMenuItem";
            this.viginearToolStripMenuItem.Size = new System.Drawing.Size(204, 22);
            this.viginearToolStripMenuItem.Text = "Viginear Cipher";
            this.viginearToolStripMenuItem.Click += new System.EventHandler(this.viginearToolStripMenuItem_Click);
            // 
            // 加密ToolStripMenuItem
            // 
            this.加密ToolStripMenuItem.Name = "加密ToolStripMenuItem";
            this.加密ToolStripMenuItem.Size = new System.Drawing.Size(98, 22);
            this.加密ToolStripMenuItem.Text = "加密";
            this.加密ToolStripMenuItem.Click += new System.EventHandler(this.加密ToolStripMenuItem_Click);
            // 
            // 解密ToolStripMenuItem
            // 
            this.解密ToolStripMenuItem.Name = "解密ToolStripMenuItem";
            this.解密ToolStripMenuItem.Size = new System.Drawing.Size(98, 22);
            this.解密ToolStripMenuItem.Text = "解密";
            this.解密ToolStripMenuItem.Click += new System.EventHandler(this.解密ToolStripMenuItem_Click);
            // 
            // columnPermutationCipherToolStripMenuItem
            // 
            this.columnPermutationCipherToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.加密ToolStripMenuItem1,
            this.解密ToolStripMenuItem1});
            this.columnPermutationCipherToolStripMenuItem.Name = "columnPermutationCipherToolStripMenuItem";
            this.columnPermutationCipherToolStripMenuItem.Size = new System.Drawing.Size(204, 22);
            this.columnPermutationCipherToolStripMenuItem.Text = "Column Permutation Cipher";
            // 
            // 加密ToolStripMenuItem1
            // 
            this.加密ToolStripMenuItem1.Name = "加密ToolStripMenuItem1";
            this.加密ToolStripMenuItem1.Size = new System.Drawing.Size(98, 22);
            this.加密ToolStripMenuItem1.Text = "加密";
            this.加密ToolStripMenuItem1.Click += new System.EventHandler(this.加密ToolStripMenuItem1_Click);
            // 
            // 解密ToolStripMenuItem1
            // 
            this.解密ToolStripMenuItem1.Name = "解密ToolStripMenuItem1";
            this.解密ToolStripMenuItem1.Size = new System.Drawing.Size(98, 22);
            this.解密ToolStripMenuItem1.Text = "解密";
            this.解密ToolStripMenuItem1.Click += new System.EventHandler(this.解密ToolStripMenuItem1_Click);
            // 
            // dESCipherToolStripMenuItem
            // 
            this.dESCipherToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.加密ToolStripMenuItem2,
            this.解密ToolStripMenuItem2});
            this.dESCipherToolStripMenuItem.Name = "dESCipherToolStripMenuItem";
            this.dESCipherToolStripMenuItem.Size = new System.Drawing.Size(204, 22);
            this.dESCipherToolStripMenuItem.Text = "DES Cipher(7位密钥)";
            // 
            // 加密ToolStripMenuItem2
            // 
            this.加密ToolStripMenuItem2.Name = "加密ToolStripMenuItem2";
            this.加密ToolStripMenuItem2.Size = new System.Drawing.Size(152, 22);
            this.加密ToolStripMenuItem2.Text = "加密";
            this.加密ToolStripMenuItem2.Click += new System.EventHandler(this.加密ToolStripMenuItem2_Click);
            // 
            // 解密ToolStripMenuItem2
            // 
            this.解密ToolStripMenuItem2.Name = "解密ToolStripMenuItem2";
            this.解密ToolStripMenuItem2.Size = new System.Drawing.Size(194, 22);
            this.解密ToolStripMenuItem2.Text = "解密";
            this.解密ToolStripMenuItem2.Click += new System.EventHandler(this.解密ToolStripMenuItem2_Click);
            // 
            // textBox2
            // 
            this.textBox2.Location = new System.Drawing.Point(12, 310);
            this.textBox2.Multiline = true;
            this.textBox2.Name = "textBox2";
            this.textBox2.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
            this.textBox2.Size = new System.Drawing.Size(394, 130);
            this.textBox2.TabIndex = 2;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(12, 39);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(43, 13);
            this.label1.TabIndex = 3;
            this.label1.Text = "明文:";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(12, 285);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(43, 13);
            this.label2.TabIndex = 4;
            this.label2.Text = "密文:";
            // 
            // textBox3
            // 
            this.textBox3.Location = new System.Drawing.Point(12, 218);
            this.textBox3.Multiline = true;
            this.textBox3.Name = "textBox3";
            this.textBox3.Size = new System.Drawing.Size(394, 50);
            this.textBox3.TabIndex = 5;
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(12, 189);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(43, 13);
            this.label3.TabIndex = 6;
            this.label3.Text = "密钥:";
            // 
            // 生成明文ToolStripMenuItem
            // 
            this.生成明文ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.字明文ToolStripMenuItem});
            this.生成明文ToolStripMenuItem.Name = "生成明文ToolStripMenuItem";
            this.生成明文ToolStripMenuItem.Size = new System.Drawing.Size(67, 20);
            this.生成明文ToolStripMenuItem.Text = "生成明文";
            // 
            // 字明文ToolStripMenuItem
            // 
            this.字明文ToolStripMenuItem.Name = "字明文ToolStripMenuItem";
            this.字明文ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
            this.字明文ToolStripMenuItem.Text = "500字明文";
            this.字明文ToolStripMenuItem.Click += new System.EventHandler(this.字明文ToolStripMenuItem_Click);
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(418, 481);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.textBox3);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.textBox2);
            this.Controls.Add(this.textBox1);
            this.Controls.Add(this.menuStrip1);
            this.MainMenuStrip = this.menuStrip1;
            this.Name = "Form1";
            this.Text = "MyCAP";
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.TextBox textBox1;
        private System.Windows.Forms.MenuStrip menuStrip1;
        private System.Windows.Forms.ToolStripMenuItem 文件ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 退出ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 密码ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem viginearToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem columnPermutationCipherToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem dESCipherToolStripMenuItem;
        private System.Windows.Forms.TextBox textBox2;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.ToolStripMenuItem 加密ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 解密ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 加密ToolStripMenuItem1;
        private System.Windows.Forms.ToolStripMenuItem 解密ToolStripMenuItem1;
        private System.Windows.Forms.ToolStripMenuItem 加密ToolStripMenuItem2;
        private System.Windows.Forms.ToolStripMenuItem 解密ToolStripMenuItem2;
        private System.Windows.Forms.TextBox textBox3;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.ToolStripMenuItem 生成明文ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 字明文ToolStripMenuItem;
    }
}

⌨️ 快捷键说明

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