J
Joe Vrba
I'm building a family of components derived from
UserControl. There's an abstract base class to ensure
basic functionality and then numerous other controls
derived from that.
The problem is that I'd like to manipulate some of the
derived controls using the VS.NET designer. However, when
the base class is made abstract, I get the error "The
designer must create an instance of type <...> but it
cannot because the type is declared as abstract."
Is there any way to allow the designer to instantiate the
abstract base class so I can work on the first tier
derived components visually? (Second tier components,
i.e. those derived from classes derived from the base
class work fine.)
Any suggestions would be appreciated.
UserControl. There's an abstract base class to ensure
basic functionality and then numerous other controls
derived from that.
The problem is that I'd like to manipulate some of the
derived controls using the VS.NET designer. However, when
the base class is made abstract, I get the error "The
designer must create an instance of type <...> but it
cannot because the type is declared as abstract."
Is there any way to allow the designer to instantiate the
abstract base class so I can work on the first tier
derived components visually? (Second tier components,
i.e. those derived from classes derived from the base
class work fine.)
Any suggestions would be appreciated.