private void mniSettings_Click(object sender, RoutedEventArgs e)
{
SettingsWindow frmSettings = new SettingsWindow();
frmSettings.ShowDialog();
this.colDiceCount.Visibility = System.Windows.Visibility.Collapsed;
this.colDeckcheck.Visibility = App.Settings.ColumnDC ? System.Windows.Visibility.Visible : System.Windows.Visibility.Collapsed;
this.colGalakta.Visibility = App.Settings.ColumnG ? System.Windows.Visibility.Visible : System.Windows.Visibility.Collapsed;
this.colPayment.Visibility = App.Settings.ColumnPayment ? System.Windows.Visibility.Visible : System.Windows.Visibility.Collapsed;
this.colRankBeforeTournament.Visibility = App.Settings.ColumnRank ? System.Windows.Visibility.Visible : System.Windows.Visibility.Collapsed;
foreach (Game game in this.tournament.Rounds.SelectMany(r => r.Games).Where(g => g.Player2Id == Guid.Empty && g.IsBYE == true))
{
game.Player1Dice = App.Settings.BYEHasDice;
}
}