This commit is contained in:
Yunusov_Niyaz 2024-03-02 00:22:56 +04:00
parent 813a5eb6a1
commit eb5d53ec9d

View File

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