C#如何在winform中创建简单的图片幻灯片?
我希望能够制作一个简单的图片幻灯片,比如说 img1 >图像2> img3,然后在 pictureBox 中不断循环它。这可能吗?
我已经在互联网上搜索过,但我得到了很多我不需要的复杂示例。所以汤姆对我来说很难删除不必要的内容,因为我只是 C# 的初学者。
任何人都可以透露一些信息吗?
如果我可以做淡入/淡出效果也很好,但我想先知道如何做幻灯片。
我确实读到很多人说使用 WPF 会更好,但由于我是初学者,我担心跳到 WPF 会让我变得更复杂。因此我希望我现在能坚持使用winform。
如果有人可以提供代码示例或任何优秀教程的链接,我们将不胜感激。
i wanted to be able to make a simple slideshow of pictures let say img1 > img2 > img3 and then just continually loop it in a pictureBox. is this possible?
i've searched the internet but i get lots of complicated example which i dont need. so its hard for me tom remove the unnecessary since im just a beginner in c#.
can anyone shed some light?
it would also be nice if i can do a fade in/fade out effect but i want to know how to do the slideshow first.
i did read a lot of people saying that it would be better using WPF but as i am a beginner,im afraid jumping to wpf would make it more complex for me. thus i hope i can stick to winform for now.
if anyone can give a code sample or any links to a good tutorial that would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为这很简单:
http://www.codeproject.com/KB/GDI-plus/vision.aspx
I think this one is about as simple as it gets:
http://www.codeproject.com/KB/GDI-plus/vision.aspx