Фикс меню суши
This commit is contained in:
parent
4a2b0c5192
commit
2591be00fd
@ -49,8 +49,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