コード例 #1
0
        public static ActionLaunch Create(bool indirect, string file, WindowsLaunch parms)
        {
            ActionLaunch launch1 = ActionLaunch.Create(indirect);

            launch1.FileSpecification = new FileSpec(Library.CreateString(file));
            launch1.WinLaunch         = parms;
            return(launch1);
        }
コード例 #2
0
        public static ActionLaunch Create(string file, WindowsLaunch parms, bool newWindow)
        {
            ActionLaunch launch1 = ActionLaunch.Create(true);

            launch1.FileSpecification = new FileSpec(Library.CreateString(file));
            launch1.WinLaunch         = parms;
            launch1.NewWindow         = newWindow;
            return(launch1);
        }