public ObjectManager(IObjectCanvas Canvas, PropertyGrid propertyGrid, ObjectToolPanel ToolPanel) { LoadSettings(ToolPanel); SetHandler(Canvas, propertyGrid, ToolPanel); if (ToolPanel != null) { ToolPanel.LoadObjectTool(); } }
public ObjectManager(IObjectCanvas Canvas, PropertyGrid propertyGrid, ObjectToolPanel ToolPanel) { this.StartPoint = ObjectPoint.Empty; this.EndPoint = ObjectPoint.Empty; this.objects = new Easychart.Finance.Objects.ObjectCollection(); LoadSettings(ToolPanel); this.SetHandler(Canvas, propertyGrid, ToolPanel); if (ToolPanel != null) { ToolPanel.LoadObjectTool(); } }