Ejemplo n.º 1
0
 public DebugController(IDialControllerHost host)
 {
     _dte    = host.DTE;
     _events = _dte.Events.DebuggerEvents;
     _events.OnEnterBreakMode  += delegate { host.RequestActivation(_dte.MainWindow, Moniker); };
     _events.OnEnterDesignMode += delegate { host.ReleaseActivation(_dte.MainWindow); };
 }
Ejemplo n.º 2
0
 private void WindowActivated(Window GotFocus, Window LostFocus)
 {
     if (GotFocus.IsErrorList() && _errorList.TableControl.Entries.Any())
     {
         _host.RequestActivation(Moniker);
     }
 }
Ejemplo n.º 3
0
 private void WindowActivated(Window GotFocus, Window LostFocus)
 {
     if (GotFocus.IsBookmarks())
     {
         _host.RequestActivation(Moniker);
     }
 }
 private void WindowActivated(Window GotFocus, Window LostFocus)
 {
     if (GotFocus.IsErrorList() && _errorList.TableControl.Entries.Any())
     {
         _host.ReleaseActivation(LostFocus.LinkedWindowFrame);
         _host.RequestActivation(GotFocus.LinkedWindowFrame, Moniker);
     }
 }
 private void WindowActivated(Window GotFocus, Window LostFocus)
 {
     if (GotFocus.IsBookmarks())
     {
         _host.ReleaseActivation(LostFocus.LinkedWindowFrame);
         _host.RequestActivation(GotFocus.LinkedWindowFrame, Moniker);
     }
 }
 public DebugController(IDialControllerHost host)
 {
     _events = VsHelpers.DTE.Events.DebuggerEvents;
     _events.OnEnterBreakMode  += delegate { host.RequestActivation(Moniker); };
     _events.OnEnterDesignMode += delegate { host.ReleaseActivation(); };
 }