private void GamesForm_Load(object sender, EventArgs e) { if (cbTeam.Items.Count == 0 && tur.IsTeam()) { cbTeam.Items.AddRange(tur.Teams.ToArray()); } SetFilter(filter); }
void CheckTurnirType(Turnir tur) { bool teamTur = tur.IsTeam(); //noChange = true; if (teamTur) { rbTeam.Checked = true; numBoard.Value = CurTurnir.BoardNumber; } else { rbPersonal.Checked = true; } //noChange = false; }
internal void UpdatePlayerTable() { UpdatePlayerTable(CurTurnir.IsTeam() ? cbTable.SelectedIndex : 1); }