Example #1
0
        private void OnSetTrayIcon(TrayIcon trayIcon)
        {
            var handler = SetTrayIcon;

            if (handler != null)
            {
                handler(this, new SetTrayIconEventArgs {
                    TrayIcon = trayIcon
                });
            }
        }
 private void OnSetTrayIcon(TrayIcon trayIcon)
 {
     var handler = SetTrayIcon;
     if (handler != null) handler(this, new SetTrayIconEventArgs { TrayIcon = trayIcon });
 }