Merge branch 'LabWork01' into LabWork01Hard
This commit is contained in:
commit
480fcea5d1
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user