示例#1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            slidingPuzzle win2 = new slidingPuzzle();

            win2.Show();
            this.Close();
        }
示例#2
0
        private void NewGameStartGame_Click(object sender, RoutedEventArgs e)
        {
            slidingPuzzle win2 = new slidingPuzzle();

            win2.Show();
            this.Close();
        }
示例#3
0
        private void CreateCreateProfile_Click(object sender, RoutedEventArgs e)
        {
            slidingPuzzle win2 = new slidingPuzzle();

            win2.Show();
            this.Close();
        }
示例#4
0
        private void Game1_Click(object sender, RoutedEventArgs e)
        {
            slidingPuzzle win2 = new slidingPuzzle();

            win2.Show();
            this.Close();

            slidingPuzzle sp = new slidingPuzzle();

            image = new BitmapImage(new Uri("/Numbers/amsterdam1.jpg", UriKind.Relative));
            img   = new Image {
                Source = image
            };

            sp.CreatePuzzleForImage();
        }