Form visual style windows XP/7
In a windows form I make the background color yellow of somecombolist from a datagridview
In windows XP it change to yellow but in Windows 7 it change to the theme color.
I use the following code to change the background color:
C# Code:
dgv_tbGemaalKoppeling[dgv_BronGemaal_IDColumn.Index, 0].Style.BackColor = Color.Yellow;
In the attachment you can find the diffrents, left is Win 7 and right Win XP
How can I disable this windows 7 theme and use my own color yellow
This is a migrated post! Originally posted on 23.09.2011 by user ippela. Please be aware that information can be outdated.