Beispiel #1
0
 private void GamesForm_Load(object sender, EventArgs e)
 {
     if (cbTeam.Items.Count == 0 && tur.IsTeam())
     {
         cbTeam.Items.AddRange(tur.Teams.ToArray());
     }
     SetFilter(filter);
 }
Beispiel #2
0
        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;
        }
Beispiel #3
0
 internal void UpdatePlayerTable()
 {
     UpdatePlayerTable(CurTurnir.IsTeam() ? cbTable.SelectedIndex : 1);
 }