Exemplo n.º 1
0
        private void InitWindowLayout()
        {
            this.IsMdiContainer = true;
            this.dockPanel.ShowDocumentIcon = true;

            this._frmMap = frmMap.Instance;
            this._frmMap.Show(this.dockPanel, WeifenLuo.WinFormsUI.Docking.DockState.Document);

            this._frmRealtimeCarData = frmRealtimeCarInfos.Instance;
            this._frmRealtimeCarData.Show(this.dockPanel, WeifenLuo.WinFormsUI.Docking.DockState.DockBottomAutoHide);

            //this._frmTrackingReplay = frmTackingReplay.Instance;
            //this._frmTrackingReplay.Show(this._frmRealtimeCarData.Pane, this._frmRealtimeCarData);

            this._frmLegend = frmLegend.Instance;
            this._frmLegend.Show(this.dockPanel, WeifenLuo.WinFormsUI.Docking.DockState.DockLeft);

            this._frmNavigation = frmNavigation.Instance;
            this._frmNavigation.Show(this._frmLegend.Pane, WeifenLuo.WinFormsUI.Docking.DockAlignment.Bottom, 0.3);

            this._frmNavigation.Hide();
            this._frmLegend.Hide();
        }
Exemplo n.º 2
0
        private void InitWindowLayout()
        {
            this.IsMdiContainer             = true;
            this.dockPanel.ShowDocumentIcon = true;

            this._frmMap = frmMap.Instance;
            this._frmMap.Show(this.dockPanel, WeifenLuo.WinFormsUI.Docking.DockState.Document);

            this._frmRealtimeCarData = frmRealtimeCarInfos.Instance;
            this._frmRealtimeCarData.Show(this.dockPanel, WeifenLuo.WinFormsUI.Docking.DockState.DockBottomAutoHide);

            //this._frmTrackingReplay = frmTackingReplay.Instance;
            //this._frmTrackingReplay.Show(this._frmRealtimeCarData.Pane, this._frmRealtimeCarData);

            this._frmLegend = frmLegend.Instance;
            this._frmLegend.Show(this.dockPanel, WeifenLuo.WinFormsUI.Docking.DockState.DockLeft);

            this._frmNavigation = frmNavigation.Instance;
            this._frmNavigation.Show(this._frmLegend.Pane, WeifenLuo.WinFormsUI.Docking.DockAlignment.Bottom, 0.3);

            this._frmNavigation.Hide();
            this._frmLegend.Hide();
        }