From e749b8c0ded4b3129ba2ded6b842c87ccb39d2ba Mon Sep 17 00:00:00 2001 From: revengel66 Date: Wed, 13 Mar 2024 10:57:18 +0300 Subject: [PATCH] 7 --- Pizzeria/Pizzeria/FormPizzas.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Pizzeria/Pizzeria/FormPizzas.cs b/Pizzeria/Pizzeria/FormPizzas.cs index cd5580e..abedea1 100644 --- a/Pizzeria/Pizzeria/FormPizzas.cs +++ b/Pizzeria/Pizzeria/FormPizzas.cs @@ -38,7 +38,6 @@ namespace Pizzeria MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error); } } - private void ButtonAdd_Click(object sender, EventArgs e) { var service = Program.ServiceProvider?.GetService(typeof(FormPizza)); @@ -49,14 +48,11 @@ namespace Pizzeria LoadData(); } } - - } private void ButtonRef_Click(object sender, EventArgs e) { LoadData(); } - private void ButtonDel_Click(object sender, EventArgs e) { if (dataGridView.SelectedRows.Count == 1) @@ -83,9 +79,7 @@ namespace Pizzeria } } } - } - private void ButtonUpd_Click(object sender, EventArgs e) { if (dataGridView.SelectedRows.Count == 1) @@ -101,7 +95,5 @@ namespace Pizzeria } } } - - } }