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(); }