How can I get VS2008 winforms designer to render a Form that implements an abstract base class
Posted
by BeowulfOF
on Stack Overflow
See other posts from Stack Overflow
or by BeowulfOF
Published on 2009-10-25T12:57:51Z
Indexed on
2010/03/09
4:06 UTC
Read the original article
Hit count: 349
Hi,
I engadged a problem with inherited Controls in WinForms, and need some advice on it.
I do use a base class for items in a List (selfmade GUI list made of a panel) and some inherited controls that are for each type of data that could be added to the list.
There was no problem with it, but I know found out, that it would be right, to make the base-control an abstract class, since it has methods, that need to be implemented in all inherited controls, called from the code inside the base-control, but must not and can not be implemented in the base class.
When I mark the base-control as abstract, the VS2008 Designer refuses to load the window.
Is there any way to get the Designer work with the base-control made abstract?
© Stack Overflow or respective owner