Unfortunately this isn't working in my case. I told not the whole story,
sorry.

What I'm doing is implementing a base class derived from UserControl. This
class is defining several attributes for using own Designers and
RootDesigners. Additionally this class defines a custom
ToolboxItemFilterAttribute.

Our customers are editing their own controls derived from our base class.
Because the Windows Forms Root designer need to instantiate our Base class
directly it cannot be specified as 'abstract'.

All I want is only to prevent the base class from appearing in the
toolBox, but forcing our customers (which are low level VB programmers,
designers) to specify the ToolBoxItemAttribute is not what I want.

Maybe a wizard will the complete code, but I want to generate as primitive
code as possible.

Ralf

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to