示例#1
0
        private void LoadWindowLayout()
        {
            this.SuspendLayout();
            ViewportForm persView  = new ViewportForm(ViewportType.Perspective);
            ViewportForm topView   = new ViewportForm(ViewportType.Top);
            ViewportForm sideView  = new ViewportForm(ViewportType.Side);
            ViewportForm frontView = new ViewportForm(ViewportType.Front);

            persView.Show(this.dockPanel, DockState.Document);
            sideView.Show(persView.Pane, DockAlignment.Bottom, 0.5);
            topView.Show(persView.Pane, DockAlignment.Right, 0.5);
            frontView.Show(sideView.Pane, DockAlignment.Right, 0.5);

            this.ResumeLayout();
        }
示例#2
0
        private void LoadWindowLayout()
        {
            this.SuspendLayout();
            ViewportForm persView = new ViewportForm(ViewportType.Perspective);
            ViewportForm topView = new ViewportForm(ViewportType.Top);
            ViewportForm sideView = new ViewportForm(ViewportType.Side);
            ViewportForm frontView = new ViewportForm(ViewportType.Front);

            persView.Show(this.dockPanel, DockState.Document);
            sideView.Show(persView.Pane, DockAlignment.Bottom, 0.5);
            topView.Show(persView.Pane, DockAlignment.Right, 0.5);
            frontView.Show(sideView.Pane, DockAlignment.Right, 0.5);

            this.ResumeLayout();
        }
示例#3
0
        private void perspectiveToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ViewportForm form = new ViewportForm(ViewportType.Perspective);

            form.Show(this.dockPanel, DockState.Document);
        }
示例#4
0
 private void perspectiveToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ViewportForm form = new ViewportForm(ViewportType.Perspective);
     form.Show(this.dockPanel, DockState.Document);
 }