This commit is contained in:
Yunusov_Niyaz 2024-03-02 00:20:37 +04:00
parent 7f02b269a0
commit c197ace73d

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