public void Button1_Click(object sender, EventArgs e) { int a = int.Parse(TextBox1.Text); int b = int.Parse(TextBox2.Text); Label1.Text = Plus.myPlus(a, b).ToString(); }