I'm developing an add-in to .Net Reflector and I need to expand all the nodes in the windowsAnalyzer TreeView by code. I tried to do it recursively using the expand() method but when the recursion expands the
second level stops there becouse (I think) the node Isn't properly loaded. My code is something like:
analyzerTreeView.AfterExpand += new TreeViewEventHandler(this.MethodDependencyAfterExpand);
private void MethodDependencyAfterExpand(object sender, TreeViewEventArgs e)
foreach (TreeNode node in e.Node.Nodes)
Can someone help me to make it work?