按钮单击另一个表单 [英] Button Click from another form
本文介绍了按钮单击另一个表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
假设我有3种形式:形式a,形式b,形式c。表单a有一个打开表单b的按钮,表单b还有一个打开表单c的按钮。
现在我处于表单a并且我想在单击表单b时禁用表单c上的按钮
let assume i have 3 forms: form a,form b, form c. form a has a button that opens form b and form b also has a button that opens form c.
now i am in form a and i want to disable a button on form c when form b is clicked
推荐答案
表单 a
可以公开(只读)属性,说明表单上的按钮是否为<$ c $应该禁用c> c 。
Forma
could expose a (read-only) property stating if button on formc
should be disabled or not.
这篇关于按钮单击另一个表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文