private void Multiplicacion_Click(object sender, EventArgs e) { Multiplicacion ope3 = new Multiplicacion(); ope3.V1 = double.Parse(textBox1.Text); ope3.V2 = double.Parse(textBox2.Text); label3.Text = ope3.calcular().ToString(); }
private void checkBox3_CheckedChanged(object sender, EventArgs e) { checkBox2.Checked = false; checkBox1.Checked = false; checkBox4.Checked = false; Multiplicacion obj3 = new Multiplicacion(); obj3.N1 = double.Parse(textBox3.Text); obj3.N2 = double.Parse(textBox4.Text); label4.Text = obj3.Calculos().ToString(); }