Пул
This commit is contained in:
parent
7f02b269a0
commit
c197ace73d
@ -50,8 +50,8 @@ namespace CarRepairShop
|
|||||||
}
|
}
|
||||||
private void RepairToolStripMenuItem_Click(object sender, EventArgs e)
|
private void RepairToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var service = Program.ServiceProvider?.GetService(typeof(FormRepair));
|
var service = Program.ServiceProvider?.GetService(typeof(FormRepairs));
|
||||||
if (service is FormRepair form)
|
if (service is FormRepairs form)
|
||||||
{
|
{
|
||||||
form.ShowDialog();
|
form.ShowDialog();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user