Application exits when $frmName.Hide() is called
Posted: Thu Aug 29, 2013 11:10 am
When I minimize my form using the following Resize event, my form closes (exits, PowerShell Studio debug stops). Any help would be appreciated.
PowerShell Code
Double-click the code block to select all.$frmMainUI_Resize={ if ($frmMainUI.WindowState -eq 'Minimized') { $frmMainUI.Hide() } }