Simple question from a very no experienced programmer
<p>Simple question: This is a method I created</p>

<pre><code>public void move()
{
    double radians = direction * Math.PI / 180;
    //change the x location by the x vector of the speed
    X_Coordinate += (int)(speed * Math.Cos(radians));

    //change the y location by the y vectior of the speed
    Y_Coordinate -= (int)(speed * Math.Sin(radians));
}
</code></pre>

<p>How do I take a value enter into a text box, use a button called move, to call this method and display the result?</p>
