private void Button_Click(object sender, RoutedEventArgs e)
        {
            NrOfPlayers = 3;
            ChoseTheGame ctg = new ChoseTheGame();

            ctg.Show();
            Application.Current.MainWindow = null;
            this.Close();
        }
Exemplo n.º 2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            MainWindow.PressedOrNot = false;
            PosAndName.Clear();
            ChoseTheGame ctg = new ChoseTheGame();

            ctg.Show();
            gs.Abort();
            Application.Current.MainWindow = null;
            this.Close();
        }