FormUpdate

This commit is contained in:
Sergey Kozyrev 2024-02-24 07:54:04 +04:00
parent eb300b018f
commit b7acdf50fc

View File

@ -45,8 +45,8 @@ namespace SewingDressesView
private void DressesToolStripMenuItem_Click(object sender, EventArgs e)
{
var service = Program.ServiceProvider?.GetService(typeof(DressForm));
if (service is DressForm form)
var service = Program.ServiceProvider?.GetService(typeof(DressesForm));
if (service is DressesForm form)
{
form.ShowDialog();
}