Created
April 3, 2016 17:57
-
-
Save Maximus5/d6ef8119c25937aee6bc110fc50bfe5a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[void][reflection.assembly]::LoadWithPartialName("System.Windows.Forms") | |
$form = New-Object System.Windows.Forms.Form | |
$form.Text = "Hello World" | |
$set_pos = { $form.Location = New-Object System.Drawing.Point(0, 0); } | |
$form.add_Load($set_pos) | |
[void]$form.ShowDialog() |
Author
Maximus5
commented
Apr 3, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment