Getting animated expansion effect to my GUI in .NET 2.0 RRS feed

  • Question

  • I have one GUI in .NET 2.0

    based on user giving all the required initial inputs, I would like to expand in an animated fashion the GUI to take advanced inputs.

    Pl Guide me to achieve this. 

    My code is in VB.NET 2005

    Tuesday, February 26, 2013 3:19 AM


All replies

  • Actually WinForms is a bad choice for animated UI, because its rendering is not hardware-accelerated (so you get high CPU load and animation lags), and there's no way to add property animations in a simple manner as you add property bindings.

    And while you cannot fight the first problem, the second one is quite easy to resolve with It is an open-source project to add animations capability to WinForms and .NET 2.0. 
    Also there's another project ( which provides similar functionality and also can target .NET 2.0 (but currently targets .NET 3.5 and requires some work to switch to 2.0).

    Tuesday, February 26, 2013 6:58 AM
  • Hi,

    depends on what you want to do... If you only want to change the Size of a Form/Control or its Opacity, WinForms and a Timer will do quite well. For more complex, or longer running (smooth) animations WPF is the much better choice.



    Tuesday, February 26, 2013 9:29 AM
  • This link can help you out

    Mark Answered, if it solves your question and Vote if you found it helpful.
    Rohit Arora

    Wednesday, February 27, 2013 6:17 AM