Closed adamdriscoll closed 6 years ago
Whenever I change the Anchor properties in an object, I get an error.
The problem is in line 32 as stated above.
The proper format should be:
$panel1.Anchor = ([System.Windows.Forms.AnchorStyles]::Top -bor [System.Windows.Forms.AnchorStyles]::Bottom -bor [System.Windows.Forms.AnchorStyles]::Left -bor [System.Windows.Forms.AnchorStyles]::Right)
I changed it manually and worked as expected.
Fixed in 1.2.2
Whenever I change the Anchor properties in an object, I get an error.
The problem is in line 32 as stated above.
The proper format should be:
$panel1.Anchor = ([System.Windows.Forms.AnchorStyles]::Top -bor [System.Windows.Forms.AnchorStyles]::Bottom -bor [System.Windows.Forms.AnchorStyles]::Left -bor [System.Windows.Forms.AnchorStyles]::Right)
I changed it manually and worked as expected.