Ejemplo n.º 1
0
        protected override void CurrentChanging()
        {
            TopItems.ForAll(x => HightlightLastOpenedFor(x));

            // close nested for saving
            var holder = Current.Holder;

            if (holder is Patient)
            {
                viewer.OpenedMiddle = null;
            }
            else if (holder is Course)
            {
                viewer.OpenedLeaf = null;
            }
        }