Initializes a new instance of AnnDesigner with the specified parameters.
AnnDesigner = function(
automationControl,
container,
annObject
)
automationControl
The automation control associated with this designer.
container
The container to use. Must not be null.
annObject
The target object.
This method sets the container to the container 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.