| | |
| | | ParasInfoDockPanel _parasDockPanel = null; |
| | | LogListDockPanel _logListDockPanel = null; |
| | | LayersDockPanel _layersDockPanel = null; |
| | | SectAreaDockPanel _sectAreaDockPanel = null; |
| | | public MainViewPage() |
| | | { |
| | | InitializeComponent(); |
| | |
| | | ThemeProvider.Theme.Colors.HeaderBackground = Color.SteelBlue; |
| | | ThemeProvider.Theme.Colors.GreyBackground = Color.White; |
| | | //ThemeProvider.Theme.Colors.DarkBackground = Color.White; |
| | | |
| | | MainDockPanel.RightDockWidth = 320; |
| | | MainDockPanel.BottomDockHeight = 210; |
| | | } |
| | | |
| | | |
| | |
| | | _logListDockPanel = new LogListDockPanel(); |
| | | _logListDockPanel.DefaultDockArea = DPumpHydr.WinFrmUI.RLT.Enum.Crown.DockArea.Bottom; |
| | | |
| | | _parasDockPanel = new ParasInfoDockPanel(); |
| | | _sectAreaDockPanel = new SectAreaDockPanel(); |
| | | _sectAreaDockPanel.DefaultDockArea = DPumpHydr.WinFrmUI.RLT.Enum.Crown.DockArea.Bottom; |
| | | |
| | | |
| | | _parasDockPanel = new ParasInfoDockPanel(); |
| | | _parasDockPanel.DefaultDockArea = DPumpHydr.WinFrmUI.RLT.Enum.Crown.DockArea.Right; |
| | | |
| | | _layersDockPanel = new LayersDockPanel(); |
| | | _layersDockPanel.InitialInfo(); |
| | | _layersDockPanel.DefaultDockArea = DPumpHydr.WinFrmUI.RLT.Enum.Crown.DockArea.Left; |
| | | |
| | | _stepTreeDockPanel = new StepTreeDockPanel(); |
| | |
| | | |
| | | |
| | | MainDockPanel.AddContent(_logListDockPanel); |
| | | MainDockPanel.AddContent(_sectAreaDockPanel); |
| | | |
| | | MainDockPanel.AddContent(_parasDockPanel); |
| | | MainDockPanel.AddContent(_layersDockPanel); |
| | | MainDockPanel.AddContent(_stepTreeDockPanel); |
| | | |
| | | |
| | | MainDockPanel.AddContent(_stepTreeDockPanel, _layersDockPanel.DockGroup); |
| | | |
| | | MainDockPanel.AddContent(_sectAreaDockPanel, _logListDockPanel.DockGroup); |
| | | |
| | | RBtn后退.Enabled = false; |
| | | Rbtn前进.Enabled = true; |
| | |
| | | Rbtn上一步.Enabled = false; |
| | | Rbtn完成.Enabled = false; |
| | | |
| | | this._occDesign3dCtrl = new OccDesignCtrlDockPanel(); |
| | | this._occDesign3dCtrl.Size = new System.Drawing.Size(1000, 1000); |
| | | this._occDesign3dCtrl.Name = "OccDesignCtrl"; |
| | | this._occDesign3dCtrl.Dock = DockStyle.Fill; |
| | | this._occDesign3dCtrl.DockText = "三维设计"; |
| | | this._occDesign3dCtrl.Initial(true); |
| | | |
| | | this._occDesign2dCtrl = new OccDesignCtrlDockPanel(); |
| | | this._occDesign2dCtrl.Size = new System.Drawing.Size(1000, 1000); |
| | | this._occDesign2dCtrl.Name = "OccDesignCtrl"; |
| | | this._occDesign2dCtrl.Dock = DockStyle.Fill; |
| | | this._occDesign2dCtrl.DockText = "二维视图"; |
| | | this._occDesign2dCtrl.Initial(false ); |
| | | |
| | | InitialDesginPanel(); |
| | | |
| | | |
| | | MainDockPanel.AddContent(_occDesign2dCtrl); |
| | | MainDockPanel.AddContent(_occDesign3dCtrl); |
| | | |
| | | |
| | | InitialStepNodes(); |
| | | |