图像框控件重用 [英] Image box control reuse
本文介绍了图像框控件重用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一张放在图像框中的图片。我已将该imagebox控件放在form1上。我可以使用与form2,form3等任何其他形式的图像相同的图像框。可以帮助这个
解决方案
没有。控件一次不能存在于多个表单上。
您可以从一个表单中删除它并将其放在另一个表单的Controls集合中。
I have an image that has been placed in imagebox. I have placed that imagebox control on form1. Can i use the same imagebox with image in any other form like form2 , form3. Can any1 help in this
解决方案
No. A control cannot exist on more than one form at a time.
You can remove it from one form and put it in the Controls collection of another though.
这篇关于图像框控件重用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文