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

📄 frmcsvconvertsetcolumn.designer.cs

📁 在设计程序时,需要经常计算一个字串的哈希值,得到加密文本,生成加密过的配置文件或都转换EXCEL文件到SQL数据库等等,根据自己习惯定制部分功能,由于时间关系,没有详细说明
💻 CS
字号:
namespace LingangTools
{
    partial class FrmCsvConvertSetColumn
    {
        /// <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.groupBox_ColumnsNameSetter = new System.Windows.Forms.GroupBox();
            this.chk_AllowNull = new System.Windows.Forms.CheckBox();
            this.btn_TransData = new System.Windows.Forms.Button();
            this.btn_VerifyData = new System.Windows.Forms.Button();
            this.chk_SetAsPrimaryKey = new System.Windows.Forms.CheckBox();
            this.cmb_ColumnDataType = new System.Windows.Forms.ComboBox();
            this.txt_ColumnName = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.lbl_OriginalColumnName = new System.Windows.Forms.Label();
            this.dataGridView_ColumnsList = new System.Windows.Forms.DataGridView();
            this.OriginalColumnName = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.NewColumnName = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.ColumnDataType = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.IsPrimaryKey = new System.Windows.Forms.DataGridViewCheckBoxColumn();
            this.AllowNull = new System.Windows.Forms.DataGridViewCheckBoxColumn();
            this.groupBox_ColumnsNameSetter.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView_ColumnsList)).BeginInit();
            this.SuspendLayout();
            // 
            // groupBox_ColumnsNameSetter
            // 
            this.groupBox_ColumnsNameSetter.Controls.Add(this.chk_AllowNull);
            this.groupBox_ColumnsNameSetter.Controls.Add(this.btn_TransData);
            this.groupBox_ColumnsNameSetter.Controls.Add(this.btn_VerifyData);
            this.groupBox_ColumnsNameSetter.Controls.Add(this.chk_SetAsPrimaryKey);
            this.groupBox_ColumnsNameSetter.Controls.Add(this.cmb_ColumnDataType);
            this.groupBox_ColumnsNameSetter.Controls.Add(this.txt_ColumnName);
            this.groupBox_ColumnsNameSetter.Controls.Add(this.label1);
            this.groupBox_ColumnsNameSetter.Controls.Add(this.lbl_OriginalColumnName);
            this.groupBox_ColumnsNameSetter.Dock = System.Windows.Forms.DockStyle.Top;
            this.groupBox_ColumnsNameSetter.Location = new System.Drawing.Point(0, 0);
            this.groupBox_ColumnsNameSetter.Name = "groupBox_ColumnsNameSetter";
            this.groupBox_ColumnsNameSetter.Size = new System.Drawing.Size(591, 80);
            this.groupBox_ColumnsNameSetter.TabIndex = 0;
            this.groupBox_ColumnsNameSetter.TabStop = false;
            this.groupBox_ColumnsNameSetter.Text = "设置列名和类型";
            // 
            // chk_AllowNull
            // 
            this.chk_AllowNull.AutoSize = true;
            this.chk_AllowNull.Location = new System.Drawing.Point(391, 45);
            this.chk_AllowNull.Name = "chk_AllowNull";
            this.chk_AllowNull.Size = new System.Drawing.Size(72, 16);
            this.chk_AllowNull.TabIndex = 7;
            this.chk_AllowNull.Text = "允许空值";
            this.chk_AllowNull.UseVisualStyleBackColor = true;
            // 
            // btn_TransData
            // 
            this.btn_TransData.Location = new System.Drawing.Point(96, 43);
            this.btn_TransData.Name = "btn_TransData";
            this.btn_TransData.Size = new System.Drawing.Size(84, 23);
            this.btn_TransData.TabIndex = 6;
            this.btn_TransData.Text = "转换数据";
            this.btn_TransData.UseVisualStyleBackColor = true;
            // 
            // btn_VerifyData
            // 
            this.btn_VerifyData.Location = new System.Drawing.Point(6, 45);
            this.btn_VerifyData.Name = "btn_VerifyData";
            this.btn_VerifyData.Size = new System.Drawing.Size(84, 23);
            this.btn_VerifyData.TabIndex = 5;
            this.btn_VerifyData.Text = "检验数据";
            this.btn_VerifyData.UseVisualStyleBackColor = true;
            // 
            // chk_SetAsPrimaryKey
            // 
            this.chk_SetAsPrimaryKey.AutoSize = true;
            this.chk_SetAsPrimaryKey.Location = new System.Drawing.Point(391, 19);
            this.chk_SetAsPrimaryKey.Name = "chk_SetAsPrimaryKey";
            this.chk_SetAsPrimaryKey.Size = new System.Drawing.Size(84, 16);
            this.chk_SetAsPrimaryKey.TabIndex = 4;
            this.chk_SetAsPrimaryKey.Text = "设置为主键";
            this.chk_SetAsPrimaryKey.UseVisualStyleBackColor = true;
            this.chk_SetAsPrimaryKey.CheckedChanged += new System.EventHandler(this.chk_SetAsPrimaryKey_CheckedChanged);
            // 
            // cmb_ColumnDataType
            // 
            this.cmb_ColumnDataType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmb_ColumnDataType.FormattingEnabled = true;
            this.cmb_ColumnDataType.Location = new System.Drawing.Point(207, 45);
            this.cmb_ColumnDataType.Name = "cmb_ColumnDataType";
            this.cmb_ColumnDataType.Size = new System.Drawing.Size(156, 20);
            this.cmb_ColumnDataType.TabIndex = 3;
            // 
            // txt_ColumnName
            // 
            this.txt_ColumnName.Location = new System.Drawing.Point(207, 17);
            this.txt_ColumnName.Name = "txt_ColumnName";
            this.txt_ColumnName.Size = new System.Drawing.Size(156, 21);
            this.txt_ColumnName.TabIndex = 2;
            // 
            // label1
            // 
            this.label1.ForeColor = System.Drawing.Color.Red;
            this.label1.Location = new System.Drawing.Point(131, 17);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(70, 23);
            this.label1.TabIndex = 1;
            this.label1.Text = "设置为:";
            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // lbl_OriginalColumnName
            // 
            this.lbl_OriginalColumnName.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lbl_OriginalColumnName.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.lbl_OriginalColumnName.Location = new System.Drawing.Point(12, 17);
            this.lbl_OriginalColumnName.Name = "lbl_OriginalColumnName";
            this.lbl_OriginalColumnName.Size = new System.Drawing.Size(113, 23);
            this.lbl_OriginalColumnName.TabIndex = 0;
            this.lbl_OriginalColumnName.Text = "列1";
            this.lbl_OriginalColumnName.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // dataGridView_ColumnsList
            // 
            this.dataGridView_ColumnsList.AllowUserToAddRows = false;
            this.dataGridView_ColumnsList.AllowUserToDeleteRows = false;
            this.dataGridView_ColumnsList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView_ColumnsList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.OriginalColumnName,
            this.NewColumnName,
            this.ColumnDataType,
            this.IsPrimaryKey,
            this.AllowNull});
            this.dataGridView_ColumnsList.Dock = System.Windows.Forms.DockStyle.Fill;
            this.dataGridView_ColumnsList.Location = new System.Drawing.Point(0, 80);
            this.dataGridView_ColumnsList.Name = "dataGridView_ColumnsList";
            this.dataGridView_ColumnsList.RowTemplate.Height = 23;
            this.dataGridView_ColumnsList.Size = new System.Drawing.Size(591, 315);
            this.dataGridView_ColumnsList.TabIndex = 1;
            // 
            // OriginalColumnName
            // 
            this.OriginalColumnName.DataPropertyName = "OriginalColumnName";
            this.OriginalColumnName.FillWeight = 150F;
            this.OriginalColumnName.HeaderText = "原列名";
            this.OriginalColumnName.Name = "OriginalColumnName";
            this.OriginalColumnName.ReadOnly = true;
            this.OriginalColumnName.Width = 150;
            // 
            // NewColumnName
            // 
            this.NewColumnName.DataPropertyName = "NewColumnName";
            this.NewColumnName.FillWeight = 150F;
            this.NewColumnName.HeaderText = "列名";
            this.NewColumnName.Name = "NewColumnName";
            this.NewColumnName.ReadOnly = true;
            this.NewColumnName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
            this.NewColumnName.Width = 150;
            // 
            // ColumnDataType
            // 
            this.ColumnDataType.DataPropertyName = "ColumnDataType";
            this.ColumnDataType.FillWeight = 105F;
            this.ColumnDataType.HeaderText = "数据类型";
            this.ColumnDataType.Name = "ColumnDataType";
            this.ColumnDataType.ReadOnly = true;
            this.ColumnDataType.Resizable = System.Windows.Forms.DataGridViewTriState.False;
            this.ColumnDataType.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
            this.ColumnDataType.Width = 105;
            // 
            // IsPrimaryKey
            // 
            this.IsPrimaryKey.DataPropertyName = "IsPrimaryKey";
            this.IsPrimaryKey.FillWeight = 50F;
            this.IsPrimaryKey.HeaderText = "主键";
            this.IsPrimaryKey.Name = "IsPrimaryKey";
            this.IsPrimaryKey.ReadOnly = true;
            this.IsPrimaryKey.Width = 50;
            // 
            // AllowNull
            // 
            this.AllowNull.DataPropertyName = "AllowNull";
            this.AllowNull.FillWeight = 80F;
            this.AllowNull.HeaderText = "允许空值";
            this.AllowNull.Name = "AllowNull";
            this.AllowNull.ReadOnly = true;
            this.AllowNull.Width = 80;
            // 
            // FrmCsvConvertSetColumn
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(591, 395);
            this.Controls.Add(this.dataGridView_ColumnsList);
            this.Controls.Add(this.groupBox_ColumnsNameSetter);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.MaximizeBox = false;
            this.Name = "FrmCsvConvertSetColumn";
            this.Text = "设置列名和类型";
            this.Load += new System.EventHandler(this.FrmCsvConvertSetColumn_Load);
            this.groupBox_ColumnsNameSetter.ResumeLayout(false);
            this.groupBox_ColumnsNameSetter.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView_ColumnsList)).EndInit();
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.GroupBox groupBox_ColumnsNameSetter;
        private System.Windows.Forms.DataGridView dataGridView_ColumnsList;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label lbl_OriginalColumnName;
        private System.Windows.Forms.ComboBox cmb_ColumnDataType;
        private System.Windows.Forms.TextBox txt_ColumnName;
        private System.Windows.Forms.CheckBox chk_SetAsPrimaryKey;
        private System.Windows.Forms.CheckBox chk_AllowNull;
        private System.Windows.Forms.Button btn_TransData;
        private System.Windows.Forms.Button btn_VerifyData;
        private System.Windows.Forms.DataGridViewTextBoxColumn OriginalColumnName;
        private System.Windows.Forms.DataGridViewTextBoxColumn NewColumnName;
        private System.Windows.Forms.DataGridViewTextBoxColumn ColumnDataType;
        private System.Windows.Forms.DataGridViewCheckBoxColumn IsPrimaryKey;
        private System.Windows.Forms.DataGridViewCheckBoxColumn AllowNull;
    }
}

⌨️ 快捷键说明

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