Merge branch 'lab1_base' into lab1_hard

This commit is contained in:
prodigygirl 2023-02-26 19:22:21 +04:00
commit fa8f02736c
2 changed files with 5 additions and 1 deletions

View File

@ -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
//

View File

@ -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("Загрузка изделий");
}