To further my original question, i've run into another problem: Using the
AfterSelect event, this event runs through all of the nodes. I had thought
that i can cancel this event via the TreeViewCancelEventArgs class, however,
i cannot manage to make this work. Reading "Consuming Events" via MSDN
Library seems quite involved, and slightly beyond my understanding. Can
someone provide an example on how to make this event "cancel".
Currently, when the AfterSelect event loops though nodes which have not been
selected, i "avoid" exit the event by testing:
if (e.Action ==TreeViewAction.Unknown) return;
This, nevertheless, does not avoid the fact that the event contnues to loop
through all nodes....