How can we know if a specific image from a path is in a picture box?
I tried this but it doesn't work:
if (pictureBox.Image == Image.FromFile(@"..\..\resources\cirlce.png")) grilleArray[0] = 2;
else if (pictureBox.Image == Image.FromFile(@"..\..\resources\cross.png")) grilleArray[0] = 1;
else grilleArray[0] = 0;
So I want to know if the image in the picture box is the image that is in circle.png