private void button1_Click(object sender, EventArgs e) { double num1 = double.Parse(textBox1.Text); double num2 = double.Parse(textBox2.Text); string str = textBox3.Text; double ressub = remoteObj.Calculation(num1, num2, str); label2.Text = ressub.ToString(); }