/// <summary> /// Activates the first instance of the application with arguments from a second instance. /// </summary> /// <param name="args">List of arguments to supply the first instance of the application.</param> private static void ActivateFirstInstance(IList <string> args) { // Set main window state and process command line args if (CurrentApp == null) { return; } CurrentApp.SignalExternalCommandLineArgs(args); }