

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.

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. This GUI app script includes the code you write in your. psf files and the code that PowerShell Studio generates for you to make the GUI app work properly. This organization has a particular benefit in multi-form projects, because it makes it easy to share values among the forms, including variables. When you create a PowerShell Studio multi-form project, you start with Globals.ps1, Startup.pss, MainForm.psf, and ChildForm.psf files. If you add forms to the project, PowerShell Studio creates each form in a separate. Psf file.īut, when you run or debug the form or project, PowerShell Studio combines the code in all of those files into a single. #Sapien powershell studio show results in richtextbox code #Sapien powershell studio show results in richtextbox windows.#Sapien powershell studio show results in richtextbox code.#Sapien powershell studio show results in richtextbox how to.
