• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 454
  • Last Modified:

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
0
Rewaya
Asked:
Rewaya
  • 2
1 Solution
 
kaylanreilorCommented:
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.
0
 
RewayaAuthor Commented:
i don't want change color header form ,when i do minimize form
form.bmp
0
 
makberCommented:
The following links may help you.

www.c-sharpcorner.com
And
www.pinvoke.net/

makber
0
 
RewayaAuthor Commented:
Thanx
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now