Forked from anonymous/gist:eb1de4f4affe510e7c5363103592733d
Last active
April 8, 2018 01:35
-
-
Save Jaykul/1548e0fb675b6e773031bc5129d7222b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show-UI -Title 'FTP Log Search' { | |
Grid -Columns Auto,* -Rows 5 -Margin 5 -MinHeight 200 -MinWidth 250 { | |
Label "Date (MM/DD/YY)" | |
New-DatePicker -Name First -Column 1 -Margin "5" | |
Label "Clip Name" -Row 1 | |
New-TextBox -Name Last -Row 1 -Column 1 -Margin "5" | |
Label "E-mail Address" -Row 2 | |
New-TextBox -Name Address -Row 2 -Column 1 -Margin "5" | |
Label "Yeah?" -Row 3 | |
CheckBox -Name "DoIt" -Margin "5,0,0,5" -Row 3 -Column 1 | |
New-Button "OK" -IsDefault -Margin "5,0,0,5" -On_Click { | |
$Window | Set-UIValue -PassThru | Close-Control | |
} -Row 4 -Column 1 | |
} } -On_Loaded { $First.Focus() } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment