Exemplo n.º 1
0
        private static void SetBusyJudge(string name, ListenerObject listenerObject)
        {
            name = name.Trim();
            var judges = MainWindow.Competition.Judges;

            foreach (var judge in judges)
            {
                if (judge.ToString().Trim() == name)
                {
                    judge.IsBusy         = true;
                    listenerObject.Judge = judge;
                    break;
                }
            }
        }
Exemplo n.º 2
0
 public UpdateArgs(object update, ListenerObject listener)
 {
     Update   = update;
     Listener = listener;
 }