예제 #1
0
        private void OnTrayNotify(TrayNotifyEventArgs args)
        {
            var handler = TrayNotify;

            if (handler != null)
            {
                handler(this, args);
            }
        }
예제 #2
0
        private void RulesEngineTrayNotify(object sender, TrayNotifyEventArgs args)
        {
            ToolTipIcon tipIcon = _toolTipIconMapping[args.TipIcon];

            Invoke(() => _notifyIcon.ShowBalloonTip(TIMEOUT, args.Title, args.TipText, tipIcon));
        }
예제 #3
0
 private void RulesEngineTrayNotify(object sender, TrayNotifyEventArgs args)
 {
     ToolTipIcon tipIcon = _toolTipIconMapping[args.TipIcon];
     Invoke(() => _notifyIcon.ShowBalloonTip(TIMEOUT, args.Title, args.TipText, tipIcon));
 }