标签: c# winforms
如何清除用C#编写的Windows Forms应用程序按钮的背景图像?我该怎么办?
答案 0 :(得分:1)
也许试试这个:
myButton.BackgroundImage = null;
答案 1 :(得分:0)
我不肯定这会有效,但我会尝试将Button.BackgroundImage = null作为点击监听器的最后一行。
Button.BackgroundImage = null