https://github.com/startautomating/winformal
Winformal is a PowerShell module to let you script WinForms with cmdlets
https://github.com/startautomating/winformal
Last synced: 10 months ago
JSON representation
Winformal is a PowerShell module to let you script WinForms with cmdlets
- Host: GitHub
- URL: https://github.com/startautomating/winformal
- Owner: StartAutomating
- Created: 2014-05-08T22:43:44.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-08T22:44:52.000Z (over 11 years ago)
- Last Synced: 2025-03-24T08:46:02.125Z (10 months ago)
- Language: PowerShell
- Size: 133 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
[Official Website](http://winformal.start-automating.com)
### Winformal is a small PowerShell module that allows you to write Winforms UI in script. This is a very simple UI written in Winformal:
New-Form -controls {
New-Button -Text "Click Me" -On_Click {
$this.Parent.Close()
} -Left 50 -Top 50 -Width 200 -Height 200
} -Show
#### Winformal works off of the same engine as WPK, the predecessor to ShowUI. These are both vastly superior ways to script a UI, because they are built using WPF instead of WinForms.
#### WinFormal was built after a small challenge, and is a proof of concept of using the WPK engine to process different types of data. Because WinForms can do a lot less than WPF, Winformal is a lot simpler and smaller than it's cousin. Hence the name.
#### If you find yourself writing Winforms in PowerShell, the least you can do is use Winformal to make life less painful.