예제 #1
0
        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.";
            }
        }
예제 #2
0
파일: Form1.cs 프로젝트: junkuvo/.net
        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.";
            }
        }