Ejemplo n.º 1
0
        public override void RemovedFromCanvas(LTSCanvas canvas)
        {
            //Remove nail
            foreach (NailItem nailItem in this.Nails)
                canvas.RemoveSingleCanvasItem(nailItem);
            this.Nails.Clear();

            //Remove transition
            canvas.RemoveSingleCanvasItem(Label);
            canvas.RemoveSingleRoute(this);
        }