Exemple #1
0
        public bool SignalExternalCommandLineArgs(IList <string> args)
        {
            Application.Current.MainWindow.BringIntoView();

            IShell shell = AppBootstrapper.Container.GetExportedValue <IShell>();

            foreach (string arg in args.Skip(1))
            {
                shell.FileNames.Add(arg);
            }

            shell.BringLastTabToFront();

            return(true);
        }