public void InitializeLayout() { // Layout using (var lk = new ActionLock( () => dockPanel.SuspendLayout(true), () => dockPanel.ResumeLayout(true, true))) { ResourceExplorer.Instance.Show(dockPanel, DockState.DockLeft); PreviewWindow.Instance.Show(ResourceExplorer.Instance.Pane, DockPaneAlignment.Bottom, 0.4); StartPage.Instance.Show(dockPanel, DockState.Document); } // Hook up Update Logic updateable.Add(ResourceExplorer.Instance); updateable.Add(StartPage.Instance); updateable.Add(PreviewWindow.Instance); }
public void InitializeLayout() { // Layout using (var lk = new ActionLock( () => dockPanel.SuspendLayout(true), () => dockPanel.ResumeLayout(true, true))) { ResourceExplorer.Instance.Show(dockPanel, DockState.DockLeft); PreviewWindow.Instance.Show(ResourceExplorer.Instance.Pane, DockPaneAlignment.Bottom, 0.4); StartPage.Instance.Show(dockPanel, DockState.Document); (new TimelineWindow()).Show(StartPage.Instance.DockPanel, DockState.DockBottom); } }