/// <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(); }
/// <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(); }
/// <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); }
/// <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); }
/// <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(); }
/// <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); }
/// <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); }
/// <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(); }