private void ShowJiraToolWindow(object sender, EventArgs e) { JiraToolWindow toolWindow = (JiraToolWindow)this.FindToolWindow(typeof(JiraToolWindow), 0, true); IVsWindowFrame windowFrame = (IVsWindowFrame)toolWindow.Frame; ErrorHandler.ThrowOnFailure(windowFrame.Show()); }
public JiraToolWindowNavigatorViewModel(ToolWindowPane parent) { this._parent = (JiraToolWindow)parent; this._searchHost = parent.SearchHost; this._historyNavigator = new HistoryNavigator(); this._service = JiraPackage.Mcs; this._oAuthService = new OAuthService(); this._basicAuthenticationService = new BasicAuthenticationService(); InitializeCommands(this._service); }