[void][reflection.assembly]::LoadWithPartialName(
"System.windows.forms"
$form=new-object windows.forms.form
$form.text="Form Başlık"
$button=new-object windows.forms.button
$button.text="Click"
$button.dock="Fill"
$button.add_click({$form.close()})
$form.controls.add($button)
$form.add_shown({$form.activate()})
$form.showdialog()
Powershell Net formları giriş
Etiketler:
net form,
powershell,
windows form