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

📄 frmappconfig.designer.cs

📁 在设计程序时,需要经常计算一个字串的哈希值,得到加密文本,生成加密过的配置文件或都转换EXCEL文件到SQL数据库等等,根据自己习惯定制部分功能,由于时间关系,没有详细说明
💻 CS
字号:
namespace LingangTools
{
    partial class FrmAppConfig
    {
        /// <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.components = new System.ComponentModel.Container();
            this.groupBox_KeyValue = new System.Windows.Forms.GroupBox();
            this.btn_AddKeyValue = new System.Windows.Forms.Button();
            this.txt_Value = new System.Windows.Forms.TextBox();
            this.txt_Key = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.groupBox_KeyValueList = new System.Windows.Forms.GroupBox();
            this.dataGridView_KeyValueList = new System.Windows.Forms.DataGridView();
            this.Column_Key = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column_Value = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.cms_KeyValueList = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.tsmi_Delete = new System.Windows.Forms.ToolStripMenuItem();
            this.label3 = new System.Windows.Forms.Label();
            this.txt_Password = new System.Windows.Forms.TextBox();
            this.btn_GenPlainConfig = new System.Windows.Forms.Button();
            this.btn_GenCryptConfig = new System.Windows.Forms.Button();
            this.groupBox_KeyValue.SuspendLayout();
            this.groupBox_KeyValueList.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView_KeyValueList)).BeginInit();
            this.cms_KeyValueList.SuspendLayout();
            this.SuspendLayout();
            // 
            // groupBox_KeyValue
            // 
            this.groupBox_KeyValue.Controls.Add(this.btn_AddKeyValue);
            this.groupBox_KeyValue.Controls.Add(this.txt_Value);
            this.groupBox_KeyValue.Controls.Add(this.txt_Key);
            this.groupBox_KeyValue.Controls.Add(this.label2);
            this.groupBox_KeyValue.Controls.Add(this.label1);
            this.groupBox_KeyValue.Dock = System.Windows.Forms.DockStyle.Top;
            this.groupBox_KeyValue.Location = new System.Drawing.Point(0, 0);
            this.groupBox_KeyValue.Name = "groupBox_KeyValue";
            this.groupBox_KeyValue.Size = new System.Drawing.Size(623, 100);
            this.groupBox_KeyValue.TabIndex = 0;
            this.groupBox_KeyValue.TabStop = false;
            this.groupBox_KeyValue.Text = "系统默认键值对";
            // 
            // btn_AddKeyValue
            // 
            this.btn_AddKeyValue.Location = new System.Drawing.Point(536, 12);
            this.btn_AddKeyValue.Name = "btn_AddKeyValue";
            this.btn_AddKeyValue.Size = new System.Drawing.Size(75, 23);
            this.btn_AddKeyValue.TabIndex = 3;
            this.btn_AddKeyValue.Text = "增加";
            this.btn_AddKeyValue.UseVisualStyleBackColor = true;
            this.btn_AddKeyValue.Click += new System.EventHandler(this.btn_AddKeyValue_Click);
            // 
            // txt_Value
            // 
            this.txt_Value.Location = new System.Drawing.Point(47, 41);
            this.txt_Value.Multiline = true;
            this.txt_Value.Name = "txt_Value";
            this.txt_Value.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
            this.txt_Value.Size = new System.Drawing.Size(564, 48);
            this.txt_Value.TabIndex = 2;
            // 
            // txt_Key
            // 
            this.txt_Key.Location = new System.Drawing.Point(47, 14);
            this.txt_Key.Name = "txt_Key";
            this.txt_Key.Size = new System.Drawing.Size(475, 21);
            this.txt_Key.TabIndex = 1;
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(12, 41);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(29, 12);
            this.label2.TabIndex = 0;
            this.label2.Text = "值:";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(12, 17);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(29, 12);
            this.label1.TabIndex = 0;
            this.label1.Text = "键:";
            // 
            // groupBox_KeyValueList
            // 
            this.groupBox_KeyValueList.Controls.Add(this.dataGridView_KeyValueList);
            this.groupBox_KeyValueList.Dock = System.Windows.Forms.DockStyle.Top;
            this.groupBox_KeyValueList.Location = new System.Drawing.Point(0, 100);
            this.groupBox_KeyValueList.Name = "groupBox_KeyValueList";
            this.groupBox_KeyValueList.Size = new System.Drawing.Size(623, 274);
            this.groupBox_KeyValueList.TabIndex = 2;
            this.groupBox_KeyValueList.TabStop = false;
            this.groupBox_KeyValueList.Text = "键值对列表";
            // 
            // dataGridView_KeyValueList
            // 
            this.dataGridView_KeyValueList.AllowUserToAddRows = false;
            this.dataGridView_KeyValueList.AllowUserToDeleteRows = false;
            this.dataGridView_KeyValueList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView_KeyValueList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.Column_Key,
            this.Column_Value});
            this.dataGridView_KeyValueList.ContextMenuStrip = this.cms_KeyValueList;
            this.dataGridView_KeyValueList.Dock = System.Windows.Forms.DockStyle.Fill;
            this.dataGridView_KeyValueList.Location = new System.Drawing.Point(3, 17);
            this.dataGridView_KeyValueList.MultiSelect = false;
            this.dataGridView_KeyValueList.Name = "dataGridView_KeyValueList";
            this.dataGridView_KeyValueList.ReadOnly = true;
            this.dataGridView_KeyValueList.RowTemplate.Height = 23;
            this.dataGridView_KeyValueList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
            this.dataGridView_KeyValueList.Size = new System.Drawing.Size(617, 254);
            this.dataGridView_KeyValueList.TabIndex = 0;
            // 
            // Column_Key
            // 
            this.Column_Key.DataPropertyName = "key";
            this.Column_Key.HeaderText = "键";
            this.Column_Key.MinimumWidth = 50;
            this.Column_Key.Name = "Column_Key";
            this.Column_Key.ReadOnly = true;
            this.Column_Key.Width = 150;
            // 
            // Column_Value
            // 
            this.Column_Value.DataPropertyName = "value";
            this.Column_Value.HeaderText = "值";
            this.Column_Value.MinimumWidth = 100;
            this.Column_Value.Name = "Column_Value";
            this.Column_Value.ReadOnly = true;
            this.Column_Value.Width = 400;
            // 
            // cms_KeyValueList
            // 
            this.cms_KeyValueList.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.tsmi_Delete});
            this.cms_KeyValueList.Name = "cms_KeyValueList";
            this.cms_KeyValueList.Size = new System.Drawing.Size(101, 26);
            // 
            // tsmi_Delete
            // 
            this.tsmi_Delete.Name = "tsmi_Delete";
            this.tsmi_Delete.Size = new System.Drawing.Size(100, 22);
            this.tsmi_Delete.Text = "删除";
            this.tsmi_Delete.Click += new System.EventHandler(this.tsmi_Delete_Click);
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(12, 384);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(65, 12);
            this.label3.TabIndex = 3;
            this.label3.Text = "加密密码:";
            // 
            // txt_Password
            // 
            this.txt_Password.Location = new System.Drawing.Point(71, 380);
            this.txt_Password.Name = "txt_Password";
            this.txt_Password.PasswordChar = '*';
            this.txt_Password.Size = new System.Drawing.Size(196, 21);
            this.txt_Password.TabIndex = 4;
            this.txt_Password.Text = "1111";
            // 
            // btn_GenPlainConfig
            // 
            this.btn_GenPlainConfig.Location = new System.Drawing.Point(394, 377);
            this.btn_GenPlainConfig.Name = "btn_GenPlainConfig";
            this.btn_GenPlainConfig.Size = new System.Drawing.Size(107, 23);
            this.btn_GenPlainConfig.TabIndex = 5;
            this.btn_GenPlainConfig.Text = "生成明文配置";
            this.btn_GenPlainConfig.UseVisualStyleBackColor = true;
            this.btn_GenPlainConfig.Click += new System.EventHandler(this.btn_GenPlainConfig_Click);
            // 
            // btn_GenCryptConfig
            // 
            this.btn_GenCryptConfig.Location = new System.Drawing.Point(289, 378);
            this.btn_GenCryptConfig.Name = "btn_GenCryptConfig";
            this.btn_GenCryptConfig.Size = new System.Drawing.Size(99, 23);
            this.btn_GenCryptConfig.TabIndex = 6;
            this.btn_GenCryptConfig.Text = "生成密文配置";
            this.btn_GenCryptConfig.UseVisualStyleBackColor = true;
            this.btn_GenCryptConfig.Click += new System.EventHandler(this.btn_GenCryptConfig_Click);
            // 
            // FrmAppConfig
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(623, 411);
            this.Controls.Add(this.btn_GenCryptConfig);
            this.Controls.Add(this.txt_Password);
            this.Controls.Add(this.btn_GenPlainConfig);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.groupBox_KeyValueList);
            this.Controls.Add(this.groupBox_KeyValue);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.MaximizeBox = false;
            this.Name = "FrmAppConfig";
            this.Text = "生成应用程序配置";
            this.Load += new System.EventHandler(this.FrmAppConfig_Load);
            this.groupBox_KeyValue.ResumeLayout(false);
            this.groupBox_KeyValue.PerformLayout();
            this.groupBox_KeyValueList.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView_KeyValueList)).EndInit();
            this.cms_KeyValueList.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.GroupBox groupBox_KeyValue;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.TextBox txt_Value;
        private System.Windows.Forms.TextBox txt_Key;
        private System.Windows.Forms.Button btn_AddKeyValue;
        private System.Windows.Forms.GroupBox groupBox_KeyValueList;
        private System.Windows.Forms.DataGridView dataGridView_KeyValueList;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.TextBox txt_Password;
        private System.Windows.Forms.Button btn_GenPlainConfig;
        private System.Windows.Forms.Button btn_GenCryptConfig;
        private System.Windows.Forms.DataGridViewTextBoxColumn Column_Key;
        private System.Windows.Forms.DataGridViewTextBoxColumn Column_Value;
        private System.Windows.Forms.ContextMenuStrip cms_KeyValueList;
        private System.Windows.Forms.ToolStripMenuItem tsmi_Delete;
    }
}

⌨️ 快捷键说明

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