Link to home
Create AccountLog in
Avatar of craigdev
craigdev

asked on

Abstract UserControl problem

I am using C# 2.0 VS 2005. Windows Forms.

I have a base UserControl that I have made abstract, as I want to force concrete UserControls that inherit from this BaseUserControl to implement certain abstract methods.

My problem lies in the fact that I can't enter the designer and see the design time view of the UserControls. When Visual Studio attempts to render the UserControl it must automatically attempt to instantiate the base class so I get an error like:

The designer must create an instance of type 'Tools.ToolBase' but it cannot because the type is declared as abstract


How to get around this, or suggestions for this scenario?

Thanks
Avatar of craigdev
craigdev

ASKER

no body has any answers on this?
ASKER CERTIFIED SOLUTION
Avatar of ripahoratiu
ripahoratiu
Flag of Romania image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Forced accept.

Computer101
EE Admin