如何以父母表格呼叫儿童控制 [英] How Can I Call Child Controls In Parent Form
本文介绍了如何以父母表格呼叫儿童控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想调用以子格式存在的列表框[name:listBox1]我该怎么做? [来自主要表格]谢谢
Hi, i wanna call a listbox that exists in child form [name: listBox1] how can i do that? [from main form] thanks
推荐答案
Chk这个链接,
希望这会对你有所帮助。
< br $> b $ b
http://stackoverflow.com/questions/3419159/how-to-get-all-child-controls-of-a -windows-forms-form-of-a-type-type-button [ ^ ]
http://stackoverflow.com/ question / 18551412 / how-to-get-mdi-parent-control-from-mdi-child-form [ ^ ]
https://social.msdn.microsoft.com/Forums/windows/en-US/171483a0-1bbc-4a19-b0bd-71efeee9c9ae/how-to-access- child-forms-control-from-base-form-method-c?forum = winforms [ ^ ] http://stackoverflow.com/questions/23311930/accessing-parent -forms-listbox-from-child-form [ ^ ]
如何以两种形式复制列表框之间的所有项目 [ ^ ]
Chk this links,
hope this will help you.
http://stackoverflow.com/questions/3419159/how-to-get-all-child-controls-of-a-windows-forms-form-of-a-specific-type-button[^]
http://stackoverflow.com/questions/18551412/how-to-get-mdi-parent-control-from-mdi-child-form[^]
https://social.msdn.microsoft.com/Forums/windows/en-US/171483a0-1bbc-4a19-b0bd-71efeee9c9ae/how-to-access-child-forms-control-from-base-form-method-c?forum=winforms[^]http://stackoverflow.com/questions/23311930/accessing-parent-forms-listbox-from-child-form[^]
How to copy all the items between listboxes in two forms[^]
请看看这里:
在表单之间传递数据 [ ^ ]。
在两种表格之间转移信息,第1部分:父母对孩子 [ ^ ]
< a href =http://www.codeproject.com/Tips/548131/Transferring-information-between-two-forms-Part>在两种表格之间传递信息,第2部分:孩子到家长 [ ^ ]
在两者之间传递信息两种形式,第3部分:儿童到儿童 [ ^ ]
它可以帮助您理解如何在表单之间传递数据
Please, Have a look here:
Passing Data Between Forms[^].
Transferring information between two forms, Part 1: Parent to Child[^]
Transferring information between two forms, Part 2: Child to Parent[^]
Transferring information between two forms, Part 3: Child to Child[^]
It might help you to understand how to pass data between forms
这篇关于如何以父母表格呼叫儿童控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文