示例#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;
                }
            }
        }
示例#2
0
 public UpdateArgs(object update, ListenerObject listener)
 {
     Update   = update;
     Listener = listener;
 }