help pls

  • 12 years ago

    Pls anyone help
    i wanted to draw circle on panel1 in the form1 with text box1 as x,textbox2 as y and textbox3 as radius.
    i wanted draw a circle using above textboxes.
    but my coordinates are sometime in "- "also
    for example x=13220.0281,Y=-2691.2319 and radius about 10m
    and at the same time i wanted mark point on that circle with x,y coordinates.
    Pls help me.

  • 12 years ago

    What do you suppose to do with negative coordinates for circle? For drawing text use the same as before - Graphics, namely its function draw text. For creating correct bound rectangle for that text use MeasureString with for example SystemInformation.PrimaryMonitorSize.Width as its width bound.

Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Linux is only free if your time has no value” - Jamie Zawinski