title: Programmatically click on node in treeview?
body: <p>I would really need to programmatically 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 don't know how to use arguments.</p>
  
  <pre><code>foreach (TreeNode node in treeView1.Nodes)
  {
      //here I would need to "click" on each node
  }
  </code></pre>
  
  <p>EDITED:
  I need to raise TreeNode_After select. It's 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.</p>