views:

24

answers:

1

Hey guys! A simple question, but simple part of learning. How do I clear/reset the BackColor of a windows application form? For instance, I have a set of radio buttons, each one changes the color of the background form color, when i reset the radio buttons i would also like to reset the color of the form back to it's original state?

+1  A: 

Just set to it Colors.DefaultBackColor.

Reed Copsey
I could not get it to work using those methods (I was most likely applying it wrong) but you pointed me in the right direction on MSDN and I found this code to do the job for the time being until I become better at VB.Net: Me.BackColor = SystemColors.Control Thanks again guys!
William Mc