In the event handler use argument to get clicked node, rather than
TreeView.SelectedNode
property.
TreeView.SelectedNode
property.