如何为 WinForms 滚动设置动画 [英] How to animate a WinForms scroll

查看:31
本文介绍了如何为 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

这篇关于如何为 WinForms 滚动设置动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆