From eb5d53ec9d9ac431db0f170759a326ca196c7666 Mon Sep 17 00:00:00 2001 From: Yunusov_Niyaz Date: Sat, 2 Mar 2024 00:22:56 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=83=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CarRepairShop/CarRepairShop/FormMain.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CarRepairShop/CarRepairShop/FormMain.cs b/CarRepairShop/CarRepairShop/FormMain.cs index c14d176..893ec0f 100644 --- a/CarRepairShop/CarRepairShop/FormMain.cs +++ b/CarRepairShop/CarRepairShop/FormMain.cs @@ -50,8 +50,8 @@ namespace CarRepairShop } private void RepairToolStripMenuItem_Click(object sender, EventArgs e) { - var service = Program.ServiceProvider?.GetService(typeof(FormRepair)); - if (service is FormRepair form) + var service = Program.ServiceProvider?.GetService(typeof(FormRepairs)); + if (service is FormRepairs form) { form.ShowDialog(); }