Shawn,
AFAIK, there are no events for Nodes ... the only event you can use is the AfterSelect ... and yes, use a switch statement.
~~Bonnie
>Thanks Bonnie,
>
>But what i want to do is bind the node to an event at the time of creation of the node.
>
>In your idea i would have to do a switch statement right?
>
>--> Shawn
>
>
>>Shawn,
>>
>>In the AfterSelect EventHandler for the TreeView, you can determine which TreeNode was selected and process accordingly.
>>
>>~~Bonnie
>>
>>