访问另一种形式的控制 [英] accessing control present in another form

查看:68
本文介绍了访问另一种形式的控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的表格中有一个组合框和一个menustrip。从toolstripMenuItem我调用了另一种形式,比如form1。现在我已经在form1中做了一些事情,并希望反映表单中存在的组合框的变化。如何访问form1中的组合框控件。

提前谢谢。

I have a combobox and a menustrip in my form.From the toolstripMenuItem I have called another form say form1. Now I have done something in form1 and want to reflect changes in the combobox present in the form. How can I access the combobox control in form1.
Thanks in advance.

推荐答案

这些答案 [ ^ ]到类似的问题应该提供您正在寻找的解决方案。
These answers[^] to a similar question should provide the solution you're looking for.


这篇关于访问另一种形式的控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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