コード例 #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);
 }
コード例 #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;
        }
コード例 #3
0
 internal void UpdatePlayerTable()
 {
     UpdatePlayerTable(CurTurnir.IsTeam() ? cbTable.SelectedIndex : 1);
 }