private void btnGo_Click(object sender, EventArgs e) { SendEnvelope Srv = new SendEnvelope(); SoapEnvelope EnvOut = null; Boolean Status = false; StsBar.Clear(); RichOut.Clear(); EnvOut = Srv.Send(Url.Text, this, ref Status); if (Status) { StsBar.Text = "Success!"; if (EnvOut != null) { RichOut.Text = FormatXml(EnvOut); } } else { StsBar.Text = "Failed."; } }
private void btnGo_Click(object sender, EventArgs e) { SendEnvelope Srv = new SendEnvelope(); SoapEnvelope EnvOut = null; Boolean Status = false; StsBar.Clear(); RichOut.Clear(); EnvOut = Srv.Send(Url.Text, this, ref Status); if (Status) { StsBar.Text = "Success!"; if (EnvOut != null) { RichOut.Text = FormatXml(EnvOut); } } else { StsBar.Text = "Failed."; } }