Also, if you want to dynamically load forms, you can do this using
reflection. It's not as hard as it sounds, and I can provide asimple code
sample if you're interested.
This is as opposed to having a case statement for every node (which works
absolutely just fine). I'm talking for example if you want one function that
will open the appropriate form no matter how many nodes you add, without
adding more case statements.
Good luck.
[quoted text, click to view] "Oh-its-all-gone-wrong" wrote:
> Hi All,
> I have a TreeView setup with 2 Items on it. Node1, Node2. I would Like to be
> able to open a form called Form1, when I double click on Node1, Form 2 when
> I double click on Node 2. I`ve done a google search but can`t find to much
> info on it.
>
> Could somebody possible point me in the right direction with a bit of code
> or link please?
>
> Many Thanks
>
> Si
>
>