private void RulesEngineTrayNotify(object sender, TrayNotifyEventArgs args) { if (InFullscreenMode) { return; } Invoke(() => notifyIcon.ShowBalloonTip(TIMEOUT, args.Title, args.TipText, args.TipIcon)); }
private void OnTrayNotify(TrayNotifyEventArgs args) { var handler = TrayNotify; if (handler != null) handler(this, args); }