inherit from TreeNodeCollection

  • Thread starter Thread starter Dmitriy Kolesnik
  • Start date Start date
D

Dmitriy Kolesnik

Hello, All!

I have next problem: I need to override TreeNodeCollection method Add(), but
I know that I can't inherited from TreeNodeCollection.
How I can resolve this problem?

Help me please if you know solution.

Thank You.


__________________
Best regards,
Dmitriy Kolesnik,
SoftScape team
 
Dmitriy Kolesnik said:
Hello, All!

I have next problem: I need to override TreeNodeCollection method Add(),
but I know that I can't inherited from TreeNodeCollection.
How I can resolve this problem?

What about making your own class that has the TreNodeCollection inside as an
object, and you then use your own add method instead of the .net one ?
 
Back
Top