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

Closed
Yunusov_Niyaz wants to merge 8 commits from Lab1 into main
Showing only changes of commit eb5d53ec9d - 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();
}