Designing a Form that inherits from an abstract form fails - by Jörgen

Status : 


Sign in
to vote
ID 785985 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 5/1/2013 5:54:56 AM
Access Restriction Public


In one of my solutions I want to create an abstract base form that all my forms inherit from so that I get some extended functionality on all my form.
If I declare the base form as abstract the designer can't open any forms that inherit from it. If I declare the Base form as non-abstract the windows forms designer works fine.
Sign in to post a comment.
Posted by Microsoft on 5/6/2013 at 11:34 AM
By Design
Thank you for your feedback. The issue that you have reported is actually by design. Windows Forms Designer has to instantiate the base class when designing a form:
Some suggestions on how to deal with this situation are available on forums:
The Windows Forms Product Team
Posted by Microsoft on 5/6/2013 at 3:59 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Jörgen on 5/2/2013 at 1:31 AM
I have attached a Project zip here. It has an Abstract BaseForm and a Form1 that inherits from the baseform.

Open Form1 in the designer and see the error message.
Posted by Microsoft on 5/1/2013 at 10:19 PM
Thank you for submitting feedback on Visual Studio and .NET Framework. In order to efficiently investigate and reproduce this issue, we are requesting additional information outlined below.

Could you please give us a demo project to demonstrate this issue so that we can conduct further research?

Please submit this information to us within 4 business days. We look forward to hearing from you with this information.

Microsoft Visual Studio Connect Support Team
Posted by Microsoft on 5/1/2013 at 6:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(