R
Rich
Another question from a noob.
I need to use a Tree View and perform actions when the user clicks on
nodes in the tree.
I can manually add a handler function for NodeMouseClick, but this
requires me to edit the InitializeComponent method in the region
"Windows Form Designer Generated Code". The comments in this region
say "do not edit this method" - this leads me to believe there is a
better way to do this.
What is the "right" way to add a handler for mouse clicks on nodes in a
tree view?
Thanks,
I need to use a Tree View and perform actions when the user clicks on
nodes in the tree.
I can manually add a handler function for NodeMouseClick, but this
requires me to edit the InitializeComponent method in the region
"Windows Form Designer Generated Code". The comments in this region
say "do not edit this method" - this leads me to believe there is a
better way to do this.
What is the "right" way to add a handler for mouse clicks on nodes in a
tree view?
Thanks,