问题描述
假设我们有20张图片,我们必须显示一张图片
5秒后一次显示图像
那么我们要做的是
请为我们的项目提供帮助!... !!!!!!!!!
[edit]已删除喊话"-OriginalGriff [/edit]
Suppose we have 20 images and we have to display one
images at a time after 5 seconds
then what we have to done for that
please help us.... for our project!!!!!!!!!!!
[edit]SHOUTING removed - OriginalGriff[/edit]
推荐答案
将图像存储在数组中,然后使用Timer对象和整数变量为数组建立索引
Store the images in an array and then use a Timer object and an integer variable to index the array
不要将PictureBox控件与动画的.gif一起使用.当某些.gifs显示在PictureBox中时,可能会因GDI +错误而使您的应用程序崩溃.我不确定,但是我的印象是local-palette .gifs可以做到这一点.
Do not use a PictureBox control with an animated .gif. Some .gifs can crash your app with a GDI+ error when displayed within a PictureBox. I''m not sure, but my impression is that local-palette .gifs do this.
这篇关于创建图像动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!