vb.net - IF statement in background image in a Picture box -
i have 2 images in project's resources , want make if statement see if picture box has one, if happens, want change image. have not work:
if pic1.backgroundimage global.images.my.resources.ima1 pic1.backgroundimage = global.images.my.resources.ima2 end if
am right? or else can that?
if pic1.backgroundimage = global.images.my.resources.ima1 pic1.backgroundimage = global.images.my.resources.ima2 end if
Comments
Post a Comment