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 ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top