ПИбд-23 Юнусов Нияз Наилевич Лабораторная работа №1 усложненная #3

Closed
Yunusov_Niyaz wants to merge 5 commits from Lab1_Hard into Lab1
Showing only changes of commit c197ace73d - Show all commits

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