Ejemplo n.º 1
0
        internal void changeLayer(Shapes.DiagramShape obj, DiagramLayer oldLayer, bool undoing)
        {
            oldLayer.RemoveFromCache(obj);
            int num1 = Shapes.DiagramShapeCollection.fastRemove(oldLayer.myObjects, obj);

            this.myObjects.Add(obj);
            obj.SetLayer(this, obj, undoing);
            this.InsertIntoCache(obj);
            RectangleF ef1 = obj.Bounds;

            this.LayerCollectionContainer.RaiseChanged(0x388, 0, obj, num1, oldLayer, ef1, -1, this, ef1);
        }
Ejemplo n.º 2
0
 internal void changeLayer(Shapes.DiagramShape obj, DiagramLayer oldLayer, bool undoing)
 {
     oldLayer.RemoveFromCache(obj);
     int num1 = Shapes.DiagramShapeCollection.fastRemove(oldLayer.myObjects, obj);
     this.myObjects.Add(obj);
     obj.SetLayer(this, obj, undoing);
     this.InsertIntoCache(obj);
     RectangleF ef1 = obj.Bounds;
     this.LayerCollectionContainer.RaiseChanged(0x388, 0, obj, num1, oldLayer, ef1, -1, this, ef1);
 }