如何在C#Windows应用程序中的TreeView中为子节点创建Click事件 [英] how to create click event for child node in treeview in c# windows application

查看:55
本文介绍了如何在C#Windows应用程序中的TreeView中为子节点创建Click事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在树视图中为子节点创建点击事件?

how to create click event for child node in treeview?

推荐答案

不是SelectionChanged吗?


如果您的代码结构正确,则永远不需要这样做.在不使用鼠标或键盘的情况下单击节点有什么意义?
If your code was structured correctly, you should never need to do this. What''s the point of clicking a node without using the mouse or keyboard to do it?


这篇关于如何在C#Windows应用程序中的TreeView中为子节点创建Click事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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