示例#1
0
文件: QueueUpdater.cs 项目: lx223/Q3
        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);
        }
示例#2
0
文件: QueueUpdater.cs 项目: lx223/Q3
        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);
        }
示例#3
0
文件: DisplayTimer.cs 项目: lx223/Q3
 public DisplayTimer(QueueList targetWindow)
 {
     this.targetWindow = targetWindow;
     targetWindow.GotFocus += (s, e) => cancel = true;
 }
示例#4
0
 public DisplayTimer(QueueList targetWindow)
 {
     this.targetWindow      = targetWindow;
     targetWindow.GotFocus += (s, e) => cancel = true;
 }