private void AddToSystemTray()
{
this.trayMenu = new ContextMenuStrip();
this.trayIcon = new NotifyIcon();
this.trayIcon.Text = GlobalSettings.ApplicationName;
this.trayIcon.Icon = Icon.FromHandle(((Bitmap)Icons.ResourceManager.GetObject("process_syncing_idle_active")).GetHicon());
this.trayIcon.ContextMenuStrip = trayMenu;
this.trayIcon.Visible = true;
}