Compare commits

..

2 Commits

Author SHA1 Message Date
480fcea5d1 Merge branch 'LabWork01' into LabWork01Hard 2023-02-14 11:45:00 +04:00
2591be00fd Фикс меню суши 2023-02-14 11:44:33 +04:00

View File

@ -48,8 +48,8 @@ namespace SushiBarView
}
private void SushiToolStripMenuItem_Click(object sender, EventArgs e)
{
var service = Program.ServiceProvider?.GetService(typeof(FormSushi));
if (service is FormSushi form)
var service = Program.ServiceProvider?.GetService(typeof(FormListSushi));
if (service is FormListSushi form)
{
form.ShowDialog();
}