Link to home
Start Free TrialLog in
Avatar of Rewaya
Rewaya

asked on

color header form when i minimize it as in excel

how can i change the color of my form in the task bar when i minimize it using c#?

excel.bmp
Avatar of kaylanreilor
kaylanreilor
Flag of Luxembourg image

First of all, you can use the MinimumSizeChanged event of your form so that you can code something. And I guess you will also have to handle the MaximumSizeChanged event. So in Visual Studio, in the designer, when you select your form these events are listed in the properties window. Else you can still have access to the event like this :
this.MinimumSizeChanged += new System.EventHandler(this.Form1_MinimumSizeChanged);.
But after that, actually I didn't understand to which color you refer in Excel.
Avatar of Rewaya
Rewaya

ASKER

i don't want change color header form ,when i do minimize form
form.bmp
ASKER CERTIFIED SOLUTION
Avatar of makber
makber
Flag of Türkiye image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rewaya

ASKER

Thanx