コード例 #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);
     }
 }
コード例 #2
0
        private void OnInfoBarClosed(object sender, InfoBarEventArgs e)
        {
            var toolWindow = GetToolWindow();

            toolWindow.InfoBarActionItemClicked -= OnInfoBarActionItemClicked;

            toolWindow.InfoBarClosed -= OnInfoBarClosed;

            _isActive = false;
        }
コード例 #3
0
 private void OnInfoBarClosed(object sender, InfoBarEventArgs args)
 {
     MessageBox.Show(string.Format("Closed"));
     UnsubscribeFromInfoBarEvents();
 }
コード例 #4
0
 public void Click(InfoBarEventArgs e)
 {
     this.OnClick(this, e);
 }
コード例 #5
0
 private void OnInfoBarClosed(object sender, InfoBarEventArgs args)
 {
     MessageBox.Show(string.Format("Closed"));
     UnsubscribeFromInfoBarEvents();
 }