Exemple #1
0
 private void OnButtonEchoClick(object sender, EventArgs e)
 {
     try
     {
         using (var client = new EchoServiceAutoClient(m_TestServiceNode))
         {
             var responce = client.Echo(tbEcho.Text);
             resultEcho.Text = responce;
         }
     }
     catch (Exception error)
     {
         resultEcho.Text = error.ToMessageWithType();
     }
 }
Exemple #2
0
 private void OnButtonEchoClick(object sender, EventArgs e)
 {
     try
     {
         using (var client = new EchoServiceAutoClient(m_TestServiceNode))
         {
             var responce = client.Echo(tbEcho.Text);
             resultEcho.Text = responce;
         }
     }
     catch (Exception error)
     {
         resultEcho.Text = error.ToMessageWithType();
     }
 }