public override GraphicElement CloneDefault(Canvas canvas, Point offset) { AssemblyReferenceBox shape = new AssemblyReferenceBox(canvas); shape.DisplayRectangle = shape.DefaultRectangle().Move(offset); shape.UpdateProperties(); shape.UpdatePath(); return(shape); }
public override void Update(GraphicElement el, string label) { AssemblyReferenceBox box = (AssemblyReferenceBox)el; (label == "Filename").If(() => { box.Filename = Filename; }); base.Update(el, label); }
public AssemblyReferenceBoxProperties(AssemblyReferenceBox el) : base(el) { Filename = el.Filename; }