Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何清除用 C# 编写的Windows 窗体应用程序的按钮的背景图像?我该怎么办?
也许试试这个:
myButton.BackgroundImage = null;
我不肯定这会起作用,但我会尝试将Button.BackgroundImage = null最后一行放在点击监听器中。
Button.BackgroundImage = null