Balberova D.N. LabWork02Hard #5

Closed
august wants to merge 26 commits from LabWork02Hard into LabWork01Hard
Showing only changes of commit 777cc9f4ad - Show all commits

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();
}