From 46bf657b832c22121bec02d8748516a398fc3ec1 Mon Sep 17 00:00:00 2001 From: tellsense Date: Thu, 15 Feb 2024 22:04:33 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=B0=D0=B1=D0=B0=201.=20=D0=9F=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=BA=D0=B8=202.=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=9B=D0=BE=D0=B3=D0=BE=D0=B2?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SushiBar/SushiBarView/FormCreateOrder.cs | 8 ++------ SushiBar/SushiBarView/FormSushis.cs | 5 ----- SushiBar/SushiBarView/nlog.config | 15 --------------- 3 files changed, 2 insertions(+), 26 deletions(-) delete mode 100644 SushiBar/SushiBarView/nlog.config diff --git a/SushiBar/SushiBarView/FormCreateOrder.cs b/SushiBar/SushiBarView/FormCreateOrder.cs index 7cf560f..6b323ec 100644 --- a/SushiBar/SushiBarView/FormCreateOrder.cs +++ b/SushiBar/SushiBarView/FormCreateOrder.cs @@ -19,10 +19,6 @@ namespace SushiBarView { public partial class FormCreateOrder : Form { - public FormCreateOrder() - { - InitializeComponent(); - } private readonly ILogger _logger; private readonly ISushiLogic _logicP; private readonly IOrderLogic _logicO; @@ -69,11 +65,11 @@ namespace SushiBarView } } } - private void TextBoxCount_TextChanged(object sender, EventArgs e) + private void comboBoxSushi_SelectedIndexChanged(object sender, EventArgs e) { CalcSum(); } - private void comboBoxSushi_SelectedIndexChanged(object sender, EventArgs e) + private void TextBoxCount_TextChanged(object sender, EventArgs e) { CalcSum(); } diff --git a/SushiBar/SushiBarView/FormSushis.cs b/SushiBar/SushiBarView/FormSushis.cs index 6464acb..28ed8c3 100644 --- a/SushiBar/SushiBarView/FormSushis.cs +++ b/SushiBar/SushiBarView/FormSushis.cs @@ -15,11 +15,6 @@ namespace SushiBarView { public partial class FormSushis : Form { - public FormSushis() - { - InitializeComponent(); - } - private void ButtonAdd_Click(object sender, EventArgs e) { var service = Program.ServiceProvider?.GetService(typeof(FormSushi)); diff --git a/SushiBar/SushiBarView/nlog.config b/SushiBar/SushiBarView/nlog.config deleted file mode 100644 index f6a52e1..0000000 --- a/SushiBar/SushiBarView/nlog.config +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file