Hi,
I've developed a Windows Forms application in .NET 3.5, VS 2008, WinXP. I've used a DataGridView control in the form. When i run the application in Windows XP the grid is displayed properly but the same application if i am running it in Windows 7, the grid is displayed in black color.
For textBox border color also it acts in funny manner.
My textbox and datagridview properties are as follows:
1. textboxTop.BackColor = LightSteelBlue;
2. DataGridViewData.BackgroundColor = InactiveCaptionText;
Windows XP: nice and smooth and according as the property set
Wndows 7 : textbox border changed, groupBox border changed, Datagridview BackgroundColor changed to black
Sample preview links:
WinXP : http://yfrog.com/muwinxpj
Win7 : http://yfrog.com/16win7qj
So how should I resolve this?
Thanks