/// <summary> /// Call to fire the <see cref="OnClick"/> event. /// </summary> /// <param name="e">Event arguments.</param> public void Click(InfoBarEventArgs e) { if (this.OnClick != null) { this.OnClick(this, e); } }
private void OnInfoBarClosed(object sender, InfoBarEventArgs e) { var toolWindow = GetToolWindow(); toolWindow.InfoBarActionItemClicked -= OnInfoBarActionItemClicked; toolWindow.InfoBarClosed -= OnInfoBarClosed; _isActive = false; }
private void OnInfoBarClosed(object sender, InfoBarEventArgs args) { MessageBox.Show(string.Format("Closed")); UnsubscribeFromInfoBarEvents(); }
public void Click(InfoBarEventArgs e) { this.OnClick(this, e); }