예제 #1
0
        public frmMain()
        {
            InitializeComponent();
            this.IsMdiContainer = true;

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

            this._frmLegend = frmLegend.Instance;
            this._frmLegend.Show(this.dockPanel, WeifenLuo.WinFormsUI.Docking.DockState.DockLeft);
            this._frmLegend.VisibleChanged += new EventHandler(_frmLegend_VisibleChanged);

            this._frmNavigation = frmNavigation.Instance;
            this._frmNavigation.Show(this._frmLegend.Pane, WeifenLuo.WinFormsUI.Docking.DockAlignment.Bottom, 0.3);
            this._frmNavigation.VisibleChanged += new EventHandler(_frmNavigation_VisibleChanged);
        }
예제 #2
0
파일: frmMain.cs 프로젝트: uwitec/gvms
        public frmMain()
        {
            InitializeComponent();
            this.IsMdiContainer = true;

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

            this._frmLegend = frmLegend.Instance;
            this._frmLegend.Show(this.dockPanel, WeifenLuo.WinFormsUI.Docking.DockState.DockLeft);
            this._frmLegend.VisibleChanged += new EventHandler(_frmLegend_VisibleChanged);

            this._frmNavigation = frmNavigation.Instance;
            this._frmNavigation.Show(this._frmLegend.Pane, WeifenLuo.WinFormsUI.Docking.DockAlignment.Bottom, 0.3);
            this._frmNavigation.VisibleChanged += new EventHandler(_frmNavigation_VisibleChanged);
        }