📄 form1.designer.cs
字号:
namespace EncryptAndDecrypt
{
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.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
this.txtOpenFile = new System.Windows.Forms.TextBox();
this.btnBrow1 = new System.Windows.Forms.Button();
this.labOpenFile = new System.Windows.Forms.Label();
this.txtSaveFile = new System.Windows.Forms.TextBox();
this.btnBrow2 = new System.Windows.Forms.Button();
this.labSaveFile = new System.Windows.Forms.Label();
this.radioDES = new System.Windows.Forms.RadioButton();
this.radioRSA = new System.Windows.Forms.RadioButton();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.btnEncrypt = new System.Windows.Forms.Button();
this.btnDecrypt = new System.Windows.Forms.Button();
this.txtDESKey = new System.Windows.Forms.TextBox();
this.labDESKey = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// openFileDialog1
//
this.openFileDialog1.FileName = "openFileDialog1";
this.openFileDialog1.FileOk += new System.ComponentModel.CancelEventHandler(this.openFileDialog1_FileOk);
//
// saveFileDialog1
//
this.saveFileDialog1.FileOk += new System.ComponentModel.CancelEventHandler(this.saveFileDialog1_FileOk);
//
// txtOpenFile
//
this.txtOpenFile.Location = new System.Drawing.Point(83, 24);
this.txtOpenFile.Name = "txtOpenFile";
this.txtOpenFile.Size = new System.Drawing.Size(198, 21);
this.txtOpenFile.TabIndex = 0;
//
// btnBrow1
//
this.btnBrow1.Location = new System.Drawing.Point(296, 22);
this.btnBrow1.Name = "btnBrow1";
this.btnBrow1.Size = new System.Drawing.Size(26, 23);
this.btnBrow1.TabIndex = 1;
this.btnBrow1.Text = ">>";
this.btnBrow1.UseVisualStyleBackColor = true;
this.btnBrow1.Click += new System.EventHandler(this.btnBrow1_Click);
//
// labOpenFile
//
this.labOpenFile.AutoSize = true;
this.labOpenFile.Location = new System.Drawing.Point(12, 27);
this.labOpenFile.Name = "labOpenFile";
this.labOpenFile.Size = new System.Drawing.Size(65, 12);
this.labOpenFile.TabIndex = 2;
this.labOpenFile.Text = "导入文件:";
//
// txtSaveFile
//
this.txtSaveFile.Location = new System.Drawing.Point(83, 65);
this.txtSaveFile.Name = "txtSaveFile";
this.txtSaveFile.Size = new System.Drawing.Size(198, 21);
this.txtSaveFile.TabIndex = 0;
//
// btnBrow2
//
this.btnBrow2.Location = new System.Drawing.Point(296, 63);
this.btnBrow2.Name = "btnBrow2";
this.btnBrow2.Size = new System.Drawing.Size(26, 23);
this.btnBrow2.TabIndex = 1;
this.btnBrow2.Text = ">>";
this.btnBrow2.UseVisualStyleBackColor = true;
this.btnBrow2.Click += new System.EventHandler(this.btnBrow2_Click);
//
// labSaveFile
//
this.labSaveFile.AutoSize = true;
this.labSaveFile.Location = new System.Drawing.Point(12, 68);
this.labSaveFile.Name = "labSaveFile";
this.labSaveFile.Size = new System.Drawing.Size(65, 12);
this.labSaveFile.TabIndex = 2;
this.labSaveFile.Text = "保存文件:";
//
// radioDES
//
this.radioDES.AutoSize = true;
this.radioDES.Location = new System.Drawing.Point(71, 29);
this.radioDES.Name = "radioDES";
this.radioDES.Size = new System.Drawing.Size(41, 16);
this.radioDES.TabIndex = 3;
this.radioDES.TabStop = true;
this.radioDES.Text = "DES";
this.radioDES.UseVisualStyleBackColor = true;
this.radioDES.CheckedChanged += new System.EventHandler(this.radioDES_CheckedChanged);
//
// radioRSA
//
this.radioRSA.AutoSize = true;
this.radioRSA.Location = new System.Drawing.Point(196, 29);
this.radioRSA.Name = "radioRSA";
this.radioRSA.Size = new System.Drawing.Size(41, 16);
this.radioRSA.TabIndex = 3;
this.radioRSA.TabStop = true;
this.radioRSA.Text = "RSA";
this.radioRSA.UseVisualStyleBackColor = true;
this.radioRSA.CheckedChanged += new System.EventHandler(this.radioRSA_CheckedChanged);
//
// groupBox1
//
this.groupBox1.Controls.Add(this.radioRSA);
this.groupBox1.Controls.Add(this.radioDES);
this.groupBox1.Location = new System.Drawing.Point(14, 108);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(308, 61);
this.groupBox1.TabIndex = 4;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "选择加密算法";
//
// btnEncrypt
//
this.btnEncrypt.Location = new System.Drawing.Point(48, 224);
this.btnEncrypt.Name = "btnEncrypt";
this.btnEncrypt.Size = new System.Drawing.Size(75, 23);
this.btnEncrypt.TabIndex = 5;
this.btnEncrypt.Text = "加密";
this.btnEncrypt.UseVisualStyleBackColor = true;
this.btnEncrypt.Click += new System.EventHandler(this.btnEncrypt_Click);
//
// btnDecrypt
//
this.btnDecrypt.Location = new System.Drawing.Point(194, 224);
this.btnDecrypt.Name = "btnDecrypt";
this.btnDecrypt.Size = new System.Drawing.Size(75, 23);
this.btnDecrypt.TabIndex = 5;
this.btnDecrypt.Text = "解密";
this.btnDecrypt.UseVisualStyleBackColor = true;
this.btnDecrypt.Click += new System.EventHandler(this.btnDecrypt_Click);
//
// txtDESKey
//
this.txtDESKey.Location = new System.Drawing.Point(136, 187);
this.txtDESKey.Name = "txtDESKey";
this.txtDESKey.Size = new System.Drawing.Size(186, 21);
this.txtDESKey.TabIndex = 6;
//
// labDESKey
//
this.labDESKey.AutoSize = true;
this.labDESKey.Enabled = false;
this.labDESKey.Location = new System.Drawing.Point(13, 190);
this.labDESKey.Name = "labDESKey";
this.labDESKey.Size = new System.Drawing.Size(113, 12);
this.labDESKey.TabIndex = 7;
this.labDESKey.Text = "8位DES加解密密钥:";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(334, 272);
this.Controls.Add(this.labDESKey);
this.Controls.Add(this.txtDESKey);
this.Controls.Add(this.btnDecrypt);
this.Controls.Add(this.btnEncrypt);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.labSaveFile);
this.Controls.Add(this.labOpenFile);
this.Controls.Add(this.btnBrow2);
this.Controls.Add(this.txtSaveFile);
this.Controls.Add(this.btnBrow1);
this.Controls.Add(this.txtOpenFile);
this.Name = "Form1";
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.OpenFileDialog openFileDialog1;
private System.Windows.Forms.SaveFileDialog saveFileDialog1;
private System.Windows.Forms.TextBox txtOpenFile;
private System.Windows.Forms.Button btnBrow1;
private System.Windows.Forms.Label labOpenFile;
private System.Windows.Forms.TextBox txtSaveFile;
private System.Windows.Forms.Button btnBrow2;
private System.Windows.Forms.Label labSaveFile;
private System.Windows.Forms.RadioButton radioDES;
private System.Windows.Forms.RadioButton radioRSA;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Button btnEncrypt;
private System.Windows.Forms.Button btnDecrypt;
private System.Windows.Forms.TextBox txtDESKey;
private System.Windows.Forms.Label labDESKey;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -