winutil/functions/public/Invoke-MinimizeButton.ps1
Yuri Gabriel 9b87edc10b Add minimize and maximize button
Added an minimize and maximize button to the main window
2024-02-09 22:09:31 -03:00

7 lines
177 B
PowerShell

function Invoke-WPFMinimizeButton {
<#
.SYNOPSIS
Minimize the application window
#>
$sync["Form"].WindowState = [System.Windows.WindowState]::Minimized
}