以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- [求助]怎样用按钮触发另一控件的某个事件? (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=194980) |
-- 作者:qq51837000 -- 发布时间:2025/2/13 12:50:00 -- [求助]怎样用按钮触发另一控件的某个事件? 例如:我想点击Button1时触发ComboBox1的SelectedIndexChanged事件,代码怎么写? |
-- 作者:有点蓝 -- 发布时间:2025/2/13 13:33:00 -- 只能把SelectedIndexChanged事件代码改改放到Button1的click事件 |