News

path = "C:\Scripts" Before you can create a Windows form you needed to load the .NET class. You probably have seen lines like this: [reflection.assembly]::loadwithpartialname("System.Windows.Forms") | ...
As a matter of fact, a form is simply a class that inherits from a .NET type named System.Windows.Forms.Form. Thanks to inheritance, your form knows automatically how to behave when a user drags its ...
I’ve named the variable staticVar: public class Form1 : System.Windows.Forms.Form public static Form1 staticVar = null; By the way, there’s no reason to place this variable in the Form1 module ...