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

📄 frmcomputehash.designer.cs

📁 在设计程序时,需要经常计算一个字串的哈希值,得到加密文本,生成加密过的配置文件或都转换EXCEL文件到SQL数据库等等,根据自己习惯定制部分功能,由于时间关系,没有详细说明
💻 CS
字号:
namespace LingangTools
{
    partial class FrmComputeHash
    {
        /// <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.groupBox1 = new System.Windows.Forms.GroupBox();
            this.radioButton_MD5 = new System.Windows.Forms.RadioButton();
            this.radioButton_SHA1 = new System.Windows.Forms.RadioButton();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.btn_SelectFile = new System.Windows.Forms.Button();
            this.btn_Compute = new System.Windows.Forms.Button();
            this.txt_Content = new System.Windows.Forms.TextBox();
            this.radioButton_File = new System.Windows.Forms.RadioButton();
            this.radioButton_Text = new System.Windows.Forms.RadioButton();
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.label2 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.txt_Binary = new System.Windows.Forms.TextBox();
            this.txt_Base64String = new System.Windows.Forms.TextBox();
            this.ofg_SelectFile = new System.Windows.Forms.OpenFileDialog();
            this.radioButton_SHA256 = new System.Windows.Forms.RadioButton();
            this.radioButton_SHA384 = new System.Windows.Forms.RadioButton();
            this.radioButton_SHA512 = new System.Windows.Forms.RadioButton();
            this.groupBox1.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.groupBox3.SuspendLayout();
            this.SuspendLayout();
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.radioButton_SHA512);
            this.groupBox1.Controls.Add(this.radioButton_SHA384);
            this.groupBox1.Controls.Add(this.radioButton_SHA256);
            this.groupBox1.Controls.Add(this.radioButton_MD5);
            this.groupBox1.Controls.Add(this.radioButton_SHA1);
            this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
            this.groupBox1.Location = new System.Drawing.Point(0, 0);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(544, 54);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "选择算法";
            // 
            // radioButton_MD5
            // 
            this.radioButton_MD5.AutoSize = true;
            this.radioButton_MD5.Location = new System.Drawing.Point(79, 21);
            this.radioButton_MD5.Name = "radioButton_MD5";
            this.radioButton_MD5.Size = new System.Drawing.Size(41, 16);
            this.radioButton_MD5.TabIndex = 0;
            this.radioButton_MD5.Text = "MD5";
            this.radioButton_MD5.UseVisualStyleBackColor = true;
            // 
            // radioButton_SHA1
            // 
            this.radioButton_SHA1.AutoSize = true;
            this.radioButton_SHA1.Checked = true;
            this.radioButton_SHA1.Location = new System.Drawing.Point(13, 21);
            this.radioButton_SHA1.Name = "radioButton_SHA1";
            this.radioButton_SHA1.Size = new System.Drawing.Size(47, 16);
            this.radioButton_SHA1.TabIndex = 0;
            this.radioButton_SHA1.TabStop = true;
            this.radioButton_SHA1.Text = "SHA1";
            this.radioButton_SHA1.UseVisualStyleBackColor = true;
            this.radioButton_SHA1.CheckedChanged += new System.EventHandler(this.radioButton_SHA1_CheckedChanged);
            // 
            // groupBox2
            // 
            this.groupBox2.Controls.Add(this.btn_SelectFile);
            this.groupBox2.Controls.Add(this.btn_Compute);
            this.groupBox2.Controls.Add(this.txt_Content);
            this.groupBox2.Controls.Add(this.radioButton_File);
            this.groupBox2.Controls.Add(this.radioButton_Text);
            this.groupBox2.Dock = System.Windows.Forms.DockStyle.Top;
            this.groupBox2.Location = new System.Drawing.Point(0, 54);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(544, 194);
            this.groupBox2.TabIndex = 1;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "内容或文件";
            // 
            // btn_SelectFile
            // 
            this.btn_SelectFile.Location = new System.Drawing.Point(353, 14);
            this.btn_SelectFile.Name = "btn_SelectFile";
            this.btn_SelectFile.Size = new System.Drawing.Size(75, 23);
            this.btn_SelectFile.TabIndex = 2;
            this.btn_SelectFile.Text = "选择文件";
            this.btn_SelectFile.UseVisualStyleBackColor = true;
            this.btn_SelectFile.Visible = false;
            this.btn_SelectFile.Click += new System.EventHandler(this.btn_SelectFile_Click);
            // 
            // btn_Compute
            // 
            this.btn_Compute.Location = new System.Drawing.Point(463, 14);
            this.btn_Compute.Name = "btn_Compute";
            this.btn_Compute.Size = new System.Drawing.Size(75, 23);
            this.btn_Compute.TabIndex = 2;
            this.btn_Compute.Text = "计算摘要";
            this.btn_Compute.UseVisualStyleBackColor = true;
            this.btn_Compute.Click += new System.EventHandler(this.btn_Compute_Click);
            // 
            // txt_Content
            // 
            this.txt_Content.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.txt_Content.Location = new System.Drawing.Point(3, 43);
            this.txt_Content.Multiline = true;
            this.txt_Content.Name = "txt_Content";
            this.txt_Content.Size = new System.Drawing.Size(538, 148);
            this.txt_Content.TabIndex = 1;
            // 
            // radioButton_File
            // 
            this.radioButton_File.AutoSize = true;
            this.radioButton_File.Location = new System.Drawing.Point(79, 21);
            this.radioButton_File.Name = "radioButton_File";
            this.radioButton_File.Size = new System.Drawing.Size(47, 16);
            this.radioButton_File.TabIndex = 0;
            this.radioButton_File.Text = "文件";
            this.radioButton_File.UseVisualStyleBackColor = true;
            this.radioButton_File.CheckedChanged += new System.EventHandler(this.radioButton_File_CheckedChanged);
            // 
            // radioButton_Text
            // 
            this.radioButton_Text.AutoSize = true;
            this.radioButton_Text.Checked = true;
            this.radioButton_Text.Location = new System.Drawing.Point(13, 21);
            this.radioButton_Text.Name = "radioButton_Text";
            this.radioButton_Text.Size = new System.Drawing.Size(47, 16);
            this.radioButton_Text.TabIndex = 0;
            this.radioButton_Text.TabStop = true;
            this.radioButton_Text.Text = "文本";
            this.radioButton_Text.UseVisualStyleBackColor = true;
            // 
            // groupBox3
            // 
            this.groupBox3.Controls.Add(this.label2);
            this.groupBox3.Controls.Add(this.label1);
            this.groupBox3.Controls.Add(this.txt_Binary);
            this.groupBox3.Controls.Add(this.txt_Base64String);
            this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupBox3.Location = new System.Drawing.Point(0, 248);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new System.Drawing.Size(544, 190);
            this.groupBox3.TabIndex = 2;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "计算结果(双击文本框复制)";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(6, 92);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(53, 12);
            this.label2.TabIndex = 1;
            this.label2.Text = "二进制:";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(6, 21);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(83, 12);
            this.label1.TabIndex = 1;
            this.label1.Text = "Base64字符串:";
            // 
            // txt_Binary
            // 
            this.txt_Binary.Location = new System.Drawing.Point(3, 107);
            this.txt_Binary.Multiline = true;
            this.txt_Binary.Name = "txt_Binary";
            this.txt_Binary.ReadOnly = true;
            this.txt_Binary.Size = new System.Drawing.Size(538, 77);
            this.txt_Binary.TabIndex = 0;
            this.txt_Binary.DoubleClick += new System.EventHandler(this.txt_Binary_DoubleClick);
            // 
            // txt_Base64String
            // 
            this.txt_Base64String.Location = new System.Drawing.Point(0, 36);
            this.txt_Base64String.Multiline = true;
            this.txt_Base64String.Name = "txt_Base64String";
            this.txt_Base64String.ReadOnly = true;
            this.txt_Base64String.Size = new System.Drawing.Size(538, 53);
            this.txt_Base64String.TabIndex = 0;
            this.txt_Base64String.DoubleClick += new System.EventHandler(this.txt_Base64String_DoubleClick);
            // 
            // ofg_SelectFile
            // 
            this.ofg_SelectFile.FileName = "openFileDialog1";
            // 
            // radioButton_SHA256
            // 
            this.radioButton_SHA256.AutoSize = true;
            this.radioButton_SHA256.Location = new System.Drawing.Point(135, 20);
            this.radioButton_SHA256.Name = "radioButton_SHA256";
            this.radioButton_SHA256.Size = new System.Drawing.Size(59, 16);
            this.radioButton_SHA256.TabIndex = 0;
            this.radioButton_SHA256.Text = "SHA256";
            this.radioButton_SHA256.UseVisualStyleBackColor = true;
            // 
            // radioButton_SHA384
            // 
            this.radioButton_SHA384.AutoSize = true;
            this.radioButton_SHA384.Location = new System.Drawing.Point(209, 20);
            this.radioButton_SHA384.Name = "radioButton_SHA384";
            this.radioButton_SHA384.Size = new System.Drawing.Size(59, 16);
            this.radioButton_SHA384.TabIndex = 0;
            this.radioButton_SHA384.Text = "SHA384";
            this.radioButton_SHA384.UseVisualStyleBackColor = true;
            // 
            // radioButton_SHA512
            // 
            this.radioButton_SHA512.AutoSize = true;
            this.radioButton_SHA512.Location = new System.Drawing.Point(274, 20);
            this.radioButton_SHA512.Name = "radioButton_SHA512";
            this.radioButton_SHA512.Size = new System.Drawing.Size(59, 16);
            this.radioButton_SHA512.TabIndex = 0;
            this.radioButton_SHA512.Text = "SHA512";
            this.radioButton_SHA512.UseVisualStyleBackColor = true;
            // 
            // FrmComputeHash
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(544, 438);
            this.Controls.Add(this.groupBox3);
            this.Controls.Add(this.groupBox2);
            this.Controls.Add(this.groupBox1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.Name = "FrmComputeHash";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "哈希值计算器";
            this.Load += new System.EventHandler(this.FrmComputeHash_Load);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.groupBox3.ResumeLayout(false);
            this.groupBox3.PerformLayout();
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.RadioButton radioButton_SHA1;
        private System.Windows.Forms.GroupBox groupBox2;
        private System.Windows.Forms.RadioButton radioButton_MD5;
        private System.Windows.Forms.GroupBox groupBox3;
        private System.Windows.Forms.RadioButton radioButton_Text;
        private System.Windows.Forms.RadioButton radioButton_File;
        private System.Windows.Forms.TextBox txt_Content;
        private System.Windows.Forms.Button btn_Compute;
        private System.Windows.Forms.Button btn_SelectFile;
        private System.Windows.Forms.TextBox txt_Base64String;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.TextBox txt_Binary;
        private System.Windows.Forms.OpenFileDialog ofg_SelectFile;
        private System.Windows.Forms.RadioButton radioButton_SHA384;
        private System.Windows.Forms.RadioButton radioButton_SHA256;
        private System.Windows.Forms.RadioButton radioButton_SHA512;
    }
}

⌨️ 快捷键说明

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