private void Button2_Click(object sender, EventArgs e) { Calculator Calculator = new Calculator(); tbUitkomst.Text = Convert.ToString(Calculator.Square(Convert.ToDouble(tbGetal1.Text))); }