G
Guest
I am having one user control (containing two combobox and one button) , I
want to add
this control as a node in a treeview control , to be more precise now I want
my user control
acting a node in the treeview control instead of treenode .
we can not extend treenode class because if I do this then I can not add
Combobox and all to my control class .
we can not inherit from treenode collection class as it is haivng private
constructor.
so if I want my control as a node in the treeview control then we can extend
treeview class
and in that now I should have myControl's collection class which will
ADD,REMOVE my control from a treeview control.
How should I achieve this ?
Thanks in advance
Sunil Joshi.
want to add
this control as a node in a treeview control , to be more precise now I want
my user control
acting a node in the treeview control instead of treenode .
we can not extend treenode class because if I do this then I can not add
Combobox and all to my control class .
we can not inherit from treenode collection class as it is haivng private
constructor.
so if I want my control as a node in the treeview control then we can extend
treeview class
and in that now I should have myControl's collection class which will
ADD,REMOVE my control from a treeview control.
How should I achieve this ?
Thanks in advance
Sunil Joshi.