how to go from TreeNode.FullPath data and get the actual treenode?
问题 I would like to store some data from TreeNode.FullPath and then later i would like to re-expand everything up to that point. Is there a simple way of doing it? Thanks a lot! 回答1: I had a similar problem (but I just wanted to find the treenode again) and found this: http://c-sharpe.blogspot.com/2010/01/get-treenode-from-full-path.html i know it only answers part of your problem, but better than no replies at all ;) 回答2: You can write it as an extension method to the TreeNodeCollection : using