T
Tony Maresca
Hi. I have a class derived from a UserControl,
that I want to allow others to derive controls
from. I don't want them to design the base
class (which is derived from a UserControl).
I know that I can prevent the control from being
designed by making it not the first class in the
code file, but is there another more 'official' way
to do this via attributes.
The user should be able to add the control's source
to a project (or reference it in another assembly),
and then select the control in the Inheritance Picker,
to create a derived class, but I want to prevent the
user from designing the base class.
--
Tony M.
that I want to allow others to derive controls
from. I don't want them to design the base
class (which is derived from a UserControl).
I know that I can prevent the control from being
designed by making it not the first class in the
code file, but is there another more 'official' way
to do this via attributes.
The user should be able to add the control's source
to a project (or reference it in another assembly),
and then select the control in the Inheritance Picker,
to create a derived class, but I want to prevent the
user from designing the base class.
--
Tony M.