VB.Net Clear or Reset form BackColor?
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 als开发者_开发百科o like to reset the color of the form back to it's original state?
Simple way :
myForm.BackColor = Color.Empty
Just set to it Colors.DefaultBackColor.
精彩评论