如何在Visual Basic 2008中制作照片查看器 [英] How To Make A Photo Viewer In Visual Basic 2008
本文介绍了如何在Visual Basic 2008中制作照片查看器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人有没有关于如何在Visual Basic 2008中为智能设备制作照片查看器的教程?
在此先感谢
Does anyone has a tutorial of How To Make A Photo Viewer In Visual Basic 2008 for a smart device?
Thanks in advance
推荐答案
我没有教程,但是几年前我在Windows CE Compact Framework中工作.
打开Visual Studio并创建一个智能设备项目.单击查看",然后选择工具箱".
在通用设备控件"下,您应该看到一个名为图片框"的控件.将其拖到您的应用程序中.
如果要显示图片,只需将PictureBox.Image设置为要显示的图片的文件路径.
这样可以为您提供一个良好的起点吗?
Ryan McBeth
I don''t have a tutorial, but I worked in the Windows CE Compact Framework a couple of years ago.
Open up Visual Studio and create a Smart Device Project. Click on "View" and select "toolbox."
Under "Common Device Controls" you should see a control called "Picture Box." Drag it to your application.
All you need to do if you want to display a picture is set the PictureBox.Image to the file path of the image that you want to display.
Does that give you a good starting point?
Ryan McBeth
首先添加一个图片框和一个openfile对话框
在按钮上单击甚至可以写出
me.picturebox1.load(openfiledialog1.filename)
我希望这会有所帮助,这非常简单!
First add a picture box and an openfiledialog
the on a button click even write this
me.picturebox1.load(openfiledialog1.filename)
I hope this helps, it is very easy!
这篇关于如何在Visual Basic 2008中制作照片查看器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文