Ok im using an image as checkbox. so when i click the label next to it it will change from Uncheck image to Check image...
Ive tried:
But i get this error:
Error 1 Operator '=' is not defined for types 'System.Drawing.Image' and 'System.Drawing.Bitmap'.
Any ideas?
Ive tried:
VB.NET:
If checkInj.Image = My.Resources.unchecked Then
checkInj.Image = My.Resources.checked
Else
checkInj.Image = My.Resources.unchecked
End If
But i get this error:
Error 1 Operator '=' is not defined for types 'System.Drawing.Image' and 'System.Drawing.Bitmap'.
Any ideas?
Last edited: