Windows Forms

noun

say it: “WIN-dohz FORMZ” /ˈwɪndoʊz ˈfɔrmz/

The part of .NET that builds windows with lists, buttons and labels, which a PowerShell script can use on Windows.

What is Windows Forms?

Windows Forms is the toolbox .NET has for building windows with lists, buttons and labels. A PowerShell script can load it and give a tool a small window for people who'd rather click than type. It works only on Windows.

Add-Type -AssemblyName System.Windows.Forms
$form = [System.Windows.Forms.Form]::new()
$form.Text = 'Recipe Box'
$form.ShowDialog() | Out-Null

In a sentence

  • “Sam's recipe box got a small window built with Windows Forms.”
  • “Windows Forms works only on Windows.”

Level: Freelancer · More PowerShell terms at this level

Updated