There is an event "Click" for the treeview...You can add this event, and
call it.
You can choose this event from the "Events" windows in visual studio.net
There is an AfterSelect event on the TreeView which is fired whenever a different node is selected in the tree. You can also determine what happened to raise the event from the passed in arguments so, something like this should work whenever a node is clicke
if ( e.Action == TreeViewAction.ByMouse
MessageBox.Show( "Clicked" )
}
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.