Results 1 to 36 of 36

Thread: Loading progress Circle?

Threaded View

  1. #9

    Thread Starter
    Addicted Member
    Join Date
    Jan 2012
    Posts
    144

    Re: Loading progress Circle?

    Quote Originally Posted by OhGreen View Post
    I don't personally like gifting answers, I feel that you don't learn anything that way.

    Method:

    The idea is to draw two imaginary circles, one smaller than the other and placed in the middle of the larger.

    You then, draw a line from a point on the smaller circle to a point on the larger circle.

    Using the tick event of a timer, you can keep painting the next line on the next two points.

    For now that is your aim.

    To do that, take some baby steps:

    - Do some googling, learn how to paint a line on a form. Once you've done it, play around with changing it's colour, location etc until you're confident.

    - Make sure you know how to use a timer to move that line and draw it somewhere else. To do this, make some integer variables and use them as your x and y locations for the line, then on timer tick add 10 to the variables and redraw.

    You may not like the fact I'm not doing the work for you, but you'll learn a lot by trying the above.
    so, does the code that i right for drawing two circles go into a class that is attached to the project?

    so if when i start by drawing a line on the form, will all my drawing code go in a class or directly in my form code?
    Last edited by rafter_01; Feb 22nd, 2012 at 06:55 AM. Reason: missed q

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width