Exemplo n.º 1
0
        protected static void UpdateShapeEvent(object sender, ElementPropertyChangedEventArgs e)
        {
            BarkerEntityShape shape = (BarkerEntityShape)e.ModelElement;

            if (!shape.IsDeleted)
            {
                //shape.BeforeInvalidate();
                shape.Invalidate(Math.Abs(unchecked ((long)e.OldValue - (long)e.NewValue)) != 1L);
            }
        }