From 1c79247c2634edeecbff993c45f53341a8948479 Mon Sep 17 00:00:00 2001 From: Zakharov_Rostislav Date: Wed, 14 Feb 2024 16:15:36 +0400 Subject: [PATCH] some minor fixes --- .../BlacksmithWorkshop/FormShop.Designer.cs | 3 ++- BlacksmithWorkshop/BlacksmithWorkshop/FormShop.resx | 12 ------------ .../BlacksmithWorkshop/FormShops.Designer.cs | 3 ++- BlacksmithWorkshop/BlacksmithWorkshop/FormShops.cs | 2 +- .../BlacksmithWorkshop/FormSupply.Designer.cs | 3 ++- 5 files changed, 7 insertions(+), 16 deletions(-) diff --git a/BlacksmithWorkshop/BlacksmithWorkshop/FormShop.Designer.cs b/BlacksmithWorkshop/BlacksmithWorkshop/FormShop.Designer.cs index f949e94..1d9d90e 100644 --- a/BlacksmithWorkshop/BlacksmithWorkshop/FormShop.Designer.cs +++ b/BlacksmithWorkshop/BlacksmithWorkshop/FormShop.Designer.cs @@ -159,7 +159,8 @@ Controls.Add(dateTimePicker); Controls.Add(dataGridView); Name = "FormShop"; - Text = "FormShop"; + StartPosition = FormStartPosition.CenterParent; + Text = "Магазин"; Load += FormShop_Load; ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit(); ResumeLayout(false); diff --git a/BlacksmithWorkshop/BlacksmithWorkshop/FormShop.resx b/BlacksmithWorkshop/BlacksmithWorkshop/FormShop.resx index ef64542..b0c7c5d 100644 --- a/BlacksmithWorkshop/BlacksmithWorkshop/FormShop.resx +++ b/BlacksmithWorkshop/BlacksmithWorkshop/FormShop.resx @@ -129,16 +129,4 @@ True - - True - - - True - - - True - - - True - \ No newline at end of file diff --git a/BlacksmithWorkshop/BlacksmithWorkshop/FormShops.Designer.cs b/BlacksmithWorkshop/BlacksmithWorkshop/FormShops.Designer.cs index b511e71..7755f6d 100644 --- a/BlacksmithWorkshop/BlacksmithWorkshop/FormShops.Designer.cs +++ b/BlacksmithWorkshop/BlacksmithWorkshop/FormShops.Designer.cs @@ -96,7 +96,8 @@ Controls.Add(buttonAdd); Controls.Add(dataGridView); Name = "FormShops"; - Text = "FormShops"; + StartPosition = FormStartPosition.CenterParent; + Text = "Магазины"; Load += FormShops_Load; ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit(); ResumeLayout(false); diff --git a/BlacksmithWorkshop/BlacksmithWorkshop/FormShops.cs b/BlacksmithWorkshop/BlacksmithWorkshop/FormShops.cs index 327add1..e9fcb99 100644 --- a/BlacksmithWorkshop/BlacksmithWorkshop/FormShops.cs +++ b/BlacksmithWorkshop/BlacksmithWorkshop/FormShops.cs @@ -34,7 +34,7 @@ namespace BlacksmithWorkshop dataGridView.Columns["Id"].Visible = false; dataGridView.Columns["ShopName"].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; dataGridView.Columns["Address"].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; - dataGridView.Columns["DateOpen"].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; + dataGridView.Columns["OpeningDate"].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; dataGridView.Columns["ShopManufactures"].Visible = false; } _logger.LogInformation("Загрузка магазинов"); diff --git a/BlacksmithWorkshop/BlacksmithWorkshop/FormSupply.Designer.cs b/BlacksmithWorkshop/BlacksmithWorkshop/FormSupply.Designer.cs index 3894c27..e350ec8 100644 --- a/BlacksmithWorkshop/BlacksmithWorkshop/FormSupply.Designer.cs +++ b/BlacksmithWorkshop/BlacksmithWorkshop/FormSupply.Designer.cs @@ -91,7 +91,8 @@ Controls.Add(ManufactureComboBox); Controls.Add(ShopComboBox); Name = "FormSupply"; - Text = "FormSupply"; + StartPosition = FormStartPosition.CenterParent; + Text = "Пополнение магазина"; ResumeLayout(false); PerformLayout(); }