/// <summary>
 /// Opens the main application window and show a task bar message that AIC is already running.
 /// </summary>
 /// <param name="args">Command line arguments.</param>
 /// <returns>Always returns true.</returns>
 public bool SignalExternalCommandLineArgs(IList <string> args)
 {
     OpenMainWindow();
     TaskBarNotifier.ShowNotifyMessage("AIC wird bereits ausgeführt.");
     return(true);
 }
 // Hide the window to the tray instead of closing
 protected override void OnClosing(CancelEventArgs e)
 {
     Hide();
     TaskBarNotifier.ShowNotifyMessage("AIC wurde in den Infobereich minimiert.");
     e.Cancel = true;
 }