Renee,
| and now the
| program doesn't work any more, any ideas?
What specifically do you mean "doesn't work any more".
Is there a specific Exception you are getting?
A specific compile error you are getting?
Can you show 10 to 15 lines of code that identifies the problem you are
having?
Hope this helps
Jay
<Renee> wrote in message news:(E-Mail Removed)...
| Jay, I have done this, added a property to MyTreeNode, and then globaly
| searched and replaced all the TreeNodes to MyTreeNodes, and now the
| program doesn't work any more, any ideas?
|
| > Renee,
| > I commonly inherit from TreeNode to add custom properties, inherited
| > TreeNodes are still TreeNodes and will work with TreeNodeCollection.
| >
| > The "caveat" is that you need to cast your specific TreeNode to the
| specific
| > type when you access it from TreeNodeCollection.
| >
| > Hope this helps
| > Jay
|
|
|
|