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