且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

树视图中的子节点单击事件

更新时间:2023-02-05 21:06:10

处理TreeView的AfterSelect事件,并通过e.Node参数检索相应的节点.
然后,您可以使用该信息显示更多信息.
抱歉,但是在不了解您需要显示的内容,TreeNode的内容等等的情况下,我不能再给您任何东西了!
Handle the AfterSelect event for the TreeView, and retrieve the appropriate node via the e.Node parameter.
You can then use that information to display further information.
Sorry, but without knowing a lot more about what you need to display, what your TreeNodes hold, and so forth, I can''t give you any more!