I have a tree control used in my form and have around 10 items in the tree. Each Parent having one sub child/node.
I am handling the SelectionChanged event of the tree. Whenever an treeitem is selected this event is fired and the function开发者_如何学JAVA called. But this function is called at least thrice!!
Is there something that i have done wrong where everytime i select a tree item it is called thrice !!
r u doing something in the handler which causes tree selection event to fire ?
Can you please post some of your code?
EDIT
try putting e.Handeled = true in your handler
精彩评论