private void bkgGenerateRound_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
{
this.BusyIndicator.IsBusy = false;
if (roundToAdd == null)
{
new PMI(StringTable.MainWindow_NieMoznaWygenerowacWiecejRund);
return;
}
this.tournament.Rounds.Add(roundToAdd);
foreach (Round ctrl in this.tabRound.Items)
{
ctrl.ScoreEnabled = false;
}
(this.tabRound.Items[this.tabRound.Items.Count - 1] as Round).ScoreEnabled = true;
this.tabRound.SelectedIndex = this.tabRound.Items.Count - 1;
}