Search code examples
powershell

Where to find documentation about add_<eventname>(<scriptblock>) like add_click, add_shown using powershell?


I'm creating windows form.

I'm looking for documentation about this code :

$bouton.Add_click($boxtext)
$form.Add_Shown({$form.Activate(); $textbox.Focus()})

and if it exists other code using $form.Add_

I use Windows Powershell ISE but i haven't completion for this


Solution

  • Go through the below link which is now referring to a book:

    Creating_GUIs_in_Windows_PowerShell_1.0_with_WinForms