How to reset to default button BackColor?

后端 未结 11 1828
失恋的感觉
失恋的感觉 2020-12-13 23:38

I was experimenting with different options for the button background color and ended up changing the BackColor property in the Appearance category. I then chang

11条回答
  •  情深已故
    2020-12-14 00:36

    Button1.BackColor = Color.FromKnownColor(KnownColor.Control)
    

    Use the FromKnowColor to access the system colors. It is really that simple.

提交回复
热议问题