public ProcessHandlerServiceControl()
		{
			ProcessStartArgs = new ProcessStartArgs();
			InitializeComponent();
		}
Exemple #2
0
		public Task<ProcessStartResultArgs> StartProcess(ProcessStartArgs args)
		{
			Request<ProcessStartResultArgs> request = new Request<ProcessStartResultArgs>(this);
			return request.Send(args, 700).ContinueWith(t =>
			{
				if (t.Result.IsFaulted == false)
				{
					Processes.Add(t.Result.ProcessItem);
				}

				return t.Result;
			}, Tcp.UiScheduler);
		}