void IShowStrategy.Show(IDockPanelWorkspace workspace, IDockContent content) { // Mapping of the enum var value = (int)DockState; var dockState = (WeifenLuo.WinFormsUI.Docking.DockState)Enum.ToObject( typeof(WeifenLuo.WinFormsUI.Docking.DockState), value); content.DockHandler.Show(workspace.DockPanel, dockState); }
void IShowStrategy.Show(IDockPanelWorkspace workspace, IDockContent content) { DockPane pane = workspace.GetDockContent(NeighbourSmartPart).DockHandler.Pane; content.DockHandler.Show(pane, DockAlignment, Proportion); }
void IShowStrategy.Show(IDockPanelWorkspace workspace, IDockContent content) { content.DockHandler.Show(workspace.DockPanel); }
void IShowStrategy.Show(IDockPanelWorkspace workspace, IDockContent content) { content.DockHandler.Show(workspace.DockPanel, FloatWindowBounds); }
void IShowStrategy.Show(IDockPanelWorkspace workspace, IDockContent content) { IDockContent beforeContent = workspace.GetDockContent(BeforeSmartPart); content.DockHandler.Show(beforeContent.DockHandler.Pane, beforeContent); }