private void label2_Click(object sender, EventArgs e) { label2.Text = (remoteObj.Sin(double.Parse(textBox1.Text))).ToString(); }