cyuksel Posted April 1, 2003 Posted April 1, 2003 Hi Divil, since my ControlDesigner could not be work with my rootdesigner, I got Ellipse's componentdesigner in ShapeLibrary.It worked with my rootdesginer. I noticed that only diffrence between mine and theirs is the class i derived from. since i wanted to write designer for my usercontrols i used ControlDesigner as base. Aren't i right? then i attemted to use ComponentDesigner as base class,it is weird but it works well. Is it wrong that i wrote ComponentDesigner for my usercontrol? Thanks. Quote
*Gurus* divil Posted April 1, 2003 *Gurus* Posted April 1, 2003 The designer for a control should either be inherited from ControlDesigner or ParentControlDesigner - both should work. I'm unsure why ComponentDesigner would work - that's meant for components, i.e. classes with no user interface. But still, if it works... Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.