How to reset to default button BackColor?

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

    tmpButtonCtrl.BackColor = DefaultBackColor
    tmpButtonCtrl.ForeColor = DefaultForeColor
    tmpButtonCtrl.UseVisualStyleBackColor = True
    

    .NET Framework 4.5
    VB.Net Visual Studio 2013

提交回复
热议问题