Example #1
0
 public void ChangeRound(int round)
 {
     switch (round)
     {
         case 1:
             CurrentRound = Round1;
             break;
         case 2:
             CurrentRound = Round2;
             break;
         case 3:
             CurrentRound = Final;
             break;
         default:
             CurrentRound = new Round();
             break;
     }
 }
Example #2
0
        private void LoadData()
        {
            Round1 = new Round();
            Round1.Load(1);

            Round2 = new Round();
            Round2.Load(2);

            Final = new Round();
            Final.Load(3);

            CurrentRound = Round1;
        }