diff --git a/CarRepairShop/CarRepairShop/FormRepair.Designer.cs b/CarRepairShop/CarRepairShop/FormRepair.Designer.cs index 8c41e87..2c252f7 100644 --- a/CarRepairShop/CarRepairShop/FormRepair.Designer.cs +++ b/CarRepairShop/CarRepairShop/FormRepair.Designer.cs @@ -36,13 +36,13 @@ buttonUpdate = new Button(); buttonAdd = new Button(); dataGridViewComponents = new DataGridView(); + id = new DataGridViewTextBoxColumn(); + ComponentNameColumn = new DataGridViewTextBoxColumn(); + CountColumn = new DataGridViewTextBoxColumn(); textBoxName = new TextBox(); textBoxCost = new TextBox(); buttonSave = new Button(); buttonCancel = new Button(); - id = new DataGridViewTextBoxColumn(); - ComponentNameColumn = new DataGridViewTextBoxColumn(); - CountColumn = new DataGridViewTextBoxColumn(); groupBoxComponents.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)dataGridViewComponents).BeginInit(); SuspendLayout(); @@ -131,6 +131,28 @@ dataGridViewComponents.Size = new Size(573, 274); dataGridViewComponents.TabIndex = 0; // + // id + // + id.HeaderText = ""; + id.MinimumWidth = 6; + id.Name = "id"; + id.Visible = false; + id.Width = 125; + // + // ComponentNameColumn + // + ComponentNameColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; + ComponentNameColumn.HeaderText = "Компонент"; + ComponentNameColumn.MinimumWidth = 320; + ComponentNameColumn.Name = "ComponentNameColumn"; + // + // CountColumn + // + CountColumn.HeaderText = "Количество"; + CountColumn.MinimumWidth = 6; + CountColumn.Name = "CountColumn"; + CountColumn.Width = 200; + // // textBoxName // textBoxName.Location = new Point(117, 18); @@ -166,28 +188,6 @@ buttonCancel.UseVisualStyleBackColor = true; buttonCancel.Click += ButtonCancel_Click; // - // id - // - id.HeaderText = ""; - id.MinimumWidth = 6; - id.Name = "id"; - id.Visible = false; - id.Width = 125; - // - // ComponentNameColumn - // - ComponentNameColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; - ComponentNameColumn.HeaderText = "Компонент"; - ComponentNameColumn.MinimumWidth = 320; - ComponentNameColumn.Name = "ComponentNameColumn"; - // - // CountColumn - // - CountColumn.HeaderText = "Количество"; - CountColumn.MinimumWidth = 6; - CountColumn.Name = "CountColumn"; - CountColumn.Width = 200; - // // FormRepair // AutoScaleDimensions = new SizeF(8F, 20F); @@ -202,7 +202,7 @@ Controls.Add(labelName); Name = "FormRepair"; StartPosition = FormStartPosition.CenterScreen; - Text = "Изделие"; + Text = "Ремонт"; Load += FormRepair_Load; groupBoxComponents.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)dataGridViewComponents).EndInit(); diff --git a/CarRepairShop/CarRepairShop/FormRepairComponent.Designer.cs b/CarRepairShop/CarRepairShop/FormRepairComponent.Designer.cs index a8a8877..3fccce6 100644 --- a/CarRepairShop/CarRepairShop/FormRepairComponent.Designer.cs +++ b/CarRepairShop/CarRepairShop/FormRepairComponent.Designer.cs @@ -103,7 +103,7 @@ Controls.Add(labelComponent); Name = "FormRepairComponent"; StartPosition = FormStartPosition.CenterScreen; - Text = "Компонент изделия"; + Text = "Компонент ремонта"; ResumeLayout(false); PerformLayout(); }