Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        public override void Update(GraphicElement el, string label)
        {
            AssemblyReferenceBox box = (AssemblyReferenceBox)el;

            (label == "Filename").If(() =>
            {
                box.Filename = Filename;
            });

            base.Update(el, label);
        }
Esempio n. 3
0
 public AssemblyReferenceBoxProperties(AssemblyReferenceBox el) : base(el)
 {
     Filename = el.Filename;
 }