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); }
public DisplayTimer(QueueList targetWindow) { this.targetWindow = targetWindow; targetWindow.GotFocus += (s, e) => cancel = true; }