PDA

Click to See Complete Forum and Search --> : Designer support for class not inheriting from Form or Control


SLH
Oct 5th, 2008, 04:48 AM
Not sure if this is the correct place for this but...

I'm developing a Window system similar to windows forms for XNA (a wrapper for directx).

Would it be possible for me to allow for designer support for these custom classes, which would not inherit from Form or from Control?

jmcilhinney
Oct 7th, 2008, 02:12 AM
To be designed a type must be a component. Strictly speaking this means implementing the IComponent interface but it's generally done by inheriting the Component class.

SLH
Oct 7th, 2008, 07:26 AM
Cheers, that's what i needed to know!

p.s. The cake is indeed a lie!