I'm making a program that uses a treeview as a menu.
But my question is: if i have on the left side of my program a treeview with different nodes that operates as a menu how can i make some sort of tabcontroll of it?

for example: if i click on Setup different objects come's visable, if i click on a other node the objects of Setup becomes invisable and the one's of the node becomes visable.

What i do now is use a groupbox and everything form setup I put in a groupbox. but i have like 20 nodes so that would be allot of groupboxes and allot of small piece's of code.

How would i solve that?