ControlDesigner (Please help)
My usercontrols have a designer derived form ControlDesigner class. When i add this usercontrol onto a windows form , it works fine. But when i add this usercontrol onto the document which has its own rootdesigner(i implemented), the control designer does not work.
DocumentDesigner class has a method CanBeParented(IDesigner parentdesigner) to indicate whether the control managed by the parameter designer can be a child of the control managed by document designer.
i attempted this method, the result did not changed.
i tried to debug by using messagebox in initialize() and constructor of the designer but none of them returns a message.
i think, it means my designer does not initialized by my rootdesigner.
i examined the ShapeLibrary sample, and i saw that they implements designers as same way as i do. but their designers works . i don't know what is my mistake?
i will be gratefull,if anyone can reply me.
thanks

