Link to home
Start Free TrialLog in
Avatar of sbreen
sbreen

asked on

C#: treeView1_AfterSelect

My goal is to select a node (clicking with my mouse), and depending which node I have selected, do something.  So far, I have populated a TreeView with nodes.

The code I imagine would be placed inside the AfterSelect Event Handler.

private void treeView1_AfterSelect(object sender, System.Windows.Forms.TreeViewEventArgs e)
{
  // In here I need to determine which node was selected (by clicking it with my mouse)

}

Please Help!
ASKER CERTIFIED SOLUTION
Avatar of Razzie_
Razzie_

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial