namespace 成套报价软件 { public partial class GCS母排计算窗口 : System.Windows.Forms.Form { /// 必需的设计器变量。 private System.ComponentModel.IContainer components = null; /// 清理正在使用的资源。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows 窗体设计器生成的代码 private void InitializeComponent() { System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); this.grpBusbar = new System.Windows.Forms.GroupBox(); this.gridBusbar = new Smart.CustomComponents.EnhancedDataGridView(); this.bspec = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.brate = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panel1 = new System.Windows.Forms.Panel(); this.lblRecommend = new System.Windows.Forms.Label(); this.button3 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.grpQuote = new System.Windows.Forms.GroupBox(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.gridQuote = new Smart.CustomComponents.EnhancedDataGridView(); this.colItem = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colPrice = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colQty = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colSub = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.lblTotalCaption = new System.Windows.Forms.Label(); this.lblTotalPrice = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.btnClear = new System.Windows.Forms.Button(); this.grpCurrent = new System.Windows.Forms.GroupBox(); this.gridCurrents = new Smart.CustomComponents.EnhancedDataGridView(); this.col_0 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.col_1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.col_2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.col_3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.col_4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.col_5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.col_6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.col_7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.col_8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.col_9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.col_10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.lblHint = new System.Windows.Forms.Label(); this.lblKsRules = new System.Windows.Forms.Label(); this.grpBusbar.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridBusbar)).BeginInit(); this.panel1.SuspendLayout(); this.grpQuote.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridQuote)).BeginInit(); this.grpCurrent.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridCurrents)).BeginInit(); this.SuspendLayout(); // // grpBusbar // this.grpBusbar.BackColor = System.Drawing.SystemColors.Control; this.grpBusbar.Controls.Add(this.gridBusbar); this.grpBusbar.Controls.Add(this.panel1); this.grpBusbar.Dock = System.Windows.Forms.DockStyle.Fill; this.grpBusbar.Font = new System.Drawing.Font("宋体", 9F); this.grpBusbar.ForeColor = System.Drawing.SystemColors.ControlText; this.grpBusbar.Location = new System.Drawing.Point(1, 478); this.grpBusbar.Name = "grpBusbar"; this.grpBusbar.Padding = new System.Windows.Forms.Padding(0); this.grpBusbar.Size = new System.Drawing.Size(453, 139); this.grpBusbar.TabIndex = 6; this.grpBusbar.TabStop = false; this.grpBusbar.Text = "垂直母排推荐"; // // gridBusbar // this.gridBusbar.AllowUserToAddRows = false; this.gridBusbar.AllowUserToDeleteRows = false; this.gridBusbar.BackgroundColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F); dataGridViewCellStyle1.ForeColor = System.Drawing.Color.Black; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.Black; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.gridBusbar.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.gridBusbar.ColumnHeadersHeight = 28; this.gridBusbar.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.bspec, this.brate}); dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle2.BackColor = System.Drawing.Color.White; dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F); dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black; dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.White; dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.Black; dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.gridBusbar.DefaultCellStyle = dataGridViewCellStyle2; this.gridBusbar.Dock = System.Windows.Forms.DockStyle.Fill; this.gridBusbar.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; this.gridBusbar.EnableHeadersVisualStyles = false; this.gridBusbar.Location = new System.Drawing.Point(0, 50); this.gridBusbar.MultiSelect = false; this.gridBusbar.Name = "gridBusbar"; this.gridBusbar.ReadOnly = true; this.gridBusbar.RightToLeft = System.Windows.Forms.RightToLeft.No; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F); dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.gridBusbar.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; this.gridBusbar.RowHeadersVisible = false; this.gridBusbar.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.gridBusbar.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.gridBusbar.Size = new System.Drawing.Size(453, 89); this.gridBusbar.TabIndex = 8; // // bspec // this.bspec.HeaderText = "铜排规格"; this.bspec.Name = "bspec"; this.bspec.ReadOnly = true; this.bspec.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; // // brate // this.brate.HeaderText = "载流量 (A)"; this.brate.Name = "brate"; this.brate.ReadOnly = true; this.brate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Control; this.panel1.Controls.Add(this.lblRecommend); this.panel1.Controls.Add(this.button3); this.panel1.Controls.Add(this.button2); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Font = new System.Drawing.Font("宋体", 9F); this.panel1.ForeColor = System.Drawing.SystemColors.ControlText; this.panel1.Location = new System.Drawing.Point(0, 14); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(453, 36); this.panel1.TabIndex = 11; // // lblRecommend // this.lblRecommend.BackColor = System.Drawing.SystemColors.Control; this.lblRecommend.Font = new System.Drawing.Font("宋体", 11F); this.lblRecommend.ForeColor = System.Drawing.SystemColors.ControlText; this.lblRecommend.Location = new System.Drawing.Point(0, 4); this.lblRecommend.Name = "lblRecommend"; this.lblRecommend.Size = new System.Drawing.Size(253, 29); this.lblRecommend.TabIndex = 7; this.lblRecommend.Text = "推荐铜排:\r\n (请先在上方输入各回路电流)"; // // button3 // this.button3.BackColor = System.Drawing.SystemColors.Control; this.button3.Font = new System.Drawing.Font("宋体", 9F); this.button3.ForeColor = System.Drawing.SystemColors.ControlText; this.button3.Location = new System.Drawing.Point(274, 2); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(66, 31); this.button3.TabIndex = 10; this.button3.Text = "插入铜排"; this.button3.UseVisualStyleBackColor = true; // // button2 // this.button2.BackColor = System.Drawing.SystemColors.Control; this.button2.Font = new System.Drawing.Font("宋体", 9F); this.button2.ForeColor = System.Drawing.SystemColors.ControlText; this.button2.Location = new System.Drawing.Point(341, 2); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(109, 31); this.button2.TabIndex = 9; this.button2.Text = "查看抽屉推荐铜排"; this.button2.UseVisualStyleBackColor = true; // // grpQuote // this.grpQuote.BackColor = System.Drawing.SystemColors.Control; this.grpQuote.Controls.Add(this.checkBox2); this.grpQuote.Controls.Add(this.comboBox1); this.grpQuote.Controls.Add(this.gridQuote); this.grpQuote.Controls.Add(this.checkBox1); this.grpQuote.Controls.Add(this.lblTotalCaption); this.grpQuote.Controls.Add(this.lblTotalPrice); this.grpQuote.Controls.Add(this.button1); this.grpQuote.Controls.Add(this.btnClear); this.grpQuote.Dock = System.Windows.Forms.DockStyle.Bottom; this.grpQuote.Font = new System.Drawing.Font("宋体", 9F); this.grpQuote.ForeColor = System.Drawing.SystemColors.ControlText; this.grpQuote.Location = new System.Drawing.Point(1, 617); this.grpQuote.Name = "grpQuote"; this.grpQuote.Padding = new System.Windows.Forms.Padding(0); this.grpQuote.Size = new System.Drawing.Size(453, 343); this.grpQuote.TabIndex = 9; this.grpQuote.TabStop = false; this.grpQuote.Text = "壳体 / 抽屉合价"; // // checkBox2 // this.checkBox2.BackColor = System.Drawing.SystemColors.Control; this.checkBox2.Font = new System.Drawing.Font("宋体", 9F); this.checkBox2.ForeColor = System.Drawing.SystemColors.ControlText; this.checkBox2.Location = new System.Drawing.Point(249, 261); this.checkBox2.Name = "checkBox2"; this.checkBox2.Size = new System.Drawing.Size(91, 29); this.checkBox2.TabIndex = 52; this.checkBox2.Text = " 63A以下用\r\n1/2抽屉计算"; this.checkBox2.UseVisualStyleBackColor = true; // // comboBox1 // this.comboBox1.BackColor = System.Drawing.SystemColors.Window; this.comboBox1.DropDownWidth = 121; this.comboBox1.Font = new System.Drawing.Font("宋体", 9F); this.comboBox1.ForeColor = System.Drawing.SystemColors.WindowText; this.comboBox1.FormattingEnabled = true; this.comboBox1.ItemHeight = 12; this.comboBox1.Location = new System.Drawing.Point(348, 267); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(91, 20); this.comboBox1.TabIndex = 51; this.comboBox1.Text = "1#"; // // gridQuote // this.gridQuote.AllowUserToAddRows = false; this.gridQuote.AllowUserToDeleteRows = false; this.gridQuote.AllowUserToResizeRows = false; this.gridQuote.BackgroundColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 9F); dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black; dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.Black; dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.gridQuote.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4; this.gridQuote.ColumnHeadersHeight = 30; this.gridQuote.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colItem, this.colPrice, this.colQty, this.colSub}); dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle5.BackColor = System.Drawing.Color.White; dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 9F); dataGridViewCellStyle5.ForeColor = System.Drawing.Color.Black; dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.White; dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.Black; dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.gridQuote.DefaultCellStyle = dataGridViewCellStyle5; this.gridQuote.Dock = System.Windows.Forms.DockStyle.Top; this.gridQuote.EnableHeadersVisualStyles = false; this.gridQuote.Location = new System.Drawing.Point(0, 14); this.gridQuote.MultiSelect = false; this.gridQuote.Name = "gridQuote"; this.gridQuote.RightToLeft = System.Windows.Forms.RightToLeft.No; dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 9F); dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.gridQuote.RowHeadersDefaultCellStyle = dataGridViewCellStyle6; this.gridQuote.RowHeadersVisible = false; this.gridQuote.ScrollBars = System.Windows.Forms.ScrollBars.None; this.gridQuote.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; this.gridQuote.Size = new System.Drawing.Size(453, 241); this.gridQuote.TabIndex = 50; // // colItem // this.colItem.HeaderText = "项目"; this.colItem.Name = "colItem"; this.colItem.ReadOnly = true; this.colItem.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.colItem.Width = 120; // // colPrice // this.colPrice.HeaderText = "单价(元)"; this.colPrice.Name = "colPrice"; this.colPrice.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; // // colQty // this.colQty.HeaderText = "数量"; this.colQty.Name = "colQty"; this.colQty.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.colQty.Width = 80; // // colSub // this.colSub.HeaderText = "小计(元)"; this.colSub.Name = "colSub"; this.colSub.ReadOnly = true; this.colSub.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.colSub.Width = 120; // // checkBox1 // this.checkBox1.BackColor = System.Drawing.SystemColors.Control; this.checkBox1.Checked = true; this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox1.Font = new System.Drawing.Font("宋体", 9F); this.checkBox1.ForeColor = System.Drawing.SystemColors.ControlText; this.checkBox1.Location = new System.Drawing.Point(109, 266); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(123, 24); this.checkBox1.TabIndex = 49; this.checkBox1.Text = "自动计算所需抽屉"; this.checkBox1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.checkBox1.UseVisualStyleBackColor = true; // // lblTotalCaption // this.lblTotalCaption.BackColor = System.Drawing.SystemColors.Control; this.lblTotalCaption.Font = new System.Drawing.Font("宋体", 11F); this.lblTotalCaption.ForeColor = System.Drawing.SystemColors.ControlText; this.lblTotalCaption.Location = new System.Drawing.Point(3, 261); this.lblTotalCaption.Name = "lblTotalCaption"; this.lblTotalCaption.Size = new System.Drawing.Size(100, 30); this.lblTotalCaption.TabIndex = 42; this.lblTotalCaption.Text = "合计总价(元)"; this.lblTotalCaption.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblTotalPrice // this.lblTotalPrice.BackColor = System.Drawing.SystemColors.Window; this.lblTotalPrice.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lblTotalPrice.Font = new System.Drawing.Font("宋体", 18F); this.lblTotalPrice.ForeColor = System.Drawing.SystemColors.WindowText; this.lblTotalPrice.Location = new System.Drawing.Point(3, 293); this.lblTotalPrice.Name = "lblTotalPrice"; this.lblTotalPrice.Size = new System.Drawing.Size(220, 42); this.lblTotalPrice.TabIndex = 43; this.lblTotalPrice.Text = "0"; this.lblTotalPrice.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // button1 // this.button1.BackColor = System.Drawing.SystemColors.Control; this.button1.Font = new System.Drawing.Font("宋体", 9F); this.button1.ForeColor = System.Drawing.SystemColors.ControlText; this.button1.Location = new System.Drawing.Point(249, 293); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(80, 42); this.button1.TabIndex = 50; this.button1.Text = "保存"; this.button1.UseVisualStyleBackColor = true; // // btnClear // this.btnClear.BackColor = System.Drawing.SystemColors.Control; this.btnClear.Font = new System.Drawing.Font("宋体", 9F); this.btnClear.ForeColor = System.Drawing.SystemColors.ControlText; this.btnClear.Location = new System.Drawing.Point(348, 293); this.btnClear.Name = "btnClear"; this.btnClear.Size = new System.Drawing.Size(91, 42); this.btnClear.TabIndex = 48; this.btnClear.Text = "清空数据"; this.btnClear.UseVisualStyleBackColor = true; // // grpCurrent // this.grpCurrent.BackColor = System.Drawing.SystemColors.Control; this.grpCurrent.Controls.Add(this.gridCurrents); this.grpCurrent.Controls.Add(this.lblHint); this.grpCurrent.Controls.Add(this.lblKsRules); this.grpCurrent.Dock = System.Windows.Forms.DockStyle.Top; this.grpCurrent.Font = new System.Drawing.Font("宋体", 9F); this.grpCurrent.ForeColor = System.Drawing.SystemColors.ControlText; this.grpCurrent.Location = new System.Drawing.Point(1, 1); this.grpCurrent.Name = "grpCurrent"; this.grpCurrent.Padding = new System.Windows.Forms.Padding(0); this.grpCurrent.Size = new System.Drawing.Size(453, 477); this.grpCurrent.TabIndex = 1; this.grpCurrent.TabStop = false; this.grpCurrent.Text = "母排电流计算 (抽屉回路电流 A)"; // // gridCurrents // this.gridCurrents.AllowUserToAddRows = false; this.gridCurrents.AllowUserToDeleteRows = false; this.gridCurrents.BackgroundColor = System.Drawing.SystemColors.Window; this.gridCurrents.ClipboardCopyMode = System.Windows.Forms.DataGridViewClipboardCopyMode.EnableAlwaysIncludeHeaderText; dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); dataGridViewCellStyle7.Font = new System.Drawing.Font("宋体", 9F); dataGridViewCellStyle7.ForeColor = System.Drawing.Color.Black; dataGridViewCellStyle7.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); dataGridViewCellStyle7.SelectionForeColor = System.Drawing.Color.Black; dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.gridCurrents.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7; this.gridCurrents.ColumnHeadersHeight = 30; this.gridCurrents.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.col_0, this.col_1, this.col_2, this.col_3, this.col_4, this.col_5, this.col_6, this.col_7, this.col_8, this.col_9, this.col_10}); dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle8.BackColor = System.Drawing.Color.White; dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 9F); dataGridViewCellStyle8.ForeColor = System.Drawing.Color.Black; dataGridViewCellStyle8.SelectionBackColor = System.Drawing.Color.White; dataGridViewCellStyle8.SelectionForeColor = System.Drawing.Color.Black; dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.gridCurrents.DefaultCellStyle = dataGridViewCellStyle8; this.gridCurrents.Dock = System.Windows.Forms.DockStyle.Fill; this.gridCurrents.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; this.gridCurrents.EnableHeadersVisualStyles = false; this.gridCurrents.Location = new System.Drawing.Point(0, 32); this.gridCurrents.Name = "gridCurrents"; this.gridCurrents.RightToLeft = System.Windows.Forms.RightToLeft.No; dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle9.Font = new System.Drawing.Font("宋体", 9F); dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.gridCurrents.RowHeadersDefaultCellStyle = dataGridViewCellStyle9; this.gridCurrents.RowHeadersWidth = 95; this.gridCurrents.Size = new System.Drawing.Size(453, 352); this.gridCurrents.TabIndex = 3; // // col_0 // this.col_0.HeaderText = "1#"; this.col_0.Name = "col_0"; this.col_0.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.col_0.Width = 80; // // col_1 // this.col_1.HeaderText = "2#"; this.col_1.Name = "col_1"; this.col_1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.col_1.Width = 80; // // col_2 // this.col_2.HeaderText = "3#"; this.col_2.Name = "col_2"; this.col_2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.col_2.Width = 80; // // col_3 // this.col_3.HeaderText = "4#"; this.col_3.Name = "col_3"; this.col_3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.col_3.Width = 80; // // col_4 // this.col_4.HeaderText = "5#"; this.col_4.Name = "col_4"; this.col_4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.col_4.Width = 80; // // col_5 // this.col_5.HeaderText = "6#"; this.col_5.Name = "col_5"; this.col_5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.col_5.Width = 80; // // col_6 // this.col_6.HeaderText = "7#"; this.col_6.Name = "col_6"; this.col_6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.col_6.Width = 80; // // col_7 // this.col_7.HeaderText = "8#"; this.col_7.Name = "col_7"; this.col_7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.col_7.Width = 80; // // col_8 // this.col_8.HeaderText = "9#"; this.col_8.Name = "col_8"; this.col_8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.col_8.Width = 80; // // col_9 // this.col_9.HeaderText = "10#"; this.col_9.Name = "col_9"; this.col_9.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.col_9.Width = 80; // // col_10 // this.col_10.HeaderText = "n#"; this.col_10.Name = "col_10"; this.col_10.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.col_10.Width = 80; // // lblHint // this.lblHint.BackColor = System.Drawing.SystemColors.Control; this.lblHint.Dock = System.Windows.Forms.DockStyle.Top; this.lblHint.Font = new System.Drawing.Font("宋体", 9F); this.lblHint.ForeColor = System.Drawing.SystemColors.ControlText; this.lblHint.Location = new System.Drawing.Point(0, 14); this.lblHint.Name = "lblHint"; this.lblHint.Size = new System.Drawing.Size(453, 18); this.lblHint.TabIndex = 2; this.lblHint.Text = "提示: 绿色单元格 = 输入各回路电流(A)"; // // lblKsRules // this.lblKsRules.BackColor = System.Drawing.Color.White; this.lblKsRules.Dock = System.Windows.Forms.DockStyle.Bottom; this.lblKsRules.Font = new System.Drawing.Font("宋体", 9F); this.lblKsRules.ForeColor = System.Drawing.SystemColors.ControlText; this.lblKsRules.Location = new System.Drawing.Point(0, 384); this.lblKsRules.Name = "lblKsRules"; this.lblKsRules.Size = new System.Drawing.Size(453, 93); this.lblKsRules.TabIndex = 5; this.lblKsRules.Text = "回路数量 与 同时系数 ks 对照:\r\n\r\n 组件全部使用 ............ ks = 0.9\r\n 2 ~ 3 回路 ................" + " ks = 0.9\r\n 4 ~ 5 回路 ................ ks = 0.8\r\n 6 ~ 9 回路 ................ ks " + "= 0.7\r\n 10 回路以上 ............. ks = 0.6"; // // GCS母排计算窗口 // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoValidate = System.Windows.Forms.AutoValidate.EnablePreventFocusChange; this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(455, 961); this.Controls.Add(this.grpBusbar); this.Controls.Add(this.grpCurrent); this.Controls.Add(this.grpQuote); this.Font = new System.Drawing.Font("宋体", 9F); this.ForeColor = System.Drawing.SystemColors.ControlText; this.MaximizeBox = false; this.MinimumSize = new System.Drawing.Size(471, 1000); this.Name = "GCS母排计算窗口"; this.Padding = new System.Windows.Forms.Padding(1); this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "垂直母排载流量核算 (GCS 计算壳体)"; this.grpBusbar.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridBusbar)).EndInit(); this.panel1.ResumeLayout(false); this.grpQuote.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridQuote)).EndInit(); this.grpCurrent.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridCurrents)).EndInit(); this.ResumeLayout(false); } #endregion private System.Windows.Forms.GroupBox grpBusbar; private System.Windows.Forms.Button button2; private Smart.CustomComponents.EnhancedDataGridView gridBusbar; private System.Windows.Forms.DataGridViewTextBoxColumn colBusbar1; private System.Windows.Forms.DataGridViewTextBoxColumn colBusbar2; private System.Windows.Forms.Label lblRecommend; private System.Windows.Forms.GroupBox grpQuote; private System.Windows.Forms.CheckBox checkBox2; private System.Windows.Forms.ComboBox comboBox1; private Smart.CustomComponents.EnhancedDataGridView gridQuote; private System.Windows.Forms.DataGridViewTextBoxColumn colQuote1; private System.Windows.Forms.DataGridViewTextBoxColumn colQuote2; private System.Windows.Forms.DataGridViewTextBoxColumn colQuote3; private System.Windows.Forms.DataGridViewTextBoxColumn colQuote4; private System.Windows.Forms.CheckBox checkBox1; private System.Windows.Forms.Label lblTotalCaption; private System.Windows.Forms.Label lblTotalPrice; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button btnClear; private System.Windows.Forms.GroupBox grpCurrent; private Smart.CustomComponents.EnhancedDataGridView gridCurrents; private System.Windows.Forms.DataGridViewTextBoxColumn colCurrents1; private System.Windows.Forms.DataGridViewTextBoxColumn colCurrents2; private System.Windows.Forms.DataGridViewTextBoxColumn colCurrents3; private System.Windows.Forms.DataGridViewTextBoxColumn colCurrents4; private System.Windows.Forms.DataGridViewTextBoxColumn colCurrents5; private System.Windows.Forms.DataGridViewTextBoxColumn colCurrents6; private System.Windows.Forms.DataGridViewTextBoxColumn colCurrents7; private System.Windows.Forms.DataGridViewTextBoxColumn colCurrents8; private System.Windows.Forms.DataGridViewTextBoxColumn colCurrents9; private System.Windows.Forms.DataGridViewTextBoxColumn colCurrents10; private System.Windows.Forms.DataGridViewTextBoxColumn colCurrents11; private System.Windows.Forms.Label lblKsRules; private System.Windows.Forms.Label lblHint; private System.Windows.Forms.Button button3; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.DataGridViewTextBoxColumn bspec; private System.Windows.Forms.DataGridViewTextBoxColumn brate; private System.Windows.Forms.DataGridViewTextBoxColumn colItem; private System.Windows.Forms.DataGridViewTextBoxColumn colPrice; private System.Windows.Forms.DataGridViewTextBoxColumn colQty; private System.Windows.Forms.DataGridViewTextBoxColumn colSub; private System.Windows.Forms.DataGridViewTextBoxColumn col_0; private System.Windows.Forms.DataGridViewTextBoxColumn col_1; private System.Windows.Forms.DataGridViewTextBoxColumn col_2; private System.Windows.Forms.DataGridViewTextBoxColumn col_3; private System.Windows.Forms.DataGridViewTextBoxColumn col_4; private System.Windows.Forms.DataGridViewTextBoxColumn col_5; private System.Windows.Forms.DataGridViewTextBoxColumn col_6; private System.Windows.Forms.DataGridViewTextBoxColumn col_7; private System.Windows.Forms.DataGridViewTextBoxColumn col_8; private System.Windows.Forms.DataGridViewTextBoxColumn col_9; private System.Windows.Forms.DataGridViewTextBoxColumn col_10; } }