private void Button_Click(object sender, RoutedEventArgs e) { NrOfPlayers = 3; ChoseTheGame ctg = new ChoseTheGame(); ctg.Show(); Application.Current.MainWindow = null; this.Close(); }
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(); }