Example #1
0
        private void btnStart_Click(object sender, RoutedEventArgs e)
        {
            GameWindow game = new GameWindow();

            Application.Current.MainWindow = game;
            this.Close();
            game.Show();
        }
Example #2
0
        private void btnStart_Click(object sender, RoutedEventArgs e)
        {
            GameWindow game = new GameWindow();

            game.Show();
        }