Esempio n. 1
0
 private void button6_Click(object sender, EventArgs e)
 {
     ServiceReference1.Service1Client gamble = new HellWorldESMTesterClient.ServiceReference1.Service1Client();
     try
     {
         string s = gamble.CallWCFDependantService(5);
         MessageBox.Show(s);
     }
     catch (Exception ex)
     {
         MessageBox.Show("all is normal" + ex.Message);
     }
 } // end button5_Click
Esempio n. 2
0
 private void button4_Click(object sender, EventArgs e)
 {
     ServiceReference1.Service1Client gamble = new HellWorldESMTesterClient.ServiceReference1.Service1Client();
     try
     {
         string s = gamble.RandomWorkingMethod(5);
         MessageBox.Show(s);
     }
     catch (Exception ex)
     {
         MessageBox.Show("all is normal" + ex.Message);
     }
 }
Esempio n. 3
0
 public Form1()
 {
     InitializeComponent();
     client = new HellWorldESMTesterClient.ServiceReference1.Service1Client();
 } // end Form1