private AnnAutomationObject CreateParallelLines() { AnnAutomationObject automationObj = new AnnAutomationObject(); AnnParallelLinesObject annParallelLinesObject = new AnnParallelLinesObject(); automationObj.Id = annParallelLinesObject.Id; automationObj.Name = "Two Parallel Lines"; automationObj.DrawDesignerType = typeof(AnnParallelLinesDrawer); automationObj.EditDesignerType = typeof(AnnParallelLinesEditor); automationObj.RunDesignerType = typeof(AnnRunDesigner); automationObj.ObjectTemplate = annParallelLinesObject; IAnnObjectRenderer renderer = new AnnParallelLinesObjectRenderer(); renderer.LocationsThumbStyle = CreateLocationThumbStyle(); automationObj.Renderer = renderer; return(automationObj); }
public AnnFourParallelLinesDrawer(IAnnAutomationControl automationControl, AnnContainer container, AnnParallelLinesObject annParallelLinesObject) : base(automationControl, container, annParallelLinesObject) { }
public AnnParallelLinesDrawer(IAnnAutomationControl automationControl, AnnContainer container, AnnParallelLinesObject annParallelLinesObject) : base(automationControl, container, _objectTemplate) { _annParallelLinesObject = annParallelLinesObject; }