title: How can I programmatically click a TreeView TreeNode so it appears highlighted in the list and fires the AfterSelect event?
body: <p>I have a TreeView control in a Winforms app, and basically the objective is to display a form that contains a TreeView control, and I want to display the form with a node opened (easy - EnsureVisible) and selected.  </p>
  
  <p>The problem that I'm running into is that when I set the TreeView control's SelectedNode property, the node isn't highlighted and the AfterSelect event isn't firing as I would expect it to.  The AfterSelect thing is easy to code around, but the lack of highlighting is annoying.  </p>