如何为 WinForms 滚动设置动画

如何为 WinForms 滚动设置动画

问题描述:

我有一个带有滚动条的 C# 控件.

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?

我正在寻找的是缓动方程:http://www.gizma.com/easing

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