0

How can Change the Color of the Titelbar ? Picture GUI

My Code is in Powershell and not C#

[reflection.assembly]::loadwithpartialname("System.Windows.Forms")
[reflection.assembly]::loadwithpartialname("System.Drawing") 
$form = New-Object System.Windows.Forms.Form
$form.Size = New-Object Drawing.Point 710,509
$form.text = "Windows_Optimisation_Pack...."
$form.StartPosition = "CenterScreen"  
$form.ForeColor='#aaaaaa'
$form.BackColor='#212121'
$form.MinimizeBox = $false
$form.MaximizeBox = $false

I already tried different commands, but none worked. I can only find Solutions for C#.

Marvin
  • 1
  • 1
  • It looks like there's no good solution - see the C#-based question at https://stackoverflow.com/q/11862315/45375 – mklement0 Nov 26 '22 at 14:40

0 Answers0