protected AnnDesigner(IAnnAutomationControl automationControl,
AnnDesigner(IAnnAutomationControl^ automationControl, AnnContainer^ container, AnnObject^ annObject)
The automation control associated with this designer.
The container to use. Must not be null.
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. The various derived designers may determine that the surface of the container needs repainting and will call the Invalidate method to perform that. In turn, the Invalidate method will determine if there is a valid object in the AutomationControl and call its AutomationInvalidate method.