Simple button animations

前端 未结 3 600
-上瘾入骨i
-上瘾入骨i 2021-01-14 15:51

I am trying to learn .NET programming. As a part of my learning, I tried to make some effects on buttons. It is working... but not as smooth as I imagined! I

3条回答
  •  说谎
    说谎 (楼主)
    2021-01-14 16:08

    If you are using WinForms, animations are going to be rather painful and you will have to handle them yourself via Timer objects.

    If you are getting into .NET and want to make cool-looking applications with animatons and styling, I highly recommend you look at WPF instead. It can do animations very easily though C# or XAML.

    While it is still possible in WinForms, it will take far more development time where as those features are built into WPF already (and optimized).

提交回复
热议问题