public ProcessHandlerServiceControl() { ProcessStartArgs = new ProcessStartArgs(); InitializeComponent(); }
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); }