How to animate a WinForms scroll

喜你入骨 提交于 2020-01-06 13:57:22

问题


I have a C# control that has an scroll.

When a user drag and drop, the scrolls are updated. I would like to animate the drag&drop movement like google maps does. The movement is smoothly animated.

What technique must I use if want to simulate a swipe in the control, and perform a smoothly animated?


回答1:


What I was looking for was the easing equations: http://www.gizma.com/easing



来源:https://stackoverflow.com/questions/19687140/how-to-animate-a-winforms-scroll

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!