Пример #1
0
            public override void UnExecute(DockControl dockControl)
            {
                DockItem item = UndoRedoReference.DockItem;

                item.EnsureAttached(dockControl, DockItemIndex);
                if (SecondPaneShowAction != null)
                {
                    SecondPaneShowAction.Run(dockControl);
                }
                FirstPaneShowAction.Run(dockControl);
            }
Пример #2
0
            public sealed override void UnExecute(DockControl dockControl)
            {
                DockItem item = GetDockItem(dockControl);

                item.DoClose();
                if (DockItemIndex != -1)
                {
                    item.EnsureAttached(dockControl, DockItemIndex);
                }

                if (SecondPaneShowAction != null)
                {
                    SecondPaneShowAction.Run(dockControl);
                }

                if (FirstPaneShowAction != null)
                {
                    FirstPaneShowAction.Run(dockControl);
                }
            }