void IQueueManager.ShowPage(IClientSubPage page) { if (Thread.CurrentThread != Dispatcher.Thread) { Dispatcher.MyInvoke(LoLClient.QueueManager.ShowPage, page); return; } CloseSubPage(); page.Close += HandlePageClose; CurrentPage = page; SubPageArea.Content = page.Page; SubPageArea.Visibility = Visibility.Visible; ShowTab(Tab.Play); }