From 48512d74b68a27a6750618fea0aceffb67618900 Mon Sep 17 00:00:00 2001 From: DeerElk Date: Wed, 27 Mar 2024 13:19:46 +0400 Subject: [PATCH] beta build --- Confectionery/Confectionery/FormMain.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Confectionery/Confectionery/FormMain.cs b/Confectionery/Confectionery/FormMain.cs index 599d3ac..31ae8de 100644 --- a/Confectionery/Confectionery/FormMain.cs +++ b/Confectionery/Confectionery/FormMain.cs @@ -28,7 +28,8 @@ namespace ConfectioneryView { dataGridView.DataSource = list; dataGridView.Columns["PastryId"].Visible = false; - dataGridView.Columns["PastryName"].AutoSizeMode = DataGridViewAutoSizeColumnMode.None; + dataGridView.Columns["PastryName"].AutoSizeMode = + DataGridViewAutoSizeColumnMode.None; } _logger.LogInformation("Загрузка заказов"); } @@ -49,7 +50,8 @@ namespace ConfectioneryView form.ShowDialog(); } } - private void PastriesToolStripMenuItem_Click(object sender, EventArgs e) + private void PastriesToolStripMenuItem_Click(object sender, + EventArgs e) { var service = Program.ServiceProvider?.GetService( typeof(FormPastries)); @@ -155,7 +157,8 @@ namespace ConfectioneryView { LoadData(); } - private OrderBindingModel CreateBindingModel(int id, bool isDone = false) + private OrderBindingModel CreateBindingModel(int id, + bool isDone = false) { return new OrderBindingModel {