diff --git a/FurnitureAssembly/FurnitureAssembly/FormFurnitures.Designer.cs b/FurnitureAssembly/FurnitureAssembly/FormFurnitures.Designer.cs index 8afad3b..abe74ea 100644 --- a/FurnitureAssembly/FurnitureAssembly/FormFurnitures.Designer.cs +++ b/FurnitureAssembly/FurnitureAssembly/FormFurnitures.Designer.cs @@ -63,6 +63,7 @@ this.ButtonDel.TabIndex = 7; this.ButtonDel.Text = "Удалить"; this.ButtonDel.UseVisualStyleBackColor = true; + this.ButtonDel.Click += new System.EventHandler(this.ButtonDel_Click); // // ButtonUpd // @@ -72,6 +73,7 @@ this.ButtonUpd.TabIndex = 8; this.ButtonUpd.Text = "Изменить"; this.ButtonUpd.UseVisualStyleBackColor = true; + this.ButtonUpd.Click += new System.EventHandler(this.ButtonUpd_Click); // // ButtonRef // @@ -81,6 +83,7 @@ this.ButtonRef.TabIndex = 9; this.ButtonRef.Text = "Обновить"; this.ButtonRef.UseVisualStyleBackColor = true; + this.ButtonRef.Click += new System.EventHandler(this.ButtonRef_Click); // // FormFurnitures // diff --git a/FurnitureAssembly/FurnitureAssembly/FormFurnitures.cs b/FurnitureAssembly/FurnitureAssembly/FormFurnitures.cs index 03d08c5..ad82020 100644 --- a/FurnitureAssembly/FurnitureAssembly/FormFurnitures.cs +++ b/FurnitureAssembly/FurnitureAssembly/FormFurnitures.cs @@ -39,7 +39,8 @@ namespace FurnitureAssembly dataGridView.DataSource = list; dataGridView.Columns["Id"].Visible = false; dataGridView.Columns["FurnitureName"].AutoSizeMode = - DataGridViewAutoSizeColumnMode.Fill; + DataGridViewAutoSizeColumnMode.Fill; + dataGridView.Columns["FurnitureComponents"].Visible = false; } _logger.LogInformation("Загрузка изделий"); }