Example #1
0
        private void btnExit_Click(object sender, RoutedEventArgs e)
        {
            click.Play();
            MainWindow game = new harjoitus.View.MainWindow();

            this.Close();
            game.ShowDialog();
        }
Example #2
0
        private void btnLoadGame_Click(object sender, RoutedEventArgs e)
        {
            click.Play();
            MainWindow no = new harjoitus.View.MainWindow();

            this.Close();
            no.ShowDialog();
        }