The automation control associated with this designer.
The container to use.
The target object.
This method sets the container to the Container property and the annObject to the TargetObject property. automationControl is optional and can be null. If the various derived designers determine that the surface of the container needs repainting they call the Invalidate method to perform that. In turn, the Invalidate method whether there is a valid object in the AutomationControl, and call its AutomationInvalidate method.