Exemplo n.º 1
0
 /// <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);
     }
 }
Exemplo n.º 2
0
        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();
 }
Exemplo n.º 4
0
 public void Click(InfoBarEventArgs e)
 {
     this.OnClick(this, e);
 }
 private void OnInfoBarClosed(object sender, InfoBarEventArgs args)
 {
     MessageBox.Show(string.Format("Closed"));
     UnsubscribeFromInfoBarEvents();
 }