Microsoft Windows 10.0.19555 64 bit
My treeView control has font set. After upgrade to 175, the font cannot be set and I'm getting this error when I'm launching form:
Code: Select all
ERROR: Multiple ambiguous overloads found for "new" and the argument count: "3".
....Run.ps1 (14519, 2): ERROR: At Line: 14519 char: 2
ERROR: + $treeView.Font = [System.Drawing.Font]::new('Segoe UI ...
ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: + CategoryInfo : NotSpecified: (:) [], MethodException
ERROR: + FullyQualifiedErrorId : MethodCountCouldNotFindBest
Code: Select all
$treeView.DrawMode = 'OwnerDrawText'
$treeView.Font = [System.Drawing.Font]::new('Segoe UI', 8,25)
$treeView.HideSelection = $False