private void btnAdditionDblNewPar2_Click(object sender, EventArgs e) { unCalculNewPar2 = new calcPar2(Convert.ToDouble(txtA.Text), Convert.ToDouble(txtB.Text)); lblResultat.Text = Convert.ToString(unCalculNewPar2.addition()); }
private void frmCalcul_Load(object sender, EventArgs e) { unCalcul = new calc(); unCalculPar2 = new calcPar2(); }