如何将集合传递到VB.NET中的另一种形式 [英] How to pass Collections to another form in VB.NET

查看:64
本文介绍了如何将集合传递到VB.NET中的另一种形式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经能够将指纹和其他一些数据捕获到一个集合中.现在,我想将此收藏集传递给另一种形式.

I have been able to capture fingerprint and some others data into a collection. Now i want to pass this collection to another form.

Any assistance would be appreciated.

推荐答案

在主窗体上显示一个属性,然后从其他窗体调用它.
Expose a property on your main form and then call it from your other form.


公开其他形式的Collection类型属性,并在填充时将其设置为第一种形式.
Expose a Collection type property in your other form and set it in first form when you populate it.


这篇关于如何将集合传递到VB.NET中的另一种形式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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