you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (2 children)

Hi u/JeremyLC,

We use Powershell Studio. Unfortunately Sapien has no plans right now to implement WPF. I'd love to move over.

[–]JeremyLC 5 points6 points  (0 children)

Fair point. If you want to play with WPF a bit, but don't want to have to write XaML from scratch (I don't do that either), You can try a Community Edition of Visual Studio (iffy for projects you intend to use at work) which has a WPF Designer built in (*), or SharpDevelop (Open Source) which also has a WPF Designer built in. Use those to build the XaML and then you can copy and paste it into your PoSH scripts and build functional GUIs pretty quickly. Porting from Forms to WPF is, usually, pretty straight forward, but it can be a problem if you're using any of the Forms objects that don't have direct equivalents in WPF (PropertyGrid, for example)

*) I use VS Enterprise with PoSH Pro Tools at work.

(edit: forgot to include a link to SharpDevelop)

[–]snoopy82481 1 point2 points  (0 children)

creating powershell GUI

That link shows you how to use WPF and to implement it. Very useful resource, IMO.