Ejemplo n.º 1
0
        private void InitializePanels()
        {
            WaitPopup.UpdateProgress(0, 10);

            NavigationPanel = new NavigationPanel(ProjectManager);
            WaitPopup.UpdateProgress(1, 10);

            ViewportPanel = new ViewportPanel(ProjectManager);
            WaitPopup.UpdateProgress(2, 10);

            ValidationPanel = new ValidationPanel(ProjectManager);
            WaitPopup.UpdateProgress(3, 10);

            PropertiesPanel = new PartPropertiesPanel(ProjectManager);
            WaitPopup.UpdateProgress(4, 10);

            DetailPanel = new ElementDetailPanel(ProjectManager);
            WaitPopup.UpdateProgress(5, 10);

            StudConnectionPanel = new StudConnectionPanel(ProjectManager);
            WaitPopup.UpdateProgress(6, 10);

            ConnectionPanel = new ConnectionEditorPanel(ProjectManager);
            WaitPopup.UpdateProgress(7, 10);

            InfoPanel = new ProjectInfoPanel(ProjectManager);
            WaitPopup.UpdateProgress(8, 10);
        }
Ejemplo n.º 2
0
        private void InitializePanels()
        {
            NavigationPanel     = new NavigationPanel(ProjectManager);
            ViewportPanel       = new ViewportPanel(ProjectManager);
            ValidationPanel     = new ValidationPanel(ProjectManager);
            PropertiesPanel     = new PartPropertiesPanel(ProjectManager);
            DetailPanel         = new ElementDetailPanel(ProjectManager);
            StudConnectionPanel = new StudConnectionPanel(ProjectManager);

            ViewportPanel.Show(DockPanelControl, DockState.Document);
            StudConnectionPanel.Show(DockPanelControl, DockState.Document);
            ViewportPanel.Activate();

            DockPanelControl.DockLeftPortion = 250;
            NavigationPanel.Show(DockPanelControl, DockState.DockLeft);

            DockPanelControl.DockWindows[DockState.DockBottom].BringToFront();
            DockPanelControl.DockBottomPortion = 230;

            PropertiesPanel.Show(DockPanelControl, DockState.DockBottom);
            DetailPanel.Show(PropertiesPanel.Pane, null);
            ValidationPanel.Show(PropertiesPanel.Pane, null);

            PropertiesPanel.Activate();
        }