ImageFile
字符型,用于设置要显示的图片文件。
示例一
Dim
pbx As
WinForm.PictureBox
= e.Form.Controls("PictureBox1")
pbx.ImageFile
= "c:\data\玫瑰.png"
示例二
图片文件也可以来自web:
Dim
pbx As
WinForm.PictureBox
= e.Form.Controls("PictureBox1")
pbx.ImageFile
= "http://www.baidu.com/img/bdlogo.gif"