Creating method to draw a circle using the centre of the circle and radius
<p>The method I created worked to the point that it would create a circle in a pictureBox but it would only use the coordinates of a rectangle.</p>

<p>I'm trying to create the following,</p>

<ul>
<li>Windows form with:
<ul>
<li>1 pictureBox</li>
<li>1 textBox</li>
<li>1 button</li>
</ul></li>
</ul>

<p>textBox should be used to insert the radius for the circle.             </p>

<pre><code>(double input=Convert.ToDouble(textBox1.Text)

{
private void button1_Click(object sender, EventArgs e)

    {
        double input....
        double radius= Math.PI*input*input;
        Graphics paper;
        paper = pictureBox1.CreateGraphics();
        Pen pen = new Pen(Color.Black);
        getCircle(paper, pen, (variables for center), radius);
    }
private void getCircle(Graphics drawingArea, Pen penToUse, int xPos, int yPos, double radius);

{
}

}
</code></pre>

<p>My problem here being I have no idea how to create a circle using <code>Math.PI*radius*radius</code> with pre determined centre coordinates.</p>

<p>I would like to see an answer with coded method and <code>button_click</code></p>
