如何沿固定线移动图像 [英] How Can I Make Moving Image Along Fix Line

查看:97
本文介绍了如何沿固定线移动图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我是vb.net的新版本。我想让图像沿着修复线动画移动。我该怎么办?

Hello,
I am a new leaner of vb.net . I want to make a image moving along a fix line animation. How can i do?

推荐答案

首先你可以使用PictureBox作为你的图像。

现在你将一个Timer插入你的应用程序(这是一种可能性。

定时器调用一个Sub,你可以使用首选的Intervall增加PictureBox的位置。

现在你只需要检查限制你的屏幕。



问候

拉尔夫
At first you could use a PictureBox for your Image.
Now you insert a Timer into your Application (this is one possibility).
The Timer calls a Sub in which you can increase the Position of the PictureBox with the prefered Intervall.
Now you only have to check the limits of your Screen.

Greetings
Ralf


这篇关于如何沿固定线移动图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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