private void button1_Click(object sender, EventArgs e) { try { Service1 webservice = new Service1(); textBox3.Text = webservice.AdditionOctalNumbers(textBox1.Text, textBox2.Text); webservice.Dispose(); } catch (Exception ex) { textBox3.Text = ex.Message; } }