From 3a25137d969f47683b3b9e9fe5f0ba47a123dd62 Mon Sep 17 00:00:00 2001 From: DavidMakarov Date: Thu, 25 Apr 2024 19:18:18 +0400 Subject: [PATCH] fix dataGridView in FormMain --- FlowerShop/FlowerShop/FormMain.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/FlowerShop/FlowerShop/FormMain.cs b/FlowerShop/FlowerShop/FormMain.cs index bde1d6e..9e57bee 100644 --- a/FlowerShop/FlowerShop/FormMain.cs +++ b/FlowerShop/FlowerShop/FormMain.cs @@ -28,7 +28,6 @@ namespace FlowerShopView { dataGridView.DataSource = list; dataGridView.Columns["FlowerId"].Visible = false; - dataGridView.Columns["FlowerName"].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; } } catch (Exception ex)