Does this help?
VB Code:
  1. If TreeView1.SelectedNode Is TreeView1.Nodes(0) Then
  2. 'Do something here
  3. End If