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

📄 form1.designer.cs

📁 文件加密解密算法
💻 CS
字号:
namespace FileEncrypt
{
    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.label1 = new System.Windows.Forms.Label();
            this.SourceFilePathEdt = new System.Windows.Forms.TextBox();
            this.SourceFileViewBtn = new System.Windows.Forms.Button();
            this.EncryptOrDecryptBtn = new System.Windows.Forms.Button();
            this.DestFilePathEdt = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.KeyFilePathEdt = new System.Windows.Forms.TextBox();
            this.EncryptOrDecryptLbl = new System.Windows.Forms.Label();
            this.KeyFileViewBtn = new System.Windows.Forms.Button();
            this.PrivateKeyFileEdt = new System.Windows.Forms.TextBox();
            this.label4 = new System.Windows.Forms.Label();
            this.PublicKeyFileViewBtn = new System.Windows.Forms.Button();
            this.PublicKeyFileEdt = new System.Windows.Forms.TextBox();
            this.label5 = new System.Windows.Forms.Label();
            this.PrivateKeyFileViewBtn = new System.Windows.Forms.Button();
            this.GenKeysBtn = new System.Windows.Forms.Button();
            this.EncryptRdBtn = new System.Windows.Forms.RadioButton();
            this.DecryptRdBtn = new System.Windows.Forms.RadioButton();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.groupBox1.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.SuspendLayout();
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(36, 204);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(53, 12);
            this.label1.TabIndex = 15;
            this.label1.Text = "原始文件";
            // 
            // SourceFilePathEdt
            // 
            this.SourceFilePathEdt.Location = new System.Drawing.Point(101, 200);
            this.SourceFilePathEdt.Name = "SourceFilePathEdt";
            this.SourceFilePathEdt.ReadOnly = true;
            this.SourceFilePathEdt.Size = new System.Drawing.Size(511, 21);
            this.SourceFilePathEdt.TabIndex = 7;
            // 
            // SourceFileViewBtn
            // 
            this.SourceFileViewBtn.Location = new System.Drawing.Point(618, 199);
            this.SourceFileViewBtn.Name = "SourceFileViewBtn";
            this.SourceFileViewBtn.Size = new System.Drawing.Size(75, 23);
            this.SourceFileViewBtn.TabIndex = 8;
            this.SourceFileViewBtn.Text = "浏览...";
            this.SourceFileViewBtn.UseVisualStyleBackColor = true;
            this.SourceFileViewBtn.Click += new System.EventHandler(this.SourceFileViewBtn_Click);
            // 
            // EncryptOrDecryptBtn
            // 
            this.EncryptOrDecryptBtn.Location = new System.Drawing.Point(539, 154);
            this.EncryptOrDecryptBtn.Name = "EncryptOrDecryptBtn";
            this.EncryptOrDecryptBtn.Size = new System.Drawing.Size(142, 23);
            this.EncryptOrDecryptBtn.TabIndex = 12;
            this.EncryptOrDecryptBtn.Text = "加密/解密";
            this.EncryptOrDecryptBtn.UseVisualStyleBackColor = true;
            this.EncryptOrDecryptBtn.Click += new System.EventHandler(this.EncryptOrDecryptBtn_Click);
            // 
            // DestFilePathEdt
            // 
            this.DestFilePathEdt.Location = new System.Drawing.Point(101, 232);
            this.DestFilePathEdt.Name = "DestFilePathEdt";
            this.DestFilePathEdt.Size = new System.Drawing.Size(511, 21);
            this.DestFilePathEdt.TabIndex = 9;
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(36, 235);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(53, 12);
            this.label2.TabIndex = 16;
            this.label2.Text = "目标文件";
            // 
            // KeyFilePathEdt
            // 
            this.KeyFilePathEdt.Location = new System.Drawing.Point(101, 262);
            this.KeyFilePathEdt.Name = "KeyFilePathEdt";
            this.KeyFilePathEdt.ReadOnly = true;
            this.KeyFilePathEdt.Size = new System.Drawing.Size(511, 21);
            this.KeyFilePathEdt.TabIndex = 10;
            // 
            // EncryptOrDecryptLbl
            // 
            this.EncryptOrDecryptLbl.AutoSize = true;
            this.EncryptOrDecryptLbl.Location = new System.Drawing.Point(36, 266);
            this.EncryptOrDecryptLbl.Name = "EncryptOrDecryptLbl";
            this.EncryptOrDecryptLbl.Size = new System.Drawing.Size(53, 12);
            this.EncryptOrDecryptLbl.TabIndex = 17;
            this.EncryptOrDecryptLbl.Text = "公钥文件";
            // 
            // KeyFileViewBtn
            // 
            this.KeyFileViewBtn.Location = new System.Drawing.Point(618, 262);
            this.KeyFileViewBtn.Name = "KeyFileViewBtn";
            this.KeyFileViewBtn.Size = new System.Drawing.Size(75, 23);
            this.KeyFileViewBtn.TabIndex = 11;
            this.KeyFileViewBtn.Text = "浏览...";
            this.KeyFileViewBtn.UseVisualStyleBackColor = true;
            this.KeyFileViewBtn.Click += new System.EventHandler(this.KeyFileViewBtn_Click);
            // 
            // PrivateKeyFileEdt
            // 
            this.PrivateKeyFileEdt.Location = new System.Drawing.Point(137, 72);
            this.PrivateKeyFileEdt.Name = "PrivateKeyFileEdt";
            this.PrivateKeyFileEdt.ReadOnly = true;
            this.PrivateKeyFileEdt.Size = new System.Drawing.Size(475, 21);
            this.PrivateKeyFileEdt.TabIndex = 2;
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(36, 76);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(101, 12);
            this.label4.TabIndex = 14;
            this.label4.Text = "私钥文件存储路径";
            // 
            // PublicKeyFileViewBtn
            // 
            this.PublicKeyFileViewBtn.Location = new System.Drawing.Point(618, 38);
            this.PublicKeyFileViewBtn.Name = "PublicKeyFileViewBtn";
            this.PublicKeyFileViewBtn.Size = new System.Drawing.Size(75, 23);
            this.PublicKeyFileViewBtn.TabIndex = 1;
            this.PublicKeyFileViewBtn.Text = "浏览...";
            this.PublicKeyFileViewBtn.UseVisualStyleBackColor = true;
            this.PublicKeyFileViewBtn.Click += new System.EventHandler(this.PublicKeyFileViewBtn_Click);
            // 
            // PublicKeyFileEdt
            // 
            this.PublicKeyFileEdt.Location = new System.Drawing.Point(137, 39);
            this.PublicKeyFileEdt.Name = "PublicKeyFileEdt";
            this.PublicKeyFileEdt.ReadOnly = true;
            this.PublicKeyFileEdt.Size = new System.Drawing.Size(475, 21);
            this.PublicKeyFileEdt.TabIndex = 0;
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(36, 43);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(101, 12);
            this.label5.TabIndex = 13;
            this.label5.Text = "公钥存储文件路径";
            // 
            // PrivateKeyFileViewBtn
            // 
            this.PrivateKeyFileViewBtn.Location = new System.Drawing.Point(618, 71);
            this.PrivateKeyFileViewBtn.Name = "PrivateKeyFileViewBtn";
            this.PrivateKeyFileViewBtn.Size = new System.Drawing.Size(75, 23);
            this.PrivateKeyFileViewBtn.TabIndex = 3;
            this.PrivateKeyFileViewBtn.Text = "浏览...";
            this.PrivateKeyFileViewBtn.UseVisualStyleBackColor = true;
            this.PrivateKeyFileViewBtn.Click += new System.EventHandler(this.PrivateKeyFileViewBtn_Click);
            // 
            // GenKeysBtn
            // 
            this.GenKeysBtn.Location = new System.Drawing.Point(539, 92);
            this.GenKeysBtn.Name = "GenKeysBtn";
            this.GenKeysBtn.Size = new System.Drawing.Size(142, 23);
            this.GenKeysBtn.TabIndex = 4;
            this.GenKeysBtn.Text = "生成公钥和私钥";
            this.GenKeysBtn.UseVisualStyleBackColor = true;
            this.GenKeysBtn.Click += new System.EventHandler(this.GenKeysBtn_Click);
            // 
            // EncryptRdBtn
            // 
            this.EncryptRdBtn.AutoSize = true;
            this.EncryptRdBtn.Checked = true;
            this.EncryptRdBtn.Location = new System.Drawing.Point(38, 174);
            this.EncryptRdBtn.Name = "EncryptRdBtn";
            this.EncryptRdBtn.Size = new System.Drawing.Size(47, 16);
            this.EncryptRdBtn.TabIndex = 5;
            this.EncryptRdBtn.TabStop = true;
            this.EncryptRdBtn.Text = "加密";
            this.EncryptRdBtn.UseVisualStyleBackColor = true;
            this.EncryptRdBtn.CheckedChanged += new System.EventHandler(this.EncryptRdBtn_CheckedChanged);
            // 
            // DecryptRdBtn
            // 
            this.DecryptRdBtn.AutoSize = true;
            this.DecryptRdBtn.Location = new System.Drawing.Point(101, 174);
            this.DecryptRdBtn.Name = "DecryptRdBtn";
            this.DecryptRdBtn.Size = new System.Drawing.Size(47, 16);
            this.DecryptRdBtn.TabIndex = 6;
            this.DecryptRdBtn.Text = "解密";
            this.DecryptRdBtn.UseVisualStyleBackColor = true;
            this.DecryptRdBtn.CheckedChanged += new System.EventHandler(this.DecryptRdBtn_CheckedChanged);
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.GenKeysBtn);
            this.groupBox1.Location = new System.Drawing.Point(12, 12);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(732, 121);
            this.groupBox1.TabIndex = 18;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "生成公钥和私钥";
            // 
            // groupBox2
            // 
            this.groupBox2.Controls.Add(this.EncryptOrDecryptBtn);
            this.groupBox2.Location = new System.Drawing.Point(12, 152);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(732, 191);
            this.groupBox2.TabIndex = 19;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "加密/解密文件";
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(756, 359);
            this.Controls.Add(this.DecryptRdBtn);
            this.Controls.Add(this.EncryptRdBtn);
            this.Controls.Add(this.PrivateKeyFileViewBtn);
            this.Controls.Add(this.PrivateKeyFileEdt);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.PublicKeyFileViewBtn);
            this.Controls.Add(this.PublicKeyFileEdt);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.KeyFileViewBtn);
            this.Controls.Add(this.KeyFilePathEdt);
            this.Controls.Add(this.EncryptOrDecryptLbl);
            this.Controls.Add(this.DestFilePathEdt);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.SourceFileViewBtn);
            this.Controls.Add(this.SourceFilePathEdt);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.groupBox2);
            this.MaximizeBox = false;
            this.Name = "Form1";
            this.Text = "文件加密/解密";
            this.groupBox1.ResumeLayout(false);
            this.groupBox2.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.TextBox SourceFilePathEdt;
        private System.Windows.Forms.Button SourceFileViewBtn;
        private System.Windows.Forms.Button EncryptOrDecryptBtn;
        private System.Windows.Forms.TextBox DestFilePathEdt;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.TextBox KeyFilePathEdt;
        private System.Windows.Forms.Label EncryptOrDecryptLbl;
        private System.Windows.Forms.Button KeyFileViewBtn;
        private System.Windows.Forms.TextBox PrivateKeyFileEdt;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.Button PublicKeyFileViewBtn;
        private System.Windows.Forms.TextBox PublicKeyFileEdt;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.Button PrivateKeyFileViewBtn;
        private System.Windows.Forms.Button GenKeysBtn;
        private System.Windows.Forms.RadioButton EncryptRdBtn;
        private System.Windows.Forms.RadioButton DecryptRdBtn;
        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.GroupBox groupBox2;
    }
}

⌨️ 快捷键说明

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