Hi, I would really need to programatically click on all nodes in the collection, but I cannot see the way how to do it. I end up with trying to call Node_Click event but I dont know how to use arguments. Thank you for your help!
foreach (TreeNode node in treeView1.Nodes)
{
//here I would need to "click" on each node
}
EDITED: I need to raise TreeNode_After select. Its because treeview represents DB structure and if you click on node, it may or may not have childs (depends on what DB retrieves). This cycle should serve as ExpandAll.