コード例 #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);
                }
            }