Posts Tagged ‘PowerShellGUI’


The Methods that Register Events

Monday, August 31st, 2015 by June Blender
If you create PowerShell GUI apps in PowerShell Studio, you become very familiar with the events of the Windows Forms types, like the Load event of forms, the Click event of buttons, and the TextChanged event of textboxes. PowerShell Studio handles most of the background details of event management for you, but it's useful and interesting to understand how events work in the Microsoft .NET Framework. This knowledge comes in especially handy when something doesn't work and you need to understand enough to fix it. One of the little mysteries that I couldn't understand were the methods the .NET uses…   More »