示例#1
0
        /// <summary>
        /// Load a application in a new thread.
        /// </summary>
        /// <param name="param">The parameters.</param>
        /// <param name="name">The filename or the name (if it is in the PATH environment variable) of the application to start.</param>
        public void LoadAppInThread(string name, string param)
        {
            this._loader = new AppProcessLoader(name, param);
            Thread lcwThread = new Thread(new ThreadStart(this._loader.Start));

            lcwThread.Start();
        }
示例#2
0
 /// <summary>
 /// Load a application in a new thread.
 /// </summary>
 /// <param name="name">The filename or the name (if it is in the PATH environment variable) of the application to start.</param>
 public void LoadAppInThread(string name)
 {
     this._loader = new AppProcessLoader(name);
     Thread lcwThread = new Thread(new ThreadStart(this._loader.Start));
     lcwThread.Start();
 }
示例#3
0
 /// <summary>
 /// Load a application in the same thread.
 /// </summary>
 /// <param name="name">The filename or the name (if it is in the PATH environment variable) of the application to start.</param>
 /// <param name="param">The parameters.</param>
 /// <param name="waitForExit">A value that indicates if the opener should wait as long as the app is not finished.</param>
 /// <param name="timeInMilliseconds">Time to wait in milliseconds, write a value smaller as 0 to wait an unlimited time.</param>
 public void LoadApp(string name, string param, bool waitForExit, int timeInMilliseconds)
 {
     this._loader = new AppProcessLoader(name);
     this._loader.Start(param, waitForExit, timeInMilliseconds);
 }
示例#4
0
 /// <summary>
 /// Load a application in the same thread.
 /// </summary>
 /// <param name="name">The filename or the name (if it is in the PATH environment variable) of the application to start.</param>
 /// <param name="waitForExit">A value that indicates if the opener should wait as long as the app is not finished.</param>
 /// <param name="timeInMilliseconds">Time to wait in milliseconds, write a value smaller as 0 to wait an unlimited time.</param>
 public void LoadApp(string name, bool waitForExit)
 {
     this._loader = new AppProcessLoader(name);
     this._loader.Start(waitForExit);
 }
示例#5
0
 /// <summary>
 /// Load a application in the same thread.
 /// </summary>
 /// <param name="param">The parameters.</param>
 /// <param name="name">The filename or the name (if it is in the PATH environment variable) of the application to start.</param>
 public void LoadApp(string name, string param)
 {
     this._loader = new AppProcessLoader(name, param);
     this._loader.Start();
 }
示例#6
0
 /// <summary>
 /// Load a application in the same thread.
 /// </summary>
 /// <param name="name">The filename or the name (if it is in the PATH environment variable) of the application to start.</param>
 /// <param name="param">The parameters.</param>
 /// <param name="waitForExit">A value that indicates if the opener should wait as long as the app is not finished.</param>
 /// <param name="timeInMilliseconds">Time to wait in milliseconds, write a value smaller as 0 to wait an unlimited time.</param>
 public void LoadApp(string name, string param, bool waitForExit, int timeInMilliseconds)
 {
     this._loader = new AppProcessLoader(name);
     this._loader.Start(param, waitForExit, timeInMilliseconds);
 }
示例#7
0
 /// <summary>
 /// Load a application in the same thread.
 /// </summary>
 /// <param name="name">The filename or the name (if it is in the PATH environment variable) of the application to start.</param>
 /// <param name="waitForExit">A value that indicates if the opener should wait as long as the app is not finished.</param>
 /// <param name="timeInMilliseconds">Time to wait in milliseconds, write a value smaller as 0 to wait an unlimited time.</param>
 public void LoadApp(string name, bool waitForExit)
 {
     this._loader = new AppProcessLoader(name);
     this._loader.Start(waitForExit);
 }
示例#8
0
 /// <summary>
 /// Load a application in the same thread.
 /// </summary>
 /// <param name="param">The parameters.</param>
 /// <param name="name">The filename or the name (if it is in the PATH environment variable) of the application to start.</param>
 public void LoadApp(string name, string param)
 {
     this._loader = new AppProcessLoader(name, param);
     this._loader.Start();
 }