开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜