This commit is contained in:
revengel66 2024-03-13 10:57:18 +03:00
parent 96506f5cce
commit e749b8c0de

View File

@ -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
}
}
}
}
}