Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Abstract UserControl
Message
From
28/08/2007 13:37:14
 
 
To
All
General information
Forum:
ASP.NET
Category:
Class design
Title:
Abstract UserControl
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01250968
Message ID:
01250968
Views:
60
Hi,

I have an abstract class derived from System.Windows.Forms.UserControl with further classes derived from this. All fine except that, obviously, immediate child classes cannot be instantiated at design time thus making it difficult to modify the contained controls visually.

I'm currently working around this by changing the child class to temporarily derive directly from UserControl, doing the design mods, then reverting to deriving from the abstract class. Anyone know of any 'trick' to make this a bit easier (I can't insert a dummy class between the final class and the abstract because I'd be forced to implement the abstract methods there which would defeat the object [no pun intended]....)

Regards,
Viv
Next
Reply
Map
View

Click here to load this message in the networking platform