private void notifyOnMergeRequestEvent(MergeRequestEvent e) { if (!_eventFilter.NeedSuppressEvent(e)) { BalloonText balloonText = getBalloonText(e); _trayIcon.ShowTooltipBalloon(balloonText); } }
private void notifyOnDiscussionEvent(DiscussionEvent e) { if (!_eventFilter.NeedSuppressEvent(e)) { BalloonText balloonText = getBalloonText(e); _trayIcon.ShowTooltipBalloon(balloonText); } }
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)); }