How to reset to default button BackColor?

后端 未结 11 1835
失恋的感觉
失恋的感觉 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:33

    To restore the default background color of the button, use;

    Button1.BackColor = SystemColors.ButtonFace
    Button1.UseVisualStyleBackColor = True
    

提交回复
热议问题