Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: What tools do you use for creating GUI?

$
0
0

It depends on your choice of GUI: WPF or WinForms. PowerShell studio will work great with WinForms while using Visual Studio, you can take the XAML code that is generated and placing it in the PowerShell ISE to continue building out the backend code. If you are looking at the WPF route, I’ve done a fair amount of blogging on that subject and have some things that may help you out.

If you are looking into digging into WinForms, then Sapien has an excellent forum just for this with a lot of useful information.

Also, there is ShowUI which is nice for building WPF GUIs using a more PowerShell syntax.

If you are looking at building a GUI, I would recommend looking at using a method to separate the UI thread from any code that you run to perform a task, whether it is PSJobs or using other runspaces, otherwise you run the risk of the UI locking up as it fights for control over the thread. I’ve done some work with this as well (using runspaces) that does require some more advanced methods, but may still be useful to look at.


Viewing all articles
Browse latest Browse all 13067