I am making a custom control, simmilar to TreeView, in WinForms C#. And I was wondering how is the Nodes collection made. The one with Roots and Childs. I tried using a simple collection but it doesn't give the functionallity I need.
I tried to take a look at the treeview definition but it doesn't make much sense without seeing the actual implementation.
Maybe someone can give me at least some hints about where should i look for info or/and what exactly to look for.
Google didn't help me much on this, so it's not an option.
Thank you in advance for your help.