Simple windowed application: Difference between revisions

added PowerShell
(Added PicoLisp)
(added PowerShell)
Line 950:
(server 8080 "@start")
(wait)</lang>
 
=={{header|PowerShell}}==
{{libheader|WPK}}
<lang powershell>Import-Module WPK
 
$count = 0
 
New-Window {
New-StackPanel {
New-TextBlock "There have been no clicks yet" `
-On_Loaded {
Set-Variable tb $this
}
New-Button "Click me" `
-On_Click {
$count++
$tb.Text = $count
}
}
} -SizeToContent WidthAndHeight -Show</lang>
 
=={{header|PureBasic}}==
Anonymous user