locked
how can erase the circle ? RRS feed

  • Question

  •  how can erase the circle ?
     
    maifs
    • Moved by Michael Sun [MSFT]Microsoft employee Thursday, September 11, 2008 7:29 AM Off Topic for Visual C# General (Moved from Visual C# General to Off-Topic Posts (Do Not Post Here))
    Monday, September 8, 2008 7:43 PM

Answers

  • Since you probably draw the circle with a graphics obtained using CreateGraphics, just about anything will erase the circle.  Refresh, Hide, Invalidate, anything that causes a repaint of the region of the circle.
    • Proposed as answer by Shrikant Maske Friday, October 31, 2008 12:23 PM
    • Marked as answer by Mehmood Ahmed Tuesday, November 4, 2008 9:38 AM
    Tuesday, September 9, 2008 6:31 PM

All replies

  • This is going to need some further explanation. What circle?
    Monday, September 8, 2008 7:51 PM
  • You can't its like the software version of permanent marker once the circle's there it aint going anywhere. although it might leave on its own if you scream really loud to it, circles hate that..
    Monday, September 8, 2008 7:58 PM
  • Put it in the boxing ring with a triangle.

    Sorry, couldn't resist.  Long day.


    David Morton - http://blog.davemorton.net/
    Monday, September 8, 2008 8:37 PM
  • Change the value of PI to 2.14159265

    That might require you to change space and time itself.

    But hey, why use someone else's work when you can reinvent the wheel?

    Seriously though, can you give us some more specifics?

    Thanks,

    Steve
    www.stevesiedentop.com
    Tuesday, September 9, 2008 3:44 PM
  • i think you all don't actually understand my problem..


    i use circle in my application .....
    user can draw it in anywhere.

    now how a user can be be erase it or disappear it or finish it.?
    that thing....
    maifs
    Tuesday, September 9, 2008 4:44 PM
  • Since you probably draw the circle with a graphics obtained using CreateGraphics, just about anything will erase the circle.  Refresh, Hide, Invalidate, anything that causes a repaint of the region of the circle.
    • Proposed as answer by Shrikant Maske Friday, October 31, 2008 12:23 PM
    • Marked as answer by Mehmood Ahmed Tuesday, November 4, 2008 9:38 AM
    Tuesday, September 9, 2008 6:31 PM
  • David M Morton said:

    Put it in the boxing ring with a triangle.

    Sorry, couldn't resist.  Long day.


    David Morton - http://blog.davemorton.net/



    One of the most hilarious threads I ever saw. A special forum should be set up, like a Metropolitan Gallery, to collect gems like this one.


    AlexB
    Tuesday, September 9, 2008 6:55 PM
  •  

    Hi,

     

    Thank you for your post!  Unfortunately I am not able to determine which forum or newsgroup is best suited for your question at hand.  Can you provide me a little more detail in regards to the product or technology you are inquiring about?

    Thanks!

    Friday, October 31, 2008 12:23 PM