how do I launch a form from treeview in VB.net
I need to launch a form from a treeview
I have designed my treeview
I click on one of the nodes to generate the selected event
how do I find wich node I clicked to run a module.
I tried declaring varible as TreeNode
event code
sub treeview1_selected()
dim firstNode as TreeNode
dim selectNode as TreeNode
selectNode = me.treeview1.SelectedNode
firstNode=????
if selectNode = firstNode then
launchForm()
end if
I appreciate any help
|