Пул
This commit is contained in:
parent
813a5eb6a1
commit
eb5d53ec9d
@ -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