samedi 25 avril 2015

Check picturebox image

I'm making a c# puzzle game, but I've got a problem.

if (pictureBox1.Image == Properties.Resources._1)
    pictureBox2.Image = Properties.Resources._2;

The if statement seems to be false all the time. what could be the problem?

Aucun commentaire:

Enregistrer un commentaire