Example #1
0
 private void InitTrayIcon()
 {
     _trayIcon = new TrayIcon.TrayIcon();
     _trayIcon.Init();
     _trayIcon.Icon.Click += trayIcon_ShowClicked;
     _trayIcon.Icon.DoubleClick += trayIcon_DoubleClick;
 }
Example #2
0
 void OnClose(object sender, CancelEventArgs args)
 {
     _trayIcon.Close();
     _trayIcon = null;
 }