Check for an enpty picturebox control
C#
2
Posts
2
Posters
0
Views
1
Watching
-
I am trying to check if a picture box control is enpty. I tried if (picturebox.Image = null) { ....... ....... } but I get an error stating that "connot implicitly convert system.drawing.image to bool" any idea how I can work around this?
a novice
-
I am trying to check if a picture box control is enpty. I tried if (picturebox.Image = null) { ....... ....... } but I get an error stating that "connot implicitly convert system.drawing.image to bool" any idea how I can work around this?
a novice
In c# = is an assignment operator, while you need comparison operator.
#region signature my articles #endregion