Esempio n. 1
0
 // game goes to first page of the application
 private void button_Home_Click(object sender, RoutedEventArgs e)
 {
     
     MainWindow newwindow = new MainWindow();
     newwindow.Show();
     this.Hide();
 }
Esempio n. 2
0
        private void image_click(object sender, MouseButtonEventArgs e)
        {

        

            MainWindow newwindow = new MainWindow();
            newwindow.Show();
           this.Hide();

            mediaPlayer.Stop();
            Button_Soundplay.Content = "OFF";
            soundON = false;
        }