treeview node problem
-
:(( hello does someone know how to put a code in one of the treeview nodes??? i want every nodes to open differennt window forms.. how can i do it?? please some sample codes.. i really appreciate it, :(( ginji
Well, I assume the nodes have a tag property. You could set that, handle the selected node changed event, check the tag and based on that, open a form.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
:(( hello does someone know how to put a code in one of the treeview nodes??? i want every nodes to open differennt window forms.. how can i do it?? please some sample codes.. i really appreciate it, :(( ginji
hi ginji do not Cry too much its not good for ur health and it never make you a good developer. check the tree node events there is event call on node click in this event
if(e.Node ==Name of the Node) { Form2 obj = new Form2(); obj.Show(); }
wasim khan