private void goBtn_Click(object sender, EventArgs e) { // Retrieve the values of the parameters in the TextBoxes WrapperClass wc = new WrapperClass(); wc.getPriceCallEuro(nbSamples, maturity, S0, strike, sigma, r); prixLabel.Text = wc.getPrice().ToString(); icLabel.Text = wc.getIC().ToString(); }