public static void ShowNotifyIcon() { _notifyIcon = new NotifyIcon(Properties.Resources.ProgramName, Properties.Resources.UIAssistant); _notifyIcon.AddMenuItem(TextID.TrayIconSettings.GetLocalizedText(), (_, __) => ShowSettingsWindow()); _notifyIcon.AddMenuItem(TextID.TrayIconExit.GetLocalizedText(), (_, __) => ExitApplication()); _notifyIcon.Show(); }