The property 'DoubleBuffered' cannot be found
Hi, i am doing some tests with gui. I always have a doubleBuffered error each time i launch my script.
GAC Version Location
--- ------- --------
True v4.0.30319 C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll
The property 'DoubleBuffered' cannot be found on this object. Verify that the property exists and can be set.
At c:[xxxxxxxxxxxxxxx]\tgui.designer.ps1:34 char:1
+ $Form1.DoubleBuffered = $false
+ ~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyAssignmentException
my script is quite simple:
$Button1_Click = { $Form1.box1.text = $env:COMPUTERNAME } Add-Type -AssemblyName System.Windows.Forms . (Join-Path $PSScriptRoot 'tgui.designer.ps1') $Form1.ShowDialog()
i don't know what am i doing wrong
Comments (2)
-
-
- changed status to resolved
Fixes
#80→ <<cset f942ec61210d>>
- Log in to comment
I see this issue as well. I will get this fixed.