如何使用图片框在窗体应用程序中进行幻灯片放映 [英] how do make slide show in window form application using picture box
本文介绍了如何使用图片框在窗体应用程序中进行幻灯片放映的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用图片框在窗体表单应用程序中进行幻灯片放映
how do make slide show in window form application using picture box
推荐答案
将幻灯片图像加载到数组中。
在表单中添加一个计时器并将其设置为适当的时间间隔。
在计时器的_Tick事件中,将PictureBox图像设置为下一个一个在数组中。
Load your slide images into an array.
Add a timer to your form and set it to the appropriate time interval.
In the timer's _Tick event, set the PictureBox image to the next one in the array.
这篇关于如何使用图片框在窗体应用程序中进行幻灯片放映的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文