From 09ca448bb04e45191fb81bc9b77ae051305ac608 Mon Sep 17 00:00:00 2001 From: Programmist73 Date: Sun, 12 Feb 2023 23:06:37 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B5=D0=BB=D0=BA=D0=B8=D0=B9=20=D1=84?= =?UTF-8?q?=D0=B8=D0=BA=D1=81.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BlacksmithWorkshop/BlacksmithWorkshop/FormMain.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BlacksmithWorkshop/BlacksmithWorkshop/FormMain.cs b/BlacksmithWorkshop/BlacksmithWorkshop/FormMain.cs index 6468768..5d90425 100644 --- a/BlacksmithWorkshop/BlacksmithWorkshop/FormMain.cs +++ b/BlacksmithWorkshop/BlacksmithWorkshop/FormMain.cs @@ -67,9 +67,9 @@ namespace BlacksmithWorkshop private void ИзделияToolStripMenuItem_Click(object sender, EventArgs e) { - var service = Program.ServiceProvider?.GetService(typeof(FormManufactures)); + var service = Program.ServiceProvider?.GetService(typeof(FormManufacture)); - if (service is FormManufactures form) + if (service is FormManufacture form) { form.ShowDialog(); }