Fixed showing of window when Minimize to Taskbar is enabled

This commit is contained in:
Travis Nickles 2019-10-01 21:58:16 -05:00
parent 8f4035ed5a
commit 1dbef3e9b4

View File

@ -397,10 +397,14 @@ namespace DS4Windows.Forms
}
}
Form_Resize(null, null);
if (!(StartMinimized || mini))
{
Show();
}
this.Resize += Form_Resize;
this.LocationChanged += TrackLocationChanged;
if (!(StartMinimized || mini))
Form_Resize(null, null);
Program.CreateIPCClassNameMMF(this.Handle);