一种形式上的动作导致另一种形式上的动作 [英] Actions on one form to cause actions on another form

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

问题描述

喜,具有以一种形式的第一form.when复选框两种形式与一个复选框即时检查它应该反映在另一种形式...即,如果第一形式的复选框被选中,则第二表单控件将可见,否则,如果未选中,则第二个窗体控件将不可见.

i m having two forms with one checkbox in first form.when the checkbox of one form is checked it should be reflected in another form...i.e if the checkbox of first form is checked ,then the second form controls will be visible,else if not checked then the second form controls will be invisible .

推荐答案

我已经回答了类似的问题.

请参阅以下讨论:如何在c#winforms应用程序中设置并获取属性值从一种形式到另一种形式 [
I already answered similar Questions.

See this discussion: how to set and get property values from one form to another form in c# winforms application[^], please review all Answers; you''ll find a good set of options to resolve this or similar issues.

—SA


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

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