protected override bool XCreateOutput(out XOutput xoutput, out string input) { bool bRes = true; xoutput = new PipeOutput(out input); return(bRes); }
protected override bool XFunction(XInput xinput, XOutput xouput, XOutput xerror, XOutput xlog) { return(false); }
protected override bool XCreateRemoteOutput(string output, out XOutput xoutput) { xoutput = new RemotePipeOutput(output); return(true); }
void ShowMessage(XOutput output) { MessageBox.Show(output.Message + "\n" + output.OtherInfo, Application.ProductName, MessageBoxButtons.OK, output.IsException ? MessageBoxIcon.Error : MessageBoxIcon.Information); }