Compare commits
2 Commits
2b8ef3fac0
...
480fcea5d1
Author | SHA1 | Date | |
---|---|---|---|
480fcea5d1 | |||
2591be00fd |
@ -48,8 +48,8 @@ namespace SushiBarView
|
|||||||
}
|
}
|
||||||
private void SushiToolStripMenuItem_Click(object sender, EventArgs e)
|
private void SushiToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var service = Program.ServiceProvider?.GetService(typeof(FormSushi));
|
var service = Program.ServiceProvider?.GetService(typeof(FormListSushi));
|
||||||
if (service is FormSushi form)
|
if (service is FormListSushi form)
|
||||||
{
|
{
|
||||||
form.ShowDialog();
|
form.ShowDialog();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user