public override void UnExecute(DockControl dockControl) { DockItem item = UndoRedoReference.DockItem; item.EnsureAttached(dockControl, DockItemIndex); if (SecondPaneShowAction != null) { SecondPaneShowAction.Run(dockControl); } FirstPaneShowAction.Run(dockControl); }
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); } }