How Do Multi-Form Projects Work?

Applies to: PowerShell Studio 2016, Windows PowerShell 3.0+

I recently wrote an article with step-by-step instructions for creating a very simple multi-form PowerShell GUI application. In our sample app, we use PowerShell Studio features that make it very easy to open a child form from the main form and gets the text in the textbox on the child form.

In this article, I’ll explain what goes on in the background to make these features work. You might not care — just so they work — and that’s fine. But if you’re wondering how this happens, or you need to debug a problem, or you’d like to customize these features for your environment, this information will help.

image003

It’s One Script

One of the first things to know about GUI apps is that PowerShell Studio combines the code in the form or form project — all of it — into a single PowerShell script, a .PS1 file.
Read the full post in the SAPIEN Information Center….

June Blender is a technology evangelist at SAPIEN Technologies, Inc. and a Windows PowerShell MVP. You can reach her at juneb@sapien.com or follow her on Twitter at @juneb_get_help.