コード例 #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);
        }