Exemplo n.º 1
0
        public Dojo()
        {
            roundTime.SetTime(new TimeSpan(0, 8, 0));
            roundTime.TimeChanged    += (sender, args) => UpdateCurrentTime();
            stopWatch.TimeChanged    += (sender, args) => UpdateCurrentTime();
            dojoTeam.PropertyChanged += (sender, args) => UpdateTeamMembers();
            currentTime = roundTime;
            timer       = new DojoUpdatingTimer(stopWatch, 1000.0);

            dojoTeam.Queue.Enqueue(new Coder("Albert Weinert"));
            dojoTeam.Queue.Enqueue(new Coder("Ilker Cetinkaya"));
            dojoTeam.Queue.Enqueue(new Coder("Christina Hirth"));
            dojoTeam.Queue.Enqueue(new Coder("Christian Deger"));
        }
Exemplo n.º 2
0
        public Dojo()
        {
            roundTime.SetTime(new TimeSpan(0, 8, 0));
            roundTime.TimeChanged += (sender, args) => UpdateCurrentTime();
            stopWatch.TimeChanged += (sender, args) => UpdateCurrentTime();
            dojoTeam.PropertyChanged += (sender, args) => UpdateTeamMembers();
            currentTime = roundTime;
            timer = new DojoUpdatingTimer(stopWatch, 1000.0);

            dojoTeam.Queue.Enqueue(new Coder("Albert Weinert"));
            dojoTeam.Queue.Enqueue(new Coder("Ilker Cetinkaya"));
            dojoTeam.Queue.Enqueue(new Coder("Christina Hirth"));
            dojoTeam.Queue.Enqueue(new Coder("Christian Deger"));
        }