VB.Net中的图片 [英] Pictures in VB.Net
本文介绍了VB.Net中的图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
在我的项目中,我有一个包含数百个PictureBox的表单.所以我的表格需要很长时间才能加载.有什么办法可以更快地加载它吗?
注意:所有PictureBox都包含相同的图像,而不是不同的图像!
Hi all
In my project, I have a form containing hundreds of PictureBoxes. So my form is taking a long time to load. Is there any way to load it faster?
Note: All the PictureBoxes contain the same image - not different images!
推荐答案
如果要从数据库中填充图像,请使用数据列表.
您无需在几行代码中显示数百个图像框,您就会得到您的结果.
Use Datalist if you are populating images from database.
U will not need to show hundred image box in a few line of code u will get ur result.
到底是将SAME图像加载到数百个图像框中的原因是什么? -对我来说似乎更像是程序设计的缺陷...
What on earth is the reason for loading the SAME image into HUNDREDS of pictureboxes? - Seems more like a program design flaw to me...
这篇关于VB.Net中的图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文