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.
我要把 button_original 的图片改成 button_clicked 的图片。单击它们时如何更改图像(按钮)?我还需要使用图片框吗?
在 vb.NET 中,如果您在按钮上使用图像,要更改它,您可以更改事件property Image中按钮的。Button_Click()
property Image
Button_Click()
Private Sub Button_Click(sender As Object, e As EventArgs) Handles Button.Click Button.Image = ... <- your image End Sub