示例#1
0
        public override void Add(AbstractMultiDrawingItem item)
        {
            Spotlight spotlight = item as Spotlight;

            if (spotlight == null)
            {
                return;
            }

            spotlights.Add(spotlight);
            selected = spotlights.Count - 1;

            if (TrackableDrawingAdded != null)
            {
                TrackableDrawingAdded(this, new TrackableDrawingEventArgs(spotlight));
            }
        }