加载表单中的多个图像. [英] Loading multiple images in form.

查看:39
本文介绍了加载表单中的多个图像.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在表单中加载图像?
我该怎么办?
我必须在一个必须在xml文件中检索的文本框查询中加载多个图像.

请帮助我... :)

[edit]仅主题行-OriginalGriff [/edit]

How can I load images in form?
What do I need to do?
I have to load multiple images in just one textbox query that I have to retrieve in xml file.

Please help me... :)

[edit]Subject line only - OriginalGriff[/edit]

推荐答案

您可以在窗体上放置一个PictureBox控件并调用它,例如PictureBox1.然后,您可以调用PictureBox1.Load(pathName),其中pathName是要在PictureBox中显示的图像的路径.
尝试执行此操作,然后在遇到任何问题时发布您的代码.
You can put a PictureBox control on your form and call it, for example, PictureBox1. Then you can call PictureBox1.Load(pathName) where pathName is the path for the image to display in the PictureBox.
Try that then post your code if you have any problems.


这篇关于加载表单中的多个图像.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆