[c#-form]Progress bar animation.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • piercy
    New Member
    • Aug 2007
    • 77

    [c#-form]Progress bar animation.

    its beta release day wooo!!.. or not. my colleague decides to kill my dreams and make me change some more stuff..

    Anyway, ive seen this before but i cant work out to do it. I need a progress bar which is animated backwards and forwards. so the green part bounces of the ends back and forth? i thought it was a standard thing but i cant find it. Is this possible in VS2003 in .net 1.1? Would someone be able to post some smaple code if its doable?

    Thanks,
    Piercy
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    You could create it homemade? It's not a standard control thought.

    Create a custom control and handle the onPaint methods and stuff and use the Graphics object to draw it out.


    Or search the web for somebody who's already made it, because they probably have

    Comment

    • mzmishra
      Recognized Expert Contributor
      • Aug 2007
      • 390

      #3
      I have done the same type of feature using a .js file and calling the methods on
      <body onbeforeunload>

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        is this for a webpage or a windows application?

        Comment

        • piercy
          New Member
          • Aug 2007
          • 77

          #5
          Originally posted by Plater
          is this for a webpage or a windows application?
          windows app. however, this is not my main problem. yet again im told i have to do some sort of "proper oo" code. dont really know whatw as wrong before but im having to redo my whole login page involving two classes, delegates, custom events and threads... sound like imense fun.. and all because im being told to. ill get back to the loading part when i get my login form up and running.

          Comment

          • r035198x
            MVP
            • Sep 2006
            • 13225

            #6
            Originally posted by piercy
            windows app. however, this is not my main problem. yet again im told i have to do some sort of "proper oo" code. dont really know whatw as wrong before but im having to redo my whole login page involving two classes, delegates, custom events and threads... sound like imense fun.. and all because im being told to. ill get back to the loading part when i get my login form up and running.
            Whoever told you to do that must be a very special friend of yours.
            He gave you some very good advice.

            Comment

            • piercy
              New Member
              • Aug 2007
              • 77

              #7
              Originally posted by r035198x
              Whoever told you to do that must be a very special friend of yours.
              He gave you some very good advice.
              lol, yes i know... but it's a hard concept to grasp. may not seem pointless to the rest of you but when doing it it feels like im walkign 10 miles to a pub i dislike rather than walking in the one in front of me which i like.

              oh well, almost finished the login at last. few more background worker things to do then ill be back on the progres bar.

              Comment

              Working...