public override Object Clone() { var result = new TreeProperty(); result.InitProperty(); Copy(result); return result; }
public override void OnMouseDown(IToolDrawArea drawArea, MouseEventArgs e) { var property = new TreeProperty(); property.InitProperty(); property.Size = "1,1"; property.Location = String.Format("{0},{1}", e.X, e.Y); var draw = new DrawTree(property); drawArea.AddNewDrawObject(draw); }
public override IDrawObject CreateDrawObject(PageControl control) { var property = new TreeProperty(); InitDrawObjectFromPageControl(control, property); return new DrawTree(property); }