按钮的背景图像 [英] Background Image Of A Button
本文介绍了按钮的背景图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经在VB.Net中将背景图像设置为按钮...
现在,我想确定按钮是否具有背景图像..
像这样的东西...
I have setted a background image to a button in VB.Net...
Now i want to identify whether a button has a background image or not..
Some thing like this...
If btnXYZ.HasBackgroundimage then
....
..
End If
推荐答案
试试这个
If btnXYZ.BackgroundImage is Nothing then
'your code here
End If
这篇关于按钮的背景图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文