예제 #1
0
 public ObjectManager(IObjectCanvas Canvas, PropertyGrid propertyGrid, ObjectToolPanel ToolPanel)
 {
     LoadSettings(ToolPanel);
     SetHandler(Canvas, propertyGrid, ToolPanel);
     if (ToolPanel != null)
     {
         ToolPanel.LoadObjectTool();
     }
 }
예제 #2
0
 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();
     }
 }