Coin.SingleInstanceApplicationWrapper.OnStartupNextInstance C# (CSharp) Method

OnStartupNextInstance() protected method

protected OnStartupNextInstance ( Microsoft eventArgs ) : void
eventArgs Microsoft
return void
        protected override void OnStartupNextInstance(Microsoft.VisualBasic.ApplicationServices.StartupNextInstanceEventArgs eventArgs)
        {
            System.Collections.ObjectModel.ReadOnlyCollection<string> argsCollection = eventArgs.CommandLine;
            int count = argsCollection.Count - 1;
            string[] args = new string[count];
            for (int i = 0; i < count; ++i)
                args[i] = argsCollection[i + 1];
            App.OnStartupNextInstance(args);
        }