示例#1
0
 private void button3_Click(object sender, EventArgs e)
 {
     try {
         Service2 webservice = new Service2();
         textBox4.Text = webservice.Shift(textBox3.Text);
         webservice.Dispose();
     }
     catch (Exception ex)
     {
         textBox4.Text = ex.Message;
     }
 }
示例#2
0
 private void button4_Click(object sender, EventArgs e)
 {
     try {
         Service2 webservice = new Service2();
         MessageBox.Show(webservice.AppointmentPlugin());
         webservice.Dispose();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
示例#3
0
 private void button2_Click(object sender, EventArgs e)
 {
     try
     {
         Service2 webservice = new Service2();
         textBox6.Text = webservice.DifferenceOctalNumbers(textBox4.Text, textBox5.Text);
         webservice.Dispose();
     }
     catch (Exception ex)
     {
         textBox6.Text = ex.Message;
     }
 }