Results 1 to 7 of 7

Thread: Circular Progressbar

Threaded View

  1. #1

    Thread Starter
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,394

    Circular Progressbar

    I've never made a user_control before. So I decided to do my take on the circular progressbar. I tried my best to mimic the one used by the most recent IE tabpage when a page is loading.

    Features:
    1. Has 2 layers. 1 layer that doesn't move, where as the other layer rotates.
    2. Uses a timer to rotate the circle


    Drawbacks:
    1. No gradient coloring
    2. Uses a timer, where as some like to use bg workers



    Plans:
    • None really. I'm content


    Custom Properties:
    1. circle_Color = The color of the circle. This color will "stand still" so to speak.
    2. rotating_Color = The rotating color. This color will be the color that rotates around the circle_Color
    3. circle_Width = The thickness of the circle and arc
    4. rotate_Speed = The speed of the rotation. Controls the timer's interval.


    ScreenShot:
    Name:  circular_progressbar.png
Views: 10694
Size:  7.8 KB

    Describing the screenshot: I used 2 radically different color in the screenshot. The purple layer is the circle_Color property where as the yellow rotating arc is the rotating_Color. In the screenshot, the circle_Width is set to 2.

    File:
    Circle Progressbar.zip

    Conclusion:
    I'm up to any suggestions. As this is my first user_control, I'm sure I messed something up?
    Last edited by dday9; Feb 27th, 2013 at 12:13 PM.
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

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