tenshekels
Programmer
I have derived new classes for the TreeNode and TreeView classes that Microsoft provides. Since the TreeNodeCollection class is sealed I created my own class that implements the IList interface.
However, the original TreeNodeCollection class does something important on the "Add" method where it assigns the "TreeView" and "Handle" to the TreeNode object that you are adding. I need this information - and can not figure out how they are doing this. Needless to say - my class that I created does not do this.
Does anyone have some code for Microsoft's implementation of the TreeNodeCollection class - or does anyone have any idea of where I should start?
It is very annoying that they sealed this class (with internal constructor)...
However, the original TreeNodeCollection class does something important on the "Add" method where it assigns the "TreeView" and "Handle" to the TreeNode object that you are adding. I need this information - and can not figure out how they are doing this. Needless to say - my class that I created does not do this.
Does anyone have some code for Microsoft's implementation of the TreeNodeCollection class - or does anyone have any idea of where I should start?
It is very annoying that they sealed this class (with internal constructor)...