예제 #1
0
        private void _conversationWindow_NeedsAttention(object sender,
                                                        ConversationWindowNeedsAttentionEventArgs e)
        {
            FocusWindow focusWindow = new FocusWindow(GetWindowFocus);

            Dispatcher.Invoke(focusWindow, new object[] { });
        }
예제 #2
0
 public void Show()
 {
     if (FocusLayoutWindow.IsDisposed)
     {
         FocusLayoutWindow = new FocusWindow();
     }
     if (FocusLayoutWindow.chromiumWebBrowser == null)
     {
         FocusLayoutWindow.SetupBrowser();
     }
     if (!FocusLayoutWindow.Visible)
     {
         FocusLayoutWindow.Show();
     }
 }
예제 #3
0
 private FocusController()
 {
     FocusLayoutWindow = new FocusWindow();
 }