Example #1
0
        public QueueUpdater(Hub hub, User user, GroupsCache groupsCache)
        {
            this.hub  = hub;
            this.user = user;

            this.groupsCache = groupsCache;

            queueList = new QueueList(hub, groupsCache);
            queueList.Show();

            alertDisplayTimer = new DisplayTimer(queueList);
        }
Example #2
0
        public QueueUpdater(Hub hub, User user, GroupsCache groupsCache)
        {
            this.hub = hub;
            this.user = user;

            this.groupsCache = groupsCache;           

            queueList = new QueueList(hub, groupsCache);
            queueList.Show();

            alertDisplayTimer = new DisplayTimer(queueList);
        }
Example #3
0
 public DisplayTimer(QueueList targetWindow)
 {
     this.targetWindow = targetWindow;
     targetWindow.GotFocus += (s, e) => cancel = true;
 }
Example #4
0
 public DisplayTimer(QueueList targetWindow)
 {
     this.targetWindow      = targetWindow;
     targetWindow.GotFocus += (s, e) => cancel = true;
 }