从form2到form1更改视图 [英] form2 to form1 changing the view
本文介绍了从form2到form1更改视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个表单,其中单击选项时会显示另一种表单.
但是,当我单击该表单时,我希望更改父表单视图或调用一个函数来更改其显示.
i have a form where in when an option is clicked shows another form.
But when i click on that form i want the parent forms view to be changedor a function to be called which changes its display.
推荐答案
您应该查看以下CP文章:在Windows窗体之间传递数据 [ ^ ].它将为您提供一些有关如何实现目标的想法.
问候,
曼弗雷德(Manfred)
You should look at this CP article: Passing Data between Windows Forms[^]. It will give you a couple of ideas of how to achieve your goal.
Regards,
Manfred
这篇关于从form2到form1更改视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文