[英]VB.NET How can I check if an image from my resources is loaded in a PictureBox?
[英]VB.NET How can I check if a PictureBox contains an image?
我正在使用VB.NET表單應用程序,我需要檢查PictureBox當前是否有圖像。 我該怎么做?
謝謝
If Not pictureBox.Image is Nothing Then
//do stuff here
Else
//do other stuff
End If
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.