public ProcessProgressForm() { _failed = false; InitializeComponent(); _processCaller = new ProcessCaller(this); _processCaller.StdErrReceived += _processCaller_StdErrReceived; _processCaller.StdOutReceived += _processCaller_StdOutReceived; _processCaller.Completed += ProcessCallerCompletedOrCancelled; _processCaller.Cancelled += ProcessCallerCompletedOrCancelled; _processCaller.Failed += _processCaller_Failed; Text = "Output"; }