Eliseev E.E. LabWork01 #1
@ -67,9 +67,9 @@ namespace BlacksmithWorkshop
|
||||
|
||||
private void ИзделияToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var service = Program.ServiceProvider?.GetService(typeof(FormManufactures));
|
||||
var service = Program.ServiceProvider?.GetService(typeof(FormManufacture));
|
||||
|
||||
if (service is FormManufactures form)
|
||||
if (service is FormManufacture form)
|
||||
{
|
||||
form.ShowDialog();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user