private void OnTrayNotify(TrayNotifyEventArgs args) { var handler = TrayNotify; if (handler != null) { handler(this, args); } }
private void RulesEngineTrayNotify(object sender, TrayNotifyEventArgs args) { ToolTipIcon tipIcon = _toolTipIconMapping[args.TipIcon]; Invoke(() => _notifyIcon.ShowBalloonTip(TIMEOUT, args.Title, args.TipText, tipIcon)); }