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); }; }
private void WindowActivated(Window GotFocus, Window LostFocus) { if (GotFocus.IsBookmarks()) { _host.ReleaseActivation(LostFocus.LinkedWindowFrame); _host.RequestActivation(GotFocus.LinkedWindowFrame, Moniker); } }
private void WindowActivated(Window GotFocus, Window LostFocus) { if (GotFocus.IsErrorList() && _errorList.TableControl.Entries.Any()) { _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(); }; }