Abstract base class for Winforms-Control and VS2008 Designer support?
- by BeowulfOF
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?