Example #1
0
        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);
        }
Example #2
0
    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);
    }