views:

3758

answers:

2

In C#.NET I am trying to programmatically change the color of the border in a group box.

+1  A: 

There's no color option for the border of a group box in windows forms.

Derive a new control from it and override the OnPaint event

this might help you: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1267856&SiteID=1

kitsune
+1  A: 

Look here for an example:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1256465&SiteID=1

itsmatt