Exemplo n.º 1
0
        public override GraphicElement CloneDefault(Canvas canvas, Point offset)
        {
            AgentReceptorShape shape = new AgentReceptorShape(canvas);

            shape.DisplayRectangle = shape.DefaultRectangle().Move(offset);
            shape.UpdateProperties();
            shape.UpdatePath();

            return(shape);
        }
Exemplo n.º 2
0
 public AgentReceptorProperties(AgentReceptorShape el) : base(el)
 {
     AgentName = el.AgentName;
     Enabled   = el.Enabled;
 }