I'm trying to create a Wilks Calculator with Windows Forms. I have a Constructor:
public Calculation(double squat, double bench, double deadlift, double weight)
but its parameters are of type double. However, I need the user to input into a TextBox (which is of type string). How do I initialize the constructor with the entries of the textbox?