mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-03 03:23:31 -05:00
Add minimize and maximize button
Added an minimize and maximize button to the main window
This commit is contained in:
7
functions/public/Invoke-MinimizeButton.ps1
Normal file
7
functions/public/Invoke-MinimizeButton.ps1
Normal file
@ -0,0 +1,7 @@
|
||||
function Invoke-WPFMinimizeButton {
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Minimize the application window
|
||||
#>
|
||||
$sync["Form"].WindowState = [System.Windows.WindowState]::Minimized
|
||||
}
|
Reference in New Issue
Block a user