Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. animation on win form like that of MSN messenger?

animation on win form like that of MSN messenger?

Scheduled Pinned Locked Moved C#
questiondesign
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sinanju
    wrote on last edited by
    #1

    How can I display the animation on the win form like that of MSN messenger, which is displayed when we click the login button? By simply placing an animated gif file on the win form, it starts animating, even in design mode. But, I want to display it for some button's click event, like exactly that of MSN messenger. Any idea?

    J L S 3 Replies Last reply
    0
    • S sinanju

      How can I display the animation on the win form like that of MSN messenger, which is displayed when we click the login button? By simply placing an animated gif file on the win form, it starts animating, even in design mode. But, I want to display it for some button's click event, like exactly that of MSN messenger. Any idea?

      J Offline
      J Offline
      Josh Smith
      wrote on last edited by
      #2

      Use a timer, when it ticks show the "next" image in an image sequence. :josh: My WPF Blog[^]

      S 1 Reply Last reply
      0
      • S sinanju

        How can I display the animation on the win form like that of MSN messenger, which is displayed when we click the login button? By simply placing an animated gif file on the win form, it starts animating, even in design mode. But, I want to display it for some button's click event, like exactly that of MSN messenger. Any idea?

        L Offline
        L Offline
        leppie
        wrote on last edited by
        #3

        sinanju wrote:

        But, I want to display it for some button's click event, like exactly that of MSN messenger. Any idea?

        They are done in Macromedia Flash.**

        xacc.ide-0.2.0 preview - Now in 100% C# goodness

        **

        S 1 Reply Last reply
        0
        • J Josh Smith

          Use a timer, when it ticks show the "next" image in an image sequence. :josh: My WPF Blog[^]

          S Offline
          S Offline
          sinanju
          wrote on last edited by
          #4

          thank you :josh: for the reply. The messenger animation may be like what you've said. But, I have a single animated gif file, whose animation is on its own. Do u have any solution for this scenerio?

          1 Reply Last reply
          0
          • L leppie

            sinanju wrote:

            But, I want to display it for some button's click event, like exactly that of MSN messenger. Any idea?

            They are done in Macromedia Flash.**

            xacc.ide-0.2.0 preview - Now in 100% C# goodness

            **

            S Offline
            S Offline
            sinanju
            wrote on last edited by
            #5

            Thank you leppie, for you reply. Here how can i manage to display it, some threading will do the trick, so that i can move the form around while the animation is on?

            1 Reply Last reply
            0
            • S sinanju

              How can I display the animation on the win form like that of MSN messenger, which is displayed when we click the login button? By simply placing an animated gif file on the win form, it starts animating, even in design mode. But, I want to display it for some button's click event, like exactly that of MSN messenger. Any idea?

              S Offline
              S Offline
              sinanju
              wrote on last edited by
              #6

              I've searched a link http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=530668&SiteID=1 It seems to me relevant, I'll try it later.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups