My program consists of a grid with 8 images (one free space). It's like those unscramble the picture games. How can I detect that the user has completed the game, meaning they've placed all the right images in the right grids?
These are my images and so how can I specify that once they're at for example row 2 and column 3 that that is the correct position it needs to be in?
GridPic1.Source = new BitmapImage(new Uri("pack://application:,,,/Pic1/Pic1.jpg"));
GridPic2.Source = new BitmapImage(new Uri("pack://application:,,,/Pic1/Pic2.jpg"));
// [...]
GridPic9.Source = new BitmapImage(new Uri("pack://application:,,,/Pic1/Pic9.jpg"));