Exemplo n.º 1
0
 private void notifyOnMergeRequestEvent(MergeRequestEvent e)
 {
     if (!_eventFilter.NeedSuppressEvent(e))
     {
         BalloonText balloonText = getBalloonText(e);
         _trayIcon.ShowTooltipBalloon(balloonText);
     }
 }
Exemplo n.º 2
0
 private void notifyOnDiscussionEvent(DiscussionEvent e)
 {
     if (!_eventFilter.NeedSuppressEvent(e))
     {
         BalloonText balloonText = getBalloonText(e);
         _trayIcon.ShowTooltipBalloon(balloonText);
     }
 }
Exemplo n.º 3
0
        internal void ShowTooltipBalloon(BalloonText balloonText)
        {
            _notifyIcon.BalloonTipTitle = balloonText.Title;
            _notifyIcon.BalloonTipText  = balloonText.Text;
            _notifyIcon.ShowBalloonTip(notifyTooltipTimeout);

            Trace.TraceInformation(String.Format("Tooltip: Title \"{0}\" Text \"{1}\"",
                                                 balloonText.Title, balloonText.Text));
        }