FormUpdate
This commit is contained in:
parent
eb300b018f
commit
b7acdf50fc
@ -45,8 +45,8 @@ namespace SewingDressesView
|
|||||||
|
|
||||||
private void DressesToolStripMenuItem_Click(object sender, EventArgs e)
|
private void DressesToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var service = Program.ServiceProvider?.GetService(typeof(DressForm));
|
var service = Program.ServiceProvider?.GetService(typeof(DressesForm));
|
||||||
if (service is DressForm form)
|
if (service is DressesForm form)
|
||||||
{
|
{
|
||||||
form.ShowDialog();
|
form.ShowDialog();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user