Picturebox image comparison with resource image
Posted on 2008-10-29
I need to compare an embeded resource image, with the image in a picutre box, in order to determine what image is showing.
Something in the line of:
if (picStatus.Image == TouchScreenLibrary.Properties.Resources.gears)
picStatus.Image = TouchScreenLibrary.Properties.Resources.gears_view;
The above code does work however, how can I change it in order to do the comparison ?