From 06a8d9f7d4d668cf798dcea2651e029172bfaad6 Mon Sep 17 00:00:00 2001 From: Safgerd Date: Sun, 9 Apr 2023 20:44:16 +0400 Subject: [PATCH] =?UTF-8?q?LabWork01=5FBase:=20=D0=A4=D0=B8=D0=BA=D1=81,?= =?UTF-8?q?=20=D0=BD=D0=B5=20=D0=B7=D0=BD=D0=B0=D1=8E,=20=D0=BF=D0=BE?= =?UTF-8?q?=D1=87=D0=B5=D0=BC=D1=83=20=D1=80=D0=B0=D0=BD=D1=8C=D1=88=D0=B5?= =?UTF-8?q?=20=D0=BD=D0=B5=20=D0=B7=D0=B0=D0=BC=D0=B5=D1=82=D0=B8=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AutomobilePlant/AutomobilePlant/FormCar.Designer.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/AutomobilePlant/AutomobilePlant/FormCar.Designer.cs b/AutomobilePlant/AutomobilePlant/FormCar.Designer.cs index c29d71f..07d275a 100644 --- a/AutomobilePlant/AutomobilePlant/FormCar.Designer.cs +++ b/AutomobilePlant/AutomobilePlant/FormCar.Designer.cs @@ -38,6 +38,7 @@ this.buttonEdit = new System.Windows.Forms.Button(); this.buttonAdd = new System.Windows.Forms.Button(); this.dataGridView = new System.Windows.Forms.DataGridView(); + this.ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ColumnComponentName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ColumnCount = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.buttonSave = new System.Windows.Forms.Button(); @@ -136,6 +137,7 @@ // this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.ID, this.ColumnComponentName, this.ColumnCount}); this.dataGridView.Location = new System.Drawing.Point(6, 26); @@ -145,6 +147,14 @@ this.dataGridView.Size = new System.Drawing.Size(490, 243); this.dataGridView.TabIndex = 0; // + // ID + // + this.ID.HeaderText = "ID"; + this.ID.MinimumWidth = 6; + this.ID.Name = "ID"; + this.ID.Visible = false; + this.ID.Width = 125; + // // ColumnComponentName // this.ColumnComponentName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; @@ -209,6 +219,7 @@ private TextBox textBoxPrice; private GroupBox groupBoxComponents; private DataGridView dataGridView; + private DataGridViewTextBoxColumn ID; private DataGridViewTextBoxColumn ColumnComponentName; private DataGridViewTextBoxColumn ColumnCount; private Button buttonUpdate;