From 2591be00fddf49b3cc672d9612ae97910164a306 Mon Sep 17 00:00:00 2001 From: dasha Date: Tue, 14 Feb 2023 11:44:33 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D1=8E=20=D1=81=D1=83=D1=88=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SushiBar/SushiBar/FormMain.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SushiBar/SushiBar/FormMain.cs b/SushiBar/SushiBar/FormMain.cs index 4ea5668..5c13930 100644 --- a/SushiBar/SushiBar/FormMain.cs +++ b/SushiBar/SushiBar/FormMain.cs @@ -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(); }