C#: Changing Button BackColor has no effect

后端 未结 4 753
逝去的感伤
逝去的感伤 2021-01-06 18:10

I\'m having a problem with C# buttons in Windows Forms.

I\'ve create a number of buttons programmatically and add them to a form afterwards.

Interestingly, e

4条回答
  •  青春惊慌失措
    2021-01-06 18:52

    If FlatStyle for button is set to System, it will not show any backcolor rather use backcolor from template of system colors.

提交回复
热议问题