Initializes the designer with the specified IComponent object.
Assembly: System.Design (in System.Design.dll)
The designer host calls to initialize the component for design.
The base implementation will throw an exception if the associated control does not implement the INamingContainer interface.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.