コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     devDept.Graphics.BackgroundSettings backgroundSettings1 = new devDept.Graphics.BackgroundSettings(devDept.Graphics.backgroundStyleType.Solid, System.Drawing.Color.DeepSkyBlue, System.Drawing.Color.DodgerBlue, System.Drawing.Color.WhiteSmoke, 0.75D, null);
     devDept.Eyeshot.Camera camera1 = new devDept.Eyeshot.Camera(new devDept.Geometry.Point3D(0D, 0D, 50D), 600D,
                                                                 new devDept.Geometry.Quaternion(0.086824088833465166D, 0.15038373318043533D, 0.492403876506104D,
                                                                                                 0.85286853195244339D), devDept.Graphics.projectionType.Perspective, 50D, 2244233885789528D, false);
     devDept.Eyeshot.HomeToolBarButton            homeToolBarButton1            = new devDept.Eyeshot.HomeToolBarButton("Home", devDept.Eyeshot.ToolBarButton.styleType.PushButton, true, true);
     devDept.Eyeshot.MagnifyingGlassToolBarButton magnifyingGlassToolBarButton1 = new devDept.Eyeshot.MagnifyingGlassToolBarButton("Magnifying Glass", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.ZoomWindowToolBarButton      zoomWindowToolBarButton1      = new devDept.Eyeshot.ZoomWindowToolBarButton("Zoom Window", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.ZoomToolBarButton            zoomToolBarButton1            = new devDept.Eyeshot.ZoomToolBarButton("Zoom", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.PanToolBarButton             panToolBarButton1             = new devDept.Eyeshot.PanToolBarButton("Pan", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.RotateToolBarButton          rotateToolBarButton1          = new devDept.Eyeshot.RotateToolBarButton("Rotate", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.ZoomFitToolBarButton         zoomFitToolBarButton1         = new devDept.Eyeshot.ZoomFitToolBarButton("Zoom Fit", devDept.Eyeshot.ToolBarButton.styleType.PushButton, true, true);
     devDept.Eyeshot.ToolBar toolBar1 = new devDept.Eyeshot.ToolBar(devDept.Eyeshot.ToolBar.positionType.HorizontalTopCenter, true, new devDept.Eyeshot.ToolBarButton[] {
         ((devDept.Eyeshot.ToolBarButton)(homeToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(magnifyingGlassToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(zoomWindowToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(zoomToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(panToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(rotateToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(zoomFitToolBarButton1))
     });
     devDept.Eyeshot.Legend legend1 = new devDept.Eyeshot.Legend(0D, 100D, "Title", "Subtitle", new System.Drawing.Point(24, 24), new System.Drawing.Size(10, 30), true, false, false, "{0:0.##}", System.Drawing.Color.Transparent, System.Drawing.Color.Black, System.Drawing.Color.Black, new System.Drawing.Color[] {
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(63)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(127)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(191))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(127))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(63))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(191)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(127)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(63)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))
     }, false);
     devDept.Eyeshot.Grid                       grid1                 = new devDept.Eyeshot.Grid(new devDept.Geometry.Point3D(-50D, -50D, 0D), new devDept.Geometry.Point3D(100D, 100D, 0D), 10D, new devDept.Geometry.Plane(new devDept.Geometry.Point3D(0D, 0D, 0D), new devDept.Geometry.Vector3D(0D, 0D, 1D)), System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))), System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))), false, true, false, false, 10, 100, 10, System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))), System.Drawing.Color.Transparent, false);
     devDept.Eyeshot.OriginSymbol               originSymbol1         = new devDept.Eyeshot.OriginSymbol(10, devDept.Eyeshot.originSymbolStyleType.Ball, System.Drawing.Color.Black, System.Drawing.Color.Red, System.Drawing.Color.Green, System.Drawing.Color.Blue, "Origin", "X", "Y", "Z", true, false);
     devDept.Eyeshot.RotateSettings             rotateSettings1       = new devDept.Eyeshot.RotateSettings(new devDept.Eyeshot.MouseButton(devDept.Eyeshot.mouseButtonsZPR.Middle, devDept.Eyeshot.modifierKeys.None), 10D, true, 1D, devDept.Eyeshot.rotationType.Trackball, devDept.Eyeshot.rotationCenterType.CursorLocation, new devDept.Geometry.Point3D(0D, 0D, 0D));
     devDept.Eyeshot.ZoomSettings               zoomSettings1         = new devDept.Eyeshot.ZoomSettings(new devDept.Eyeshot.MouseButton(devDept.Eyeshot.mouseButtonsZPR.Middle, devDept.Eyeshot.modifierKeys.Shift), 25, true, devDept.Eyeshot.zoomStyleType.AtCursorLocation, false, 1D, System.Drawing.Color.DeepSkyBlue, devDept.Eyeshot.Camera.perspectiveFitType.Accurate, false, 10);
     devDept.Eyeshot.PanSettings                panSettings1          = new devDept.Eyeshot.PanSettings(new devDept.Eyeshot.MouseButton(devDept.Eyeshot.mouseButtonsZPR.Middle, devDept.Eyeshot.modifierKeys.Ctrl), 25, true);
     devDept.Eyeshot.NavigationSettings         navigationSettings1   = new devDept.Eyeshot.NavigationSettings(devDept.Eyeshot.Camera.navigationType.Examine, new devDept.Eyeshot.MouseButton(devDept.Eyeshot.mouseButtonsZPR.Left, devDept.Eyeshot.modifierKeys.None), new devDept.Geometry.Point3D(-1000D, -1000D, -1000D), new devDept.Geometry.Point3D(1000D, 1000D, 1000D), 8D, 50D, 50D);
     devDept.Eyeshot.CoordinateSystemIcon       coordinateSystemIcon1 = new devDept.Eyeshot.CoordinateSystemIcon(System.Drawing.Color.Black, System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))), System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))), System.Drawing.Color.OrangeRed, "Origin", "X", "Y", "Z", true, devDept.Eyeshot.coordinateSystemPositionType.BottomLeft, 37, false);
     devDept.Eyeshot.ViewCubeIcon               viewCubeIcon1         = new devDept.Eyeshot.ViewCubeIcon(devDept.Eyeshot.coordinateSystemPositionType.TopRight, true, System.Drawing.Color.DodgerBlue, true, "FRONT", "BACK", "LEFT", "RIGHT", "TOP", "BOTTOM", System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), 'S', 'N', 'W', 'E', true, System.Drawing.Color.White, System.Drawing.Color.Black, 120, true, true, null, null, null, null, null, null, false);
     devDept.Eyeshot.Viewport.SavedViewsManager savedViewsManager1    = new devDept.Eyeshot.Viewport.SavedViewsManager(8);
     devDept.Eyeshot.Viewport                   viewport1             = new devDept.Eyeshot.Viewport(new System.Drawing.Point(0, 0), new System.Drawing.Size(360, 337), backgroundSettings1, camera1, new devDept.Eyeshot.ToolBar[] { toolBar1 }, new devDept.Eyeshot.Legend[] {
         legend1
     }, devDept.Eyeshot.displayType.Rendered, true, false, false, false, new devDept.Eyeshot.Grid[] {
         grid1
     }, originSymbol1, false, rotateSettings1, zoomSettings1, panSettings1, navigationSettings1, coordinateSystemIcon1, viewCubeIcon1, savedViewsManager1);
     this.model1  = new devDept.Eyeshot.Model();
     this.slice   = new System.Windows.Forms.Button();
     this.textBox = new System.Windows.Forms.TextBox();
     this.cases   = new System.Windows.Forms.CheckBox[3];
     for (int i = 0; i < cases.Length; i++)
     {
         cases[i] = new System.Windows.Forms.CheckBox();
     }
     ((System.ComponentModel.ISupportInitialize)(this.model1)).BeginInit();
     this.SuspendLayout();
     //
     // model1
     //
     this.model1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.model1.Cursor      = System.Windows.Forms.Cursors.Default;
     this.model1.Location    = new System.Drawing.Point(12, 12);
     this.model1.MinimumSize = new System.Drawing.Size(8, 8);
     this.model1.Name        = "model1";
     this.model1.Size        = new System.Drawing.Size(360, 337);
     this.model1.TabIndex    = 0;
     viewport1.Legends       = new devDept.Eyeshot.Legend[] {
         legend1
     };
     this.model1.Viewports.Add(viewport1);
     //
     // Slice Button
     //
     this.slice.Location = new System.Drawing.Point(12, 12);
     this.slice.Size     = new System.Drawing.Size(90, 50);
     this.slice.Text     = "Cut on XZ Plane";
     this.slice.Name     = "sliceButton";
     this.slice.Click   += _sliceCylinder;
     this.slice.Visible  = true;
     //
     // TextBox
     //
     this.textBox.Location    = new System.Drawing.Point(12, 360);
     this.textBox.Size        = new System.Drawing.Size(300, 200);
     this.textBox.Text        = "Output:";
     this.textBox.Name        = "textBox";
     this.textBox.BorderStyle = BorderStyle.FixedSingle;
     this.textBox.Visible     = false;
     //
     // BaseCase Button
     //
     this.cases[0].Appearance = Appearance.Button;
     this.cases[0].Location   = new System.Drawing.Point(12, 75);
     this.cases[0].Size       = new System.Drawing.Size(90, 60);
     this.cases[0].Text       = "Rotational Approach";
     this.cases[0].TextAlign  = ContentAlignment.MiddleCenter;
     this.cases[0].Name       = "rotational";
     this.cases[0].Tag        = Case.Rotational;
     this.cases[0].Click     += _selectedCase;
     this.cases[0].Visible    = true;
     //
     // constantWidthCase Button
     //
     this.cases[1].Appearance = Appearance.Button;
     this.cases[1].Location   = new System.Drawing.Point(12, 135);
     this.cases[1].Size       = new System.Drawing.Size(90, 60);
     this.cases[1].Text       = "Fillet Region and Sweep Rail";
     this.cases[1].TextAlign  = ContentAlignment.MiddleCenter;
     this.cases[1].Name       = "regionAndRail";
     this.cases[1].Tag        = Case.RegionAndRail;
     this.cases[1].Click     += _selectedCase;
     this.cases[1].Visible    = true;
     //
     // sphereCase Button
     //
     this.cases[2].Appearance = Appearance.Button;
     this.cases[2].Location   = new System.Drawing.Point(12, 195);
     this.cases[2].Size       = new System.Drawing.Size(90, 50);
     this.cases[2].Text       = "Sweep Approach";
     this.cases[2].TextAlign  = ContentAlignment.MiddleCenter;
     this.cases[2].Name       = "sweep";
     this.cases[2].Tag        = Case.Sweep;
     this.cases[2].Click     += _selectedCase;
     this.cases[2].Visible    = true;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(384, 361);
     this.Controls.Add(this.model1);
     this.Controls.Add(this.slice);
     for (int i = 0; i < cases.Length; i++)
     {
         this.Controls.Add(this.cases[i]);
     }
     this.Controls.Add(this.textBox);
     this.Name = "Neck Problems";
     this.Text = "Neck Problems";
     ((System.ComponentModel.ISupportInitialize)(this.model1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     devDept.Graphics.BackgroundSettings          backgroundSettings1    = new devDept.Graphics.BackgroundSettings(devDept.Graphics.backgroundStyleType.Solid, System.Drawing.Color.DeepSkyBlue, System.Drawing.Color.DodgerBlue, System.Drawing.Color.WhiteSmoke, 0.75D, null);
     devDept.Eyeshot.HomeToolBarButton            homeToolBarButton1     = new devDept.Eyeshot.HomeToolBarButton("Home", devDept.Eyeshot.ToolBarButton.styleType.PushButton, true, true);
     devDept.Eyeshot.MagnifyingGlassToolBarButton magGlassToolBarButton1 = new devDept.Eyeshot.MagnifyingGlassToolBarButton("Magnifying Glass", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.Camera camera1 = new devDept.Eyeshot.Camera(new devDept.Geometry.Point3D(0D, 0D, 50D), 600D, new devDept.Geometry.Quaternion(0.086824088833465166D, 0.15038373318043533D, 0.492403876506104D, 0.85286853195244339D), devDept.Graphics.projectionType.Perspective, 50D, 2.2185429359195004D, false);
     devDept.Eyeshot.ZoomWindowToolBarButton zoomWindowToolBarButton1 = new devDept.Eyeshot.ZoomWindowToolBarButton("Zoom Window", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.ZoomToolBarButton       zoomToolBarButton1       = new devDept.Eyeshot.ZoomToolBarButton("Zoom", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.PanToolBarButton        panToolBarButton1        = new devDept.Eyeshot.PanToolBarButton("Pan", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.RotateToolBarButton     rotateToolBarButton1     = new devDept.Eyeshot.RotateToolBarButton("Rotate", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.ZoomFitToolBarButton    zoomFitToolBarButton1    = new devDept.Eyeshot.ZoomFitToolBarButton("Zoom Fit", devDept.Eyeshot.ToolBarButton.styleType.PushButton, true, true);
     devDept.Eyeshot.ToolBar toolBar1 = new devDept.Eyeshot.ToolBar(devDept.Eyeshot.ToolBar.positionType.HorizontalTopCenter, true, new devDept.Eyeshot.ToolBarButton[] {
         (devDept.Eyeshot.ToolBarButton)homeToolBarButton1,
         (devDept.Eyeshot.ToolBarButton)magGlassToolBarButton1,
         ((devDept.Eyeshot.ToolBarButton)(zoomWindowToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(zoomToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(panToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(rotateToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(zoomFitToolBarButton1))
     });
     devDept.Eyeshot.Legend legend1 = new devDept.Eyeshot.Legend(0D, 100D, "Title", "Subtitle", new System.Drawing.Point(24, 24), new System.Drawing.Size(10, 30), true, false, false, "{0:0.##}", System.Drawing.Color.Transparent, System.Drawing.Color.Black, System.Drawing.Color.Black, new System.Drawing.Color[] {
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(63)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(127)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(191))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(127))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(63))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(191)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(127)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(63)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))
     }, false);
     devDept.Eyeshot.Grid                       grid1                 = new devDept.Eyeshot.Grid(new devDept.Geometry.Point3D(-50D, -50D, 0D), new devDept.Geometry.Point3D(100D, 100D, 0D), 10D, new devDept.Geometry.Plane(new devDept.Geometry.Point3D(0D, 0D, 0D), new devDept.Geometry.Vector3D(0D, 0D, 1D)), System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))), System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))), false, true, false, false, 10, 100, 10, System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))), Color.Transparent, false);
     devDept.Eyeshot.OriginSymbol               originSymbol1         = new devDept.Eyeshot.OriginSymbol(10, devDept.Eyeshot.originSymbolStyleType.Ball, System.Drawing.Color.Black, System.Drawing.Color.Red, System.Drawing.Color.Green, System.Drawing.Color.Blue, "Origin", "X", "Y", "Z", true, false);
     devDept.Eyeshot.RotateSettings             rotateSettings1       = new devDept.Eyeshot.RotateSettings(new devDept.Eyeshot.MouseButton(devDept.Eyeshot.mouseButtonsZPR.Middle, devDept.Eyeshot.modifierKeys.None), 10D, true, 1D, devDept.Eyeshot.rotationType.Trackball, devDept.Eyeshot.rotationCenterType.CursorLocation, new devDept.Geometry.Point3D(0D, 0D, 0D));
     devDept.Eyeshot.ZoomSettings               zoomSettings1         = new devDept.Eyeshot.ZoomSettings(new devDept.Eyeshot.MouseButton(devDept.Eyeshot.mouseButtonsZPR.Middle, devDept.Eyeshot.modifierKeys.Shift), 25, true, devDept.Eyeshot.zoomStyleType.AtCursorLocation, false, 1D, System.Drawing.Color.DeepSkyBlue, devDept.Eyeshot.Camera.perspectiveFitType.Accurate);
     devDept.Eyeshot.PanSettings                panSettings1          = new devDept.Eyeshot.PanSettings(new devDept.Eyeshot.MouseButton(devDept.Eyeshot.mouseButtonsZPR.Middle, devDept.Eyeshot.modifierKeys.Ctrl), 25, true);
     devDept.Eyeshot.NavigationSettings         navigationSettings1   = new devDept.Eyeshot.NavigationSettings(devDept.Eyeshot.Camera.navigationType.Examine, new devDept.Eyeshot.MouseButton(devDept.Eyeshot.mouseButtonsZPR.Left, devDept.Eyeshot.modifierKeys.None), new devDept.Geometry.Point3D(-1000D, -1000D, -1000D), new devDept.Geometry.Point3D(1000D, 1000D, 1000D), 8D, 50D, 50D);
     devDept.Eyeshot.CoordinateSystemIcon       coordinateSystemIcon1 = new devDept.Eyeshot.CoordinateSystemIcon(System.Drawing.Color.Black, System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))), System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))), System.Drawing.Color.OrangeRed, "Origin", "X", "Y", "Z", true, devDept.Eyeshot.coordinateSystemPositionType.BottomLeft, 37, false);
     devDept.Eyeshot.ViewCubeIcon               viewCubeIcon1         = new devDept.Eyeshot.ViewCubeIcon(devDept.Eyeshot.coordinateSystemPositionType.TopRight, true, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(69)))), ((int)(((byte)(0))))), true, "FRONT", "BACK", "LEFT", "RIGHT", "TOP", "BOTTOM", System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), 'S', 'N', 'W', 'E', true, System.Drawing.Color.White, System.Drawing.Color.Black, 120, true, true, null, null, null, null, null, null, false);
     devDept.Eyeshot.Viewport.SavedViewsManager savedViewsManager1    = new devDept.Eyeshot.Viewport.SavedViewsManager(8);
     devDept.Eyeshot.Viewport                   viewport1             = new devDept.Eyeshot.Viewport(new System.Drawing.Point(0, 0), new System.Drawing.Size(359, 335), backgroundSettings1, camera1, new devDept.Eyeshot.ToolBar[] { toolBar1 }, new devDept.Eyeshot.Legend[] {
         legend1
     }, devDept.Eyeshot.displayType.Rendered, true, false, false, false, new devDept.Eyeshot.Grid[] {
         grid1
     }, originSymbol1, false, rotateSettings1, zoomSettings1, panSettings1, navigationSettings1, coordinateSystemIcon1, viewCubeIcon1, savedViewsManager1);
     this.changeNatureButton        = new System.Windows.Forms.Button();
     this.model1                    = new devDept.Eyeshot.Model();
     this.selectByBoxEnclButton     = new System.Windows.Forms.CheckBox();
     this.selectionLabel            = new System.Windows.Forms.Label();
     this.invertSelectionButton     = new System.Windows.Forms.Button();
     this.clearSelectionButton      = new System.Windows.Forms.Button();
     this.selectByBoxButton         = new System.Windows.Forms.CheckBox();
     this.selectVisibleByPickButton = new System.Windows.Forms.CheckBox();
     this.selectVisibleByBoxButton  = new System.Windows.Forms.CheckBox();
     this.selectByPickButton        = new System.Windows.Forms.CheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.model1)).BeginInit();
     this.SuspendLayout();
     //
     // changeNatureButton
     //
     this.changeNatureButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.changeNatureButton.Location = new System.Drawing.Point(377, 12);
     this.changeNatureButton.Name     = "changeNatureButton";
     this.changeNatureButton.Size     = new System.Drawing.Size(75, 48);
     this.changeNatureButton.TabIndex = 5;
     this.changeNatureButton.Text     = "Change Nature";
     this.changeNatureButton.UseVisualStyleBackColor = true;
     this.changeNatureButton.Click += new System.EventHandler(this.changeNatureButton_Click);
     //
     // model1
     //
     this.model1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.model1.Cursor      = System.Windows.Forms.Cursors.Default;
     this.model1.Location    = new System.Drawing.Point(12, 13);
     this.model1.MinimumSize = new System.Drawing.Size(8, 8);
     this.model1.Name        = "model1";
     this.model1.Size        = new System.Drawing.Size(359, 335);
     this.model1.TabIndex    = 0;
     viewport1.Legends       = new devDept.Eyeshot.Legend[] {
         legend1
     };
     this.model1.Viewports.Add(viewport1);
     //
     // selectByBoxEnclButton
     //
     this.selectByBoxEnclButton.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.selectByBoxEnclButton.Appearance = System.Windows.Forms.Appearance.Button;
     this.selectByBoxEnclButton.Location   = new System.Drawing.Point(377, 270);
     this.selectByBoxEnclButton.Name       = "selectByBoxEnclButton";
     this.selectByBoxEnclButton.Size       = new System.Drawing.Size(75, 23);
     this.selectByBoxEnclButton.TabIndex   = 88;
     this.selectByBoxEnclButton.Text       = "by Box Encl.";
     this.selectByBoxEnclButton.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     this.selectByBoxEnclButton.UseVisualStyleBackColor = true;
     this.selectByBoxEnclButton.CheckedChanged         += new System.EventHandler(this.selectByBoxEnclButton_CheckedChanged);
     //
     // selectionLabel
     //
     this.selectionLabel.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.selectionLabel.AutoSize = true;
     this.selectionLabel.Location = new System.Drawing.Point(377, 142);
     this.selectionLabel.Name     = "selectionLabel";
     this.selectionLabel.Size     = new System.Drawing.Size(51, 13);
     this.selectionLabel.TabIndex = 87;
     this.selectionLabel.Text     = "Selection";
     //
     // invertSelectionButton
     //
     this.invertSelectionButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.invertSelectionButton.Location = new System.Drawing.Point(377, 326);
     this.invertSelectionButton.Name     = "invertSelectionButton";
     this.invertSelectionButton.Size     = new System.Drawing.Size(75, 23);
     this.invertSelectionButton.TabIndex = 86;
     this.invertSelectionButton.Text     = "Invert";
     this.invertSelectionButton.UseVisualStyleBackColor = true;
     this.invertSelectionButton.Click += new System.EventHandler(this.invertSelectionButton_Click);
     //
     // clearSelectionButton
     //
     this.clearSelectionButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.clearSelectionButton.Location = new System.Drawing.Point(377, 298);
     this.clearSelectionButton.Name     = "clearSelectionButton";
     this.clearSelectionButton.Size     = new System.Drawing.Size(75, 23);
     this.clearSelectionButton.TabIndex = 85;
     this.clearSelectionButton.Text     = "Clear";
     this.clearSelectionButton.UseVisualStyleBackColor = true;
     this.clearSelectionButton.Click += new System.EventHandler(this.clearSelectionButton_Click);
     //
     // selectByBoxButton
     //
     this.selectByBoxButton.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.selectByBoxButton.Appearance = System.Windows.Forms.Appearance.Button;
     this.selectByBoxButton.Location   = new System.Drawing.Point(377, 242);
     this.selectByBoxButton.Name       = "selectByBoxButton";
     this.selectByBoxButton.Size       = new System.Drawing.Size(75, 23);
     this.selectByBoxButton.TabIndex   = 84;
     this.selectByBoxButton.Text       = "by Box";
     this.selectByBoxButton.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     this.selectByBoxButton.UseVisualStyleBackColor = true;
     this.selectByBoxButton.CheckedChanged         += new System.EventHandler(this.selectByBoxButton_CheckedChanged);
     //
     // selectVisibleByPickButton
     //
     this.selectVisibleByPickButton.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.selectVisibleByPickButton.Appearance = System.Windows.Forms.Appearance.Button;
     this.selectVisibleByPickButton.Location   = new System.Drawing.Point(377, 158);
     this.selectVisibleByPickButton.Name       = "selectVisibleByPickButton";
     this.selectVisibleByPickButton.Size       = new System.Drawing.Size(75, 23);
     this.selectVisibleByPickButton.TabIndex   = 83;
     this.selectVisibleByPickButton.Text       = "Vis. by Pick";
     this.selectVisibleByPickButton.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     this.selectVisibleByPickButton.UseVisualStyleBackColor = true;
     this.selectVisibleByPickButton.CheckedChanged         += new System.EventHandler(this.selectVisibleByPickButton_CheckedChanged);
     //
     // selectVisibleByBoxButton
     //
     this.selectVisibleByBoxButton.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.selectVisibleByBoxButton.Appearance = System.Windows.Forms.Appearance.Button;
     this.selectVisibleByBoxButton.Location   = new System.Drawing.Point(377, 186);
     this.selectVisibleByBoxButton.Name       = "selectVisibleByBoxButton";
     this.selectVisibleByBoxButton.Size       = new System.Drawing.Size(75, 23);
     this.selectVisibleByBoxButton.TabIndex   = 82;
     this.selectVisibleByBoxButton.Text       = "Vis. by Box";
     this.selectVisibleByBoxButton.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     this.selectVisibleByBoxButton.UseVisualStyleBackColor = true;
     this.selectVisibleByBoxButton.CheckedChanged         += new System.EventHandler(this.selectVisibleByBoxButton_CheckedChanged);
     //
     // selectByPickButton
     //
     this.selectByPickButton.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.selectByPickButton.Appearance = System.Windows.Forms.Appearance.Button;
     this.selectByPickButton.Location   = new System.Drawing.Point(377, 214);
     this.selectByPickButton.Name       = "selectByPickButton";
     this.selectByPickButton.Size       = new System.Drawing.Size(75, 23);
     this.selectByPickButton.TabIndex   = 81;
     this.selectByPickButton.Text       = "by Pick";
     this.selectByPickButton.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     this.selectByPickButton.UseVisualStyleBackColor = true;
     this.selectByPickButton.CheckedChanged         += new System.EventHandler(this.selectByPickButton_CheckedChanged);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(464, 361);
     this.Controls.Add(this.selectByBoxEnclButton);
     this.Controls.Add(this.selectionLabel);
     this.Controls.Add(this.invertSelectionButton);
     this.Controls.Add(this.clearSelectionButton);
     this.Controls.Add(this.selectByBoxButton);
     this.Controls.Add(this.selectVisibleByPickButton);
     this.Controls.Add(this.selectVisibleByBoxButton);
     this.Controls.Add(this.selectByPickButton);
     this.Controls.Add(this.changeNatureButton);
     this.Controls.Add(this.model1);
     this.Name = "Form1";
     this.Text = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.model1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #3
0
ファイル: DualView.Designer.cs プロジェクト: GabeTesta/Warps
		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			devDept.Eyeshot.BackgroundSettings backgroundSettings1 = new devDept.Eyeshot.BackgroundSettings(devDept.Eyeshot.backgroundStyleType.LinearGradient, System.Drawing.Color.WhiteSmoke, System.Drawing.Color.White, System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(163)))), ((int)(((byte)(210))))), 0.75D, null);
			devDept.Eyeshot.Camera camera1 = new devDept.Eyeshot.Camera(new devDept.Geometry.Point3D(0D, 0D, 0D), 100D, new devDept.Geometry.Quaternion(0.12940952255126034D, 0.22414386804201339D, 0.4829629131445341D, 0.83651630373780794D), devDept.Eyeshot.projectionType.Perspective, 50D, 13.83999784132426D);
			devDept.Eyeshot.ToolBarButton toolBarButton1 = new devDept.Eyeshot.ToolBarButton(null, "Zoom Window", "Zoom Window", System.Windows.Forms.ToolBarButtonStyle.ToggleButton, true);
			devDept.Eyeshot.ToolBarButton toolBarButton2 = new devDept.Eyeshot.ToolBarButton(null, "Zoom", "Zoom", System.Windows.Forms.ToolBarButtonStyle.ToggleButton, true);
			devDept.Eyeshot.ToolBarButton toolBarButton3 = new devDept.Eyeshot.ToolBarButton(null, "Pan", "Pan", System.Windows.Forms.ToolBarButtonStyle.ToggleButton, true);
			devDept.Eyeshot.ToolBarButton toolBarButton4 = new devDept.Eyeshot.ToolBarButton(null, "Rotate", "Rotate", System.Windows.Forms.ToolBarButtonStyle.ToggleButton, true);
			devDept.Eyeshot.ToolBarButton toolBarButton5 = new devDept.Eyeshot.ToolBarButton(null, "Zoom Fit", "Zoom Fit", System.Windows.Forms.ToolBarButtonStyle.PushButton, true);
			devDept.Eyeshot.ToolBar toolBar1 = new devDept.Eyeshot.ToolBar(devDept.Eyeshot.toolBarPositionType.HorizontalTopCenter, true, new devDept.Eyeshot.ToolBarButton[] {
            toolBarButton1,
            toolBarButton2,
            toolBarButton3,
            toolBarButton4,
            toolBarButton5});
			devDept.Eyeshot.Legend legend1 = new devDept.Eyeshot.Legend(0D, 100D, "Title", "Subtitle", new System.Drawing.Point(24, 24), new System.Drawing.Size(10, 30), true, false, false, "{0:0.##}", System.Drawing.Color.Transparent, System.Drawing.Color.Black, System.Drawing.Color.Black, new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold), new System.Drawing.Font("Tahoma", 8.25F), new System.Drawing.Color[] {
            System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(63)))), ((int)(((byte)(255))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(127)))), ((int)(((byte)(255))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(191))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(127))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(63))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(191)))), ((int)(((byte)(0))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(127)))), ((int)(((byte)(0))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(63)))), ((int)(((byte)(0))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))});
			devDept.Eyeshot.Grid grid1 = new devDept.Eyeshot.Grid(new devDept.Geometry.Point3D(-50D, -50D, 0D), new devDept.Geometry.Point3D(100D, 100D, 0D), 1D, new devDept.Geometry.Plane(new devDept.Geometry.Point3D(0D, 0D, 0D), new devDept.Geometry.Vector3D(0D, 0D, 1D)), System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))), System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32))))), false, true, false, false, 10, 100, 10, System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))));
			devDept.Eyeshot.OriginSymbol originSymbol1 = new devDept.Eyeshot.OriginSymbol(10, devDept.Eyeshot.originSymbolStyleType.Ball, new System.Drawing.Font("Tahoma", 8.25F), System.Drawing.Color.Black, System.Drawing.Color.Red, System.Drawing.Color.Green, System.Drawing.Color.Blue, "Origin", "X", "Y", "Z", true);
			devDept.Eyeshot.RotateSettings rotateSettings1 = new devDept.Eyeshot.RotateSettings(new devDept.Eyeshot.MouseButton(System.Windows.Forms.MouseButtons.Middle, devDept.Eyeshot.ModifierKeys.None), 10D, true, 1D, devDept.Eyeshot.rotationStyleType.Trackball, devDept.Eyeshot.rotationCenterType.CursorLocation, new devDept.Geometry.Point3D(0D, 0D, 0D));
			devDept.Eyeshot.ZoomSettings zoomSettings1 = new devDept.Eyeshot.ZoomSettings(new devDept.Eyeshot.MouseButton(System.Windows.Forms.MouseButtons.Middle, devDept.Eyeshot.ModifierKeys.Shift), 25, true, devDept.Eyeshot.zoomStyleType.AtCursorLocation, false, 1D, System.Drawing.Color.DeepSkyBlue, devDept.Eyeshot.perspectiveFitType.Accurate);
			devDept.Eyeshot.Viewport viewport1 = new devDept.Eyeshot.Viewport(new System.Drawing.Point(0, 0), new System.Drawing.Size(286, 346), backgroundSettings1, camera1, toolBar1, new devDept.Eyeshot.Legend[] {
            legend1}, devDept.Eyeshot.displayType.Rendered, true, false, false, new devDept.Eyeshot.Grid[] {
            grid1}, originSymbol1, false, rotateSettings1, zoomSettings1, new devDept.Eyeshot.PanSettings(new devDept.Eyeshot.MouseButton(System.Windows.Forms.MouseButtons.Middle, devDept.Eyeshot.ModifierKeys.Ctrl), 25, true));
			devDept.Eyeshot.BackgroundSettings backgroundSettings2 = new devDept.Eyeshot.BackgroundSettings(devDept.Eyeshot.backgroundStyleType.LinearGradient, System.Drawing.Color.WhiteSmoke, System.Drawing.Color.White, System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(163)))), ((int)(((byte)(210))))), 0.75D, null);
			devDept.Eyeshot.Camera camera2 = new devDept.Eyeshot.Camera(new devDept.Geometry.Point3D(0D, 0D, 0D), 100D, new devDept.Geometry.Quaternion(0.12940952255126034D, 0.22414386804201339D, 0.4829629131445341D, 0.83651630373780794D), devDept.Eyeshot.projectionType.Perspective, 50D, 13.83999784132426D);
			devDept.Eyeshot.ToolBarButton toolBarButton6 = new devDept.Eyeshot.ToolBarButton(null, "Zoom Window", "Zoom Window", System.Windows.Forms.ToolBarButtonStyle.ToggleButton, true);
			devDept.Eyeshot.ToolBarButton toolBarButton7 = new devDept.Eyeshot.ToolBarButton(null, "Zoom", "Zoom", System.Windows.Forms.ToolBarButtonStyle.ToggleButton, true);
			devDept.Eyeshot.ToolBarButton toolBarButton8 = new devDept.Eyeshot.ToolBarButton(null, "Pan", "Pan", System.Windows.Forms.ToolBarButtonStyle.ToggleButton, true);
			devDept.Eyeshot.ToolBarButton toolBarButton9 = new devDept.Eyeshot.ToolBarButton(null, "Rotate", "Rotate", System.Windows.Forms.ToolBarButtonStyle.ToggleButton, true);
			devDept.Eyeshot.ToolBarButton toolBarButton10 = new devDept.Eyeshot.ToolBarButton(null, "Zoom Fit", "Zoom Fit", System.Windows.Forms.ToolBarButtonStyle.PushButton, true);
			devDept.Eyeshot.ToolBar toolBar2 = new devDept.Eyeshot.ToolBar(devDept.Eyeshot.toolBarPositionType.HorizontalTopCenter, true, new devDept.Eyeshot.ToolBarButton[] {
            toolBarButton6,
            toolBarButton7,
            toolBarButton8,
            toolBarButton9,
            toolBarButton10});
			devDept.Eyeshot.Legend legend2 = new devDept.Eyeshot.Legend(0D, 100D, "Title", "Subtitle", new System.Drawing.Point(24, 24), new System.Drawing.Size(10, 30), true, false, false, "{0:0.##}", System.Drawing.Color.Transparent, System.Drawing.Color.Black, System.Drawing.Color.Black, new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold), new System.Drawing.Font("Tahoma", 8.25F), new System.Drawing.Color[] {
            System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(63)))), ((int)(((byte)(255))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(127)))), ((int)(((byte)(255))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(191))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(127))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(63))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(191)))), ((int)(((byte)(0))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(127)))), ((int)(((byte)(0))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(63)))), ((int)(((byte)(0))))),
            System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))});
			devDept.Eyeshot.Grid grid2 = new devDept.Eyeshot.Grid(new devDept.Geometry.Point3D(-50D, -50D, 0D), new devDept.Geometry.Point3D(100D, 100D, 0D), 1D, new devDept.Geometry.Plane(new devDept.Geometry.Point3D(0D, 0D, 0D), new devDept.Geometry.Vector3D(0D, 0D, 1D)), System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))), System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32))))), false, true, false, false, 10, 100, 10, System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))));
			devDept.Eyeshot.OriginSymbol originSymbol2 = new devDept.Eyeshot.OriginSymbol(10, devDept.Eyeshot.originSymbolStyleType.Ball, new System.Drawing.Font("Tahoma", 8.25F), System.Drawing.Color.Black, System.Drawing.Color.Red, System.Drawing.Color.Green, System.Drawing.Color.Blue, "Origin", "X", "Y", "Z", true);
			devDept.Eyeshot.RotateSettings rotateSettings2 = new devDept.Eyeshot.RotateSettings(new devDept.Eyeshot.MouseButton(System.Windows.Forms.MouseButtons.Middle, devDept.Eyeshot.ModifierKeys.None), 10D, true, 1D, devDept.Eyeshot.rotationStyleType.Trackball, devDept.Eyeshot.rotationCenterType.CursorLocation, new devDept.Geometry.Point3D(0D, 0D, 0D));
			devDept.Eyeshot.ZoomSettings zoomSettings2 = new devDept.Eyeshot.ZoomSettings(new devDept.Eyeshot.MouseButton(System.Windows.Forms.MouseButtons.Middle, devDept.Eyeshot.ModifierKeys.Shift), 25, true, devDept.Eyeshot.zoomStyleType.AtCursorLocation, false, 1D, System.Drawing.Color.DeepSkyBlue, devDept.Eyeshot.perspectiveFitType.Accurate);
			devDept.Eyeshot.Viewport viewport2 = new devDept.Eyeshot.Viewport(new System.Drawing.Point(0, 0), new System.Drawing.Size(242, 346), backgroundSettings2, camera2, toolBar2, new devDept.Eyeshot.Legend[] {
            legend2}, devDept.Eyeshot.displayType.Rendered, true, false, false, new devDept.Eyeshot.Grid[] {
            grid2}, originSymbol2, false, rotateSettings2, zoomSettings2, new devDept.Eyeshot.PanSettings(new devDept.Eyeshot.MouseButton(System.Windows.Forms.MouseButtons.Middle, devDept.Eyeshot.ModifierKeys.Ctrl), 25, true));
			this.splitContainer1 = new System.Windows.Forms.SplitContainer();
			this.LtoR = new System.Windows.Forms.Button();
			this.m_btnLeft = new System.Windows.Forms.Button();
			this.m_viewleft = new devDept.Eyeshot.SingleViewportLayout();
			this.m_dualViewContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
			this.m_camerastrip = new System.Windows.Forms.ToolStripMenuItem();
			this.m_layersToolStrip = new System.Windows.Forms.ToolStripMenuItem();
			this.gridToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
			this.toggleArrowsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
			this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
			this.saveColorsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this.loadColorsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this.RtoL = new System.Windows.Forms.Button();
			this.m_btnRight = new System.Windows.Forms.Button();
			this.m_viewright = new devDept.Eyeshot.SingleViewportLayout();
			this.printToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
			this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
			this.splitContainer1.Panel1.SuspendLayout();
			this.splitContainer1.Panel2.SuspendLayout();
			this.splitContainer1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.m_viewleft)).BeginInit();
			this.m_dualViewContextMenu.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.m_viewright)).BeginInit();
			this.SuspendLayout();
			// 
			// splitContainer1
			// 
			this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.splitContainer1.Location = new System.Drawing.Point(0, 0);
			this.splitContainer1.Name = "splitContainer1";
			// 
			// splitContainer1.Panel1
			// 
			this.splitContainer1.Panel1.Controls.Add(this.LtoR);
			this.splitContainer1.Panel1.Controls.Add(this.m_btnLeft);
			this.splitContainer1.Panel1.Controls.Add(this.m_viewleft);
			// 
			// splitContainer1.Panel2
			// 
			this.splitContainer1.Panel2.Controls.Add(this.RtoL);
			this.splitContainer1.Panel2.Controls.Add(this.m_btnRight);
			this.splitContainer1.Panel2.Controls.Add(this.m_viewright);
			this.splitContainer1.Size = new System.Drawing.Size(532, 346);
			this.splitContainer1.SplitterDistance = 286;
			this.splitContainer1.TabIndex = 0;
			// 
			// LtoR
			// 
			this.LtoR.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.LtoR.BackColor = System.Drawing.Color.Transparent;
			this.LtoR.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.LtoR.Location = new System.Drawing.Point(270, 0);
			this.LtoR.Name = "LtoR";
			this.LtoR.Size = new System.Drawing.Size(16, 24);
			this.LtoR.TabIndex = 3;
			this.LtoR.Text = ">";
			this.LtoR.UseVisualStyleBackColor = false;
			this.LtoR.Click += new System.EventHandler(this.LtoR_Click);
			// 
			// m_btnLeft
			// 
			this.m_btnLeft.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.m_btnLeft.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_btnLeft.Location = new System.Drawing.Point(255, 323);
			this.m_btnLeft.Name = "m_btnLeft";
			this.m_btnLeft.Size = new System.Drawing.Size(31, 23);
			this.m_btnLeft.TabIndex = 1;
			this.m_btnLeft.Text = "<<";
			this.m_btnLeft.UseVisualStyleBackColor = true;
			this.m_btnLeft.Click += new System.EventHandler(this.m_expandBtn_Click);
			// 
			// m_viewleft
			// 
			this.m_viewleft.AskForFsaa = true;
			this.m_viewleft.ContextMenuStrip = this.m_dualViewContextMenu;
			this.m_viewleft.Cursor = System.Windows.Forms.Cursors.Default;
			this.m_viewleft.Dock = System.Windows.Forms.DockStyle.Fill;
			this.m_viewleft.FsaaSamples = devDept.Eyeshot.antialiasingSamplesNumberType.x2;
			this.m_viewleft.Location = new System.Drawing.Point(0, 0);
			this.m_viewleft.Name = "m_viewleft";
			this.m_viewleft.PlanarShadowOpacity = 0D;
			this.m_viewleft.Size = new System.Drawing.Size(286, 346);
			this.m_viewleft.TabIndex = 0;
			this.m_viewleft.Text = "Left View";
			viewport1.Legends = new devDept.Eyeshot.Legend[] {
        legend1};
			this.m_viewleft.Viewports.Add(viewport1);
			this.m_viewleft.Enter += new System.EventHandler(this.focus_Enter);
			this.m_viewleft.KeyUp += new System.Windows.Forms.KeyEventHandler(this.m_viewleft_KeyUp);
			this.m_viewleft.Leave += new System.EventHandler(this.focus_Leave);
			this.m_viewleft.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.m_viewleft_MouseDoubleClick);
			// 
			// m_dualViewContextMenu
			// 
			this.m_dualViewContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.m_camerastrip,
            this.m_layersToolStrip,
            this.gridToolStripMenuItem,
            this.toolStripSeparator2,
            this.toggleArrowsToolStripMenuItem,
            this.toolStripSeparator1,
            this.toolStripMenuItem1,
            this.saveColorsToolStripMenuItem,
            this.loadColorsToolStripMenuItem,
            this.toolStripSeparator3,
            this.printToolStripMenuItem});
			this.m_dualViewContextMenu.Name = "m_dualViewContextMenu";
			this.m_dualViewContextMenu.Size = new System.Drawing.Size(153, 220);
			this.m_dualViewContextMenu.Opening += new System.ComponentModel.CancelEventHandler(this.ContextMenu_Opening);
			// 
			// m_camerastrip
			// 
			this.m_camerastrip.Name = "m_camerastrip";
			this.m_camerastrip.Size = new System.Drawing.Size(152, 22);
			this.m_camerastrip.Text = "Camera";
			// 
			// m_layersToolStrip
			// 
			this.m_layersToolStrip.Name = "m_layersToolStrip";
			this.m_layersToolStrip.Size = new System.Drawing.Size(152, 22);
			this.m_layersToolStrip.Text = "Layers";
			// 
			// gridToolStripMenuItem
			// 
			this.gridToolStripMenuItem.Name = "gridToolStripMenuItem";
			this.gridToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
			this.gridToolStripMenuItem.Text = "Grid";
			this.gridToolStripMenuItem.Click += new System.EventHandler(this.gridToolStripMenuItem_Click);
			// 
			// toolStripSeparator2
			// 
			this.toolStripSeparator2.Name = "toolStripSeparator2";
			this.toolStripSeparator2.Size = new System.Drawing.Size(149, 6);
			// 
			// toggleArrowsToolStripMenuItem
			// 
			this.toggleArrowsToolStripMenuItem.Name = "toggleArrowsToolStripMenuItem";
			this.toggleArrowsToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
			this.toggleArrowsToolStripMenuItem.Text = "Toggle Arrows";
			this.toggleArrowsToolStripMenuItem.Click += new System.EventHandler(this.toggleArrowsToolStripMenuItem_Click);
			// 
			// toolStripSeparator1
			// 
			this.toolStripSeparator1.Name = "toolStripSeparator1";
			this.toolStripSeparator1.Size = new System.Drawing.Size(149, 6);
			// 
			// toolStripMenuItem1
			// 
			this.toolStripMenuItem1.BackColor = System.Drawing.SystemColors.Control;
			this.toolStripMenuItem1.Name = "toolStripMenuItem1";
			this.toolStripMenuItem1.Size = new System.Drawing.Size(152, 22);
			this.toolStripMenuItem1.Text = "Colors...";
			this.toolStripMenuItem1.Click += new System.EventHandler(this.colorsToolStripMenuItem_Click);
			// 
			// saveColorsToolStripMenuItem
			// 
			this.saveColorsToolStripMenuItem.Name = "saveColorsToolStripMenuItem";
			this.saveColorsToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
			this.saveColorsToolStripMenuItem.Text = "Save Colors";
			this.saveColorsToolStripMenuItem.Click += new System.EventHandler(this.saveColorsToolStripMenuItem_Click_1);
			// 
			// loadColorsToolStripMenuItem
			// 
			this.loadColorsToolStripMenuItem.Name = "loadColorsToolStripMenuItem";
			this.loadColorsToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
			this.loadColorsToolStripMenuItem.Text = "Load Colors";
			this.loadColorsToolStripMenuItem.Click += new System.EventHandler(this.loadColorsToolStripMenuItem_Click);
			// 
			// RtoL
			// 
			this.RtoL.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.RtoL.Location = new System.Drawing.Point(0, 0);
			this.RtoL.Name = "RtoL";
			this.RtoL.Size = new System.Drawing.Size(16, 24);
			this.RtoL.TabIndex = 2;
			this.RtoL.Text = "<";
			this.RtoL.UseVisualStyleBackColor = true;
			this.RtoL.Click += new System.EventHandler(this.RtoL_Click);
			// 
			// m_btnRight
			// 
			this.m_btnRight.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.m_btnRight.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_btnRight.Location = new System.Drawing.Point(0, 323);
			this.m_btnRight.Name = "m_btnRight";
			this.m_btnRight.Size = new System.Drawing.Size(31, 23);
			this.m_btnRight.TabIndex = 1;
			this.m_btnRight.Text = ">>";
			this.m_btnRight.UseVisualStyleBackColor = true;
			this.m_btnRight.Click += new System.EventHandler(this.m_expandBtn_Click);
			// 
			// m_viewright
			// 
			this.m_viewright.AskForFsaa = true;
			this.m_viewright.ContextMenuStrip = this.m_dualViewContextMenu;
			this.m_viewright.Cursor = System.Windows.Forms.Cursors.Default;
			this.m_viewright.Dock = System.Windows.Forms.DockStyle.Fill;
			this.m_viewright.FsaaSamples = devDept.Eyeshot.antialiasingSamplesNumberType.x2;
			this.m_viewright.Location = new System.Drawing.Point(0, 0);
			this.m_viewright.Name = "m_viewright";
			this.m_viewright.Size = new System.Drawing.Size(242, 346);
			this.m_viewright.TabIndex = 0;
			this.m_viewright.Text = "Right View";
			viewport2.Legends = new devDept.Eyeshot.Legend[] {
        legend2};
			this.m_viewright.Viewports.Add(viewport2);
			this.m_viewright.Enter += new System.EventHandler(this.focus_Enter);
			this.m_viewright.KeyUp += new System.Windows.Forms.KeyEventHandler(this.m_viewleft_KeyUp);
			this.m_viewright.Leave += new System.EventHandler(this.focus_Leave);
			this.m_viewright.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.m_viewleft_MouseDoubleClick);
			// 
			// printToolStripMenuItem
			// 
			this.printToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.saveToolStripMenuItem,
            this.copyToolStripMenuItem});
			this.printToolStripMenuItem.Name = "printToolStripMenuItem";
			this.printToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
			this.printToolStripMenuItem.Text = "Save/Copy";
			// 
			// toolStripSeparator3
			// 
			this.toolStripSeparator3.Name = "toolStripSeparator3";
			this.toolStripSeparator3.Size = new System.Drawing.Size(149, 6);
			// 
			// saveToolStripMenuItem
			// 
			this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
			this.saveToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
			this.saveToolStripMenuItem.Text = "Save";
			this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
			// 
			// copyToolStripMenuItem
			// 
			this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
			this.copyToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
			this.copyToolStripMenuItem.Text = "Copy";
			this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
			// 
			// DualView
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.Controls.Add(this.splitContainer1);
			this.Name = "DualView";
			this.Size = new System.Drawing.Size(532, 346);
			this.Load += new System.EventHandler(this.DualView_Load);
			this.splitContainer1.Panel1.ResumeLayout(false);
			this.splitContainer1.Panel2.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
			this.splitContainer1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.m_viewleft)).EndInit();
			this.m_dualViewContextMenu.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.m_viewright)).EndInit();
			this.ResumeLayout(false);

		}
コード例 #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     devDept.Eyeshot.ButtonSettings              buttonSettings1              = new devDept.Eyeshot.ButtonSettings(32, 0, 4, System.Drawing.Color.DeepPink);
     devDept.Eyeshot.CancelToolBarButton         cancelToolBarButton1         = new devDept.Eyeshot.CancelToolBarButton("Cancel", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.ProgressBar                 progressBar1                 = new devDept.Eyeshot.ProgressBar(devDept.Eyeshot.ProgressBar.styleType.Circular, 0, "Idle", System.Drawing.Color.GhostWhite, System.Drawing.Color.Gray, System.Drawing.Color.DimGray, 1D, true, cancelToolBarButton1, true, 0.1D, true);
     devDept.Eyeshot.DisplayModeSettingsRendered displayModeSettingsRendered1 = new devDept.Eyeshot.DisplayModeSettingsRendered(true, devDept.Eyeshot.edgeColorMethodType.EntityColor, System.Drawing.Color.Black, 1F, 2F, devDept.Eyeshot.silhouettesDrawingType.LastFrame, false, devDept.Graphics.shadowType.Realistic, null, false, true, 0.3F, devDept.Graphics.realisticShadowQualityType.High);
     devDept.Graphics.BackgroundSettings         backgroundSettings1          = new devDept.Graphics.BackgroundSettings(devDept.Graphics.backgroundStyleType.LinearGradient, System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(71)))), ((int)(((byte)(82))))), System.Drawing.Color.DodgerBlue, System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(35)))), ((int)(((byte)(41))))), 0.75D, null, devDept.Graphics.colorThemeType.Auto, 0.3D);
     devDept.Eyeshot.Camera                         camera1                       = new devDept.Eyeshot.Camera(new devDept.Geometry.Point3D(0D, 0D, 50D), 600D, new devDept.Geometry.Quaternion(0.086824088833465166D, 0.15038373318043533D, 0.492403876506104D, 0.85286853195244339D), devDept.Graphics.projectionType.Perspective, 50D, 2.0000000646266471D, false, 0.001D);
     devDept.Eyeshot.HomeToolBarButton              homeToolBarButton1            = new devDept.Eyeshot.HomeToolBarButton("Home", devDept.Eyeshot.ToolBarButton.styleType.PushButton, true, true);
     devDept.Eyeshot.MagnifyingGlassToolBarButton   magnifyingGlassToolBarButton1 = new devDept.Eyeshot.MagnifyingGlassToolBarButton("Magnifying Glass", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.ZoomWindowToolBarButton        zoomWindowToolBarButton1      = new devDept.Eyeshot.ZoomWindowToolBarButton("Zoom Window", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.ZoomToolBarButton              zoomToolBarButton1            = new devDept.Eyeshot.ZoomToolBarButton("Zoom", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.PanToolBarButton               panToolBarButton1             = new devDept.Eyeshot.PanToolBarButton("Pan", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.RotateToolBarButton            rotateToolBarButton1          = new devDept.Eyeshot.RotateToolBarButton("Rotate", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.ZoomFitToolBarButton           zoomFitToolBarButton1         = new devDept.Eyeshot.ZoomFitToolBarButton("Zoom Fit", devDept.Eyeshot.ToolBarButton.styleType.PushButton, true, true);
     System.ComponentModel.ComponentResourceManager resources                     = new System.ComponentModel.ComponentResourceManager(typeof(CAD));
     devDept.Eyeshot.ToolBarButton                  toolBarButton1                = new devDept.Eyeshot.ToolBarButton(((System.Drawing.Image)(resources.GetObject("viewportLayout1.Viewports"))), "LegendEditor", "Edit Legend Style", devDept.Eyeshot.ToolBarButton.styleType.PushButton, true, false, ((System.Drawing.Image)(resources.GetObject("viewportLayout1.Viewports1"))), null);
     devDept.Eyeshot.ToolBarButton                  toolBarButton2                = new devDept.Eyeshot.ToolBarButton(((System.Drawing.Image)(resources.GetObject("viewportLayout1.Viewports2"))), "MakeTransparent", "Make Transparent", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true, ((System.Drawing.Image)(resources.GetObject("viewportLayout1.Viewports3"))), null);
     devDept.Eyeshot.ToolBarButton                  toolBarButton3                = new devDept.Eyeshot.ToolBarButton(((System.Drawing.Image)(resources.GetObject("viewportLayout1.Viewports4"))), "RestoreColours", null, devDept.Eyeshot.ToolBarButton.styleType.PushButton, true, true, null, null);
     devDept.Eyeshot.ToolBar                        toolBar1                      = new devDept.Eyeshot.ToolBar(devDept.Eyeshot.ToolBar.positionType.HorizontalTopCenter, true, new devDept.Eyeshot.ToolBarButton[] {
         ((devDept.Eyeshot.ToolBarButton)(homeToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(magnifyingGlassToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(zoomWindowToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(zoomToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(panToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(rotateToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(zoomFitToolBarButton1)),
         toolBarButton1,
         toolBarButton2,
         toolBarButton3
     });
     devDept.Eyeshot.RotateSettings             rotateSettings1     = new devDept.Eyeshot.RotateSettings(new devDept.Eyeshot.MouseButton(devDept.Eyeshot.mouseButtonsZPR.Middle, devDept.Eyeshot.modifierKeys.None), 10D, true, 1D, devDept.Eyeshot.rotationType.Trackball, devDept.Eyeshot.rotationCenterType.CursorLocation, new devDept.Geometry.Point3D(0D, 0D, 0D), false);
     devDept.Eyeshot.ZoomSettings               zoomSettings1       = new devDept.Eyeshot.ZoomSettings(new devDept.Eyeshot.MouseButton(devDept.Eyeshot.mouseButtonsZPR.Middle, devDept.Eyeshot.modifierKeys.Shift), 25, true, devDept.Eyeshot.zoomStyleType.AtCursorLocation, false, 1D, System.Drawing.Color.Empty, devDept.Eyeshot.Camera.perspectiveFitType.Accurate, true, 10, true);
     devDept.Eyeshot.PanSettings                panSettings1        = new devDept.Eyeshot.PanSettings(new devDept.Eyeshot.MouseButton(devDept.Eyeshot.mouseButtonsZPR.Middle, devDept.Eyeshot.modifierKeys.Ctrl), 25, true);
     devDept.Eyeshot.NavigationSettings         navigationSettings1 = new devDept.Eyeshot.NavigationSettings(devDept.Eyeshot.Camera.navigationType.Examine, new devDept.Eyeshot.MouseButton(devDept.Eyeshot.mouseButtonsZPR.Left, devDept.Eyeshot.modifierKeys.None), new devDept.Geometry.Point3D(-1000D, -1000D, -1000D), new devDept.Geometry.Point3D(1000D, 1000D, 1000D), 8D, 50D, 50D);
     devDept.Eyeshot.Viewport.SavedViewsManager savedViewsManager1  = new devDept.Eyeshot.Viewport.SavedViewsManager(8);
     devDept.Eyeshot.Viewport viewport1 = new devDept.Eyeshot.Viewport(new System.Drawing.Point(0, 0), new System.Drawing.Size(988, 712), backgroundSettings1, camera1, new devDept.Eyeshot.ToolBar[] {
         toolBar1
     }, devDept.Eyeshot.displayType.Rendered, true, false, false, false, new devDept.Eyeshot.Grid[0], false, rotateSettings1, zoomSettings1, panSettings1, navigationSettings1, savedViewsManager1, devDept.Eyeshot.viewType.Trimetric);
     devDept.Eyeshot.CoordinateSystemIcon coordinateSystemIcon1 = new devDept.Eyeshot.CoordinateSystemIcon(System.Drawing.Color.White, System.Drawing.Color.LimeGreen, System.Drawing.Color.Turquoise, System.Drawing.Color.Orange, "Origin", "Y", "Z", "X", true, devDept.Eyeshot.coordinateSystemPositionType.BottomLeft, 37, true);
     devDept.Eyeshot.Legend legend1 = new devDept.Eyeshot.Legend(-100D, 100D, "Force Distribution (N)", "Positive - Compression ; Negative - Tension", new System.Drawing.Point(24, 24), new System.Drawing.Size(10, 30), false, false, false, "{0:+0;-0;0}", System.Drawing.Color.Transparent, System.Drawing.Color.White, System.Drawing.Color.GhostWhite, new System.Drawing.Color[] {
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(63)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(127)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(191))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(127))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(63))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(191)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(127)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(63)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))
     }, true, false);
     devDept.Eyeshot.OriginSymbol originSymbol1 = new devDept.Eyeshot.OriginSymbol(10, devDept.Eyeshot.originSymbolStyleType.Ball, System.Drawing.Color.Black, System.Drawing.Color.Red, System.Drawing.Color.Green, System.Drawing.Color.Blue, "Origin", "X", "Y", "Z", true, null, false);
     devDept.Eyeshot.ViewCubeIcon viewCubeIcon1 = new devDept.Eyeshot.ViewCubeIcon(devDept.Eyeshot.coordinateSystemPositionType.TopRight, true, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(20)))), ((int)(((byte)(147))))), true, "FRONT", "BACK", "LEFT", "RIGHT", "TOP", "BOTTOM", System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), 'S', 'N', 'W', 'E', true, System.Drawing.Color.White, System.Drawing.Color.Black, 120, true, true, null, null, null, null, null, null, false);
     this.viewportLayout1              = new devDept.Eyeshot.ViewportLayout();
     this.popupMenuCADRightClick       = new DevExpress.XtraBars.PopupMenu(this.components);
     this.barButtonSelectByEdge        = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonSelectByFace        = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonSelectByVertex      = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonBoxSelectionVisible = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonBoxSelectionAll     = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonSingleSelection     = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonMultipleSelection   = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonHideObject          = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonRestoreOrientation  = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonClearSelection      = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemLegendEditor    = new DevExpress.XtraBars.BarButtonItem();
     this.barManager1                            = new DevExpress.XtraBars.BarManager(this.components);
     this.barDockControlTop                      = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlBottom                   = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlLeft                     = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlRight                    = new DevExpress.XtraBars.BarDockControl();
     this.barButtonItem1                         = new DevExpress.XtraBars.BarButtonItem();
     this.barSubItem1                            = new DevExpress.XtraBars.BarSubItem();
     this.barToolbarsListItem1                   = new DevExpress.XtraBars.BarToolbarsListItem();
     this.barToggleSwitchItem1                   = new DevExpress.XtraBars.BarToggleSwitchItem();
     this.barEditItem1                           = new DevExpress.XtraBars.BarEditItem();
     this.repositoryItemTextEdit1                = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.barButtonItem2                         = new DevExpress.XtraBars.BarButtonItem();
     this.barSubItem2                            = new DevExpress.XtraBars.BarSubItem();
     this.barCheckItem1                          = new DevExpress.XtraBars.BarCheckItem();
     this.barEditItem2                           = new DevExpress.XtraBars.BarEditItem();
     this.repositoryItemCheckedComboBoxEdit1     = new DevExpress.XtraEditors.Repository.RepositoryItemCheckedComboBoxEdit();
     this.barEditItem3                           = new DevExpress.XtraBars.BarEditItem();
     this.repositoryItemTextEdit2                = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.barEditItem4                           = new DevExpress.XtraBars.BarEditItem();
     this.repositoryItemTextEdit3                = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.barEditItem5                           = new DevExpress.XtraBars.BarEditItem();
     this.repositoryItemPopupContainerEdit1      = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit();
     this.barCheckItem2                          = new DevExpress.XtraBars.BarCheckItem();
     this.barButtonItemEnableIndividualSelection = new DevExpress.XtraBars.BarButtonItem();
     this.barToggleSwitchItem2                   = new DevExpress.XtraBars.BarToggleSwitchItem();
     ((System.ComponentModel.ISupportInitialize)(this.viewportLayout1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuCADRightClick)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckedComboBoxEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit1)).BeginInit();
     this.SuspendLayout();
     //
     // viewportLayout1
     //
     this.viewportLayout1.ButtonStyle     = buttonSettings1;
     this.viewportLayout1.Cursor          = System.Windows.Forms.Cursors.Default;
     this.viewportLayout1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.viewportLayout1.Font            = new System.Drawing.Font("Tahoma", 7.875F);
     this.viewportLayout1.Location        = new System.Drawing.Point(0, 0);
     this.viewportLayout1.Margin          = new System.Windows.Forms.Padding(2);
     this.viewportLayout1.Name            = "viewportLayout1";
     this.viewportLayout1.OrientationMode = devDept.Graphics.orientationType.UpAxisY;
     this.barManager1.SetPopupContextMenu(this.viewportLayout1, this.popupMenuCADRightClick);
     this.viewportLayout1.ProgressBar    = progressBar1;
     this.viewportLayout1.Rendered       = displayModeSettingsRendered1;
     this.viewportLayout1.SelectionColor = System.Drawing.Color.Aqua;
     this.viewportLayout1.Size           = new System.Drawing.Size(988, 712);
     this.viewportLayout1.TabIndex       = 0;
     this.viewportLayout1.Text           = "viewportLayout1";
     this.viewportLayout1.Units          = devDept.Geometry.linearUnitsType.Millimeters;
     coordinateSystemIcon1.LabelFont     = new System.Drawing.Font("Microsoft Sans Serif", 7.875F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     viewport1.CoordinateSystemIcon      = coordinateSystemIcon1;
     legend1.TextFont  = null;
     legend1.TitleFont = new System.Drawing.Font("Tahoma", 14F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))));
     viewport1.Legends = new devDept.Eyeshot.Legend[] {
         legend1
     };
     originSymbol1.LabelFont       = new System.Drawing.Font("Microsoft Sans Serif", 7.875F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     viewport1.OriginSymbol        = originSymbol1;
     viewCubeIcon1.Font            = null;
     viewCubeIcon1.InitialRotation = new devDept.Geometry.Quaternion(0D, 0D, 0D, 1D);
     viewport1.ViewCubeIcon        = viewCubeIcon1;
     this.viewportLayout1.Viewports.Add(viewport1);
     this.viewportLayout1.MouseClick       += new System.Windows.Forms.MouseEventHandler(this.viewportLayout1_MouseDoubleClick);
     this.viewportLayout1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.viewportLayout1_MouseDoubleClick);
     this.viewportLayout1.MouseLeave       += new System.EventHandler(this.viewportLayout1_MouseLeave);
     //
     // popupMenuCADRightClick
     //
     this.popupMenuCADRightClick.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonSelectByEdge),
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonSelectByFace),
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonSelectByVertex),
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonBoxSelectionVisible),
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonBoxSelectionAll),
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonSingleSelection),
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonMultipleSelection),
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonHideObject, true),
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonRestoreOrientation),
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonClearSelection),
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemLegendEditor, true)
     });
     this.popupMenuCADRightClick.Manager = this.barManager1;
     this.popupMenuCADRightClick.Name    = "popupMenuCADRightClick";
     //
     // barButtonSelectByEdge
     //
     this.barButtonSelectByEdge.Caption    = "Select By Edge";
     this.barButtonSelectByEdge.Id         = 8;
     this.barButtonSelectByEdge.Name       = "barButtonSelectByEdge";
     this.barButtonSelectByEdge.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     this.barButtonSelectByEdge.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonSelectByEdge_ItemClick);
     //
     // barButtonSelectByFace
     //
     this.barButtonSelectByFace.Caption    = "Select By Face";
     this.barButtonSelectByFace.Id         = 9;
     this.barButtonSelectByFace.Name       = "barButtonSelectByFace";
     this.barButtonSelectByFace.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     this.barButtonSelectByFace.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonSelectByFace_ItemClick);
     //
     // barButtonSelectByVertex
     //
     this.barButtonSelectByVertex.Caption    = "Select By Vertex";
     this.barButtonSelectByVertex.Id         = 10;
     this.barButtonSelectByVertex.Name       = "barButtonSelectByVertex";
     this.barButtonSelectByVertex.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     this.barButtonSelectByVertex.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonSelectByVertex_ItemClick);
     //
     // barButtonBoxSelectionVisible
     //
     this.barButtonBoxSelectionVisible.Caption    = "Box Selection (Only Visible Items)";
     this.barButtonBoxSelectionVisible.Id         = 0;
     this.barButtonBoxSelectionVisible.Name       = "barButtonBoxSelectionVisible";
     this.barButtonBoxSelectionVisible.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonBoxSelection_ItemClick);
     //
     // barButtonBoxSelectionAll
     //
     this.barButtonBoxSelectionAll.Caption    = "Box Selection (All Items)";
     this.barButtonBoxSelectionAll.Id         = 7;
     this.barButtonBoxSelectionAll.Name       = "barButtonBoxSelectionAll";
     this.barButtonBoxSelectionAll.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonBoxSelectionAll_ItemClick);
     //
     // barButtonSingleSelection
     //
     this.barButtonSingleSelection.Caption    = "Single Selection";
     this.barButtonSingleSelection.Id         = 3;
     this.barButtonSingleSelection.Name       = "barButtonSingleSelection";
     this.barButtonSingleSelection.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonSingleSelection_ItemClick);
     //
     // barButtonMultipleSelection
     //
     this.barButtonMultipleSelection.Caption    = "Multiple Selection";
     this.barButtonMultipleSelection.Id         = 2;
     this.barButtonMultipleSelection.Name       = "barButtonMultipleSelection";
     this.barButtonMultipleSelection.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonMultipleSelection_ItemClick);
     //
     // barButtonHideObject
     //
     this.barButtonHideObject.Caption    = "Hide Object(s)";
     this.barButtonHideObject.Id         = 5;
     this.barButtonHideObject.Name       = "barButtonHideObject";
     this.barButtonHideObject.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonHideObject_ItemClick);
     //
     // barButtonRestoreOrientation
     //
     this.barButtonRestoreOrientation.Caption    = "Restore Previous Orientation";
     this.barButtonRestoreOrientation.Id         = 4;
     this.barButtonRestoreOrientation.Name       = "barButtonRestoreOrientation";
     this.barButtonRestoreOrientation.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonRestoreOrientation_ItemClick);
     //
     // barButtonClearSelection
     //
     this.barButtonClearSelection.Caption    = "Clear Selection";
     this.barButtonClearSelection.Id         = 6;
     this.barButtonClearSelection.Name       = "barButtonClearSelection";
     this.barButtonClearSelection.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonClearSelection_ItemClick);
     //
     // barButtonItemLegendEditor
     //
     this.barButtonItemLegendEditor.Caption    = "Legend Editor";
     this.barButtonItemLegendEditor.Enabled    = false;
     this.barButtonItemLegendEditor.Id         = 26;
     this.barButtonItemLegendEditor.Name       = "barButtonItemLegendEditor";
     this.barButtonItemLegendEditor.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemLegendEditor_ItemClick);
     //
     // barManager1
     //
     this.barManager1.DockControls.Add(this.barDockControlTop);
     this.barManager1.DockControls.Add(this.barDockControlBottom);
     this.barManager1.DockControls.Add(this.barDockControlLeft);
     this.barManager1.DockControls.Add(this.barDockControlRight);
     this.barManager1.Form = this;
     this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
         this.barButtonBoxSelectionVisible,
         this.barButtonItem1,
         this.barButtonMultipleSelection,
         this.barButtonSingleSelection,
         this.barButtonRestoreOrientation,
         this.barButtonHideObject,
         this.barButtonClearSelection,
         this.barButtonBoxSelectionAll,
         this.barButtonSelectByEdge,
         this.barButtonSelectByFace,
         this.barButtonSelectByVertex,
         this.barSubItem1,
         this.barToolbarsListItem1,
         this.barToggleSwitchItem1,
         this.barEditItem1,
         this.barButtonItem2,
         this.barSubItem2,
         this.barEditItem2,
         this.barCheckItem1,
         this.barEditItem3,
         this.barEditItem4,
         this.barEditItem5,
         this.barCheckItem2,
         this.barButtonItemEnableIndividualSelection,
         this.barToggleSwitchItem2,
         this.barButtonItemLegendEditor
     });
     this.barManager1.MaxItemId = 27;
     this.barManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemTextEdit1,
         this.repositoryItemCheckedComboBoxEdit1,
         this.repositoryItemTextEdit2,
         this.repositoryItemTextEdit3,
         this.repositoryItemPopupContainerEdit1
     });
     //
     // barDockControlTop
     //
     this.barDockControlTop.CausesValidation = false;
     this.barDockControlTop.Dock             = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location         = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Manager          = this.barManager1;
     this.barDockControlTop.Size             = new System.Drawing.Size(988, 0);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock             = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location         = new System.Drawing.Point(0, 712);
     this.barDockControlBottom.Manager          = this.barManager1;
     this.barDockControlBottom.Size             = new System.Drawing.Size(988, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock             = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location         = new System.Drawing.Point(0, 0);
     this.barDockControlLeft.Manager          = this.barManager1;
     this.barDockControlLeft.Size             = new System.Drawing.Size(0, 712);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock             = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location         = new System.Drawing.Point(988, 0);
     this.barDockControlRight.Manager          = this.barManager1;
     this.barDockControlRight.Size             = new System.Drawing.Size(0, 712);
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption = "barButtonItem1";
     this.barButtonItem1.Id      = 1;
     this.barButtonItem1.Name    = "barButtonItem1";
     //
     // barSubItem1
     //
     this.barSubItem1.Caption = "ddd";
     this.barSubItem1.Id      = 11;
     this.barSubItem1.Name    = "barSubItem1";
     //
     // barToolbarsListItem1
     //
     this.barToolbarsListItem1.Caption = "barToolbarsListItem1";
     this.barToolbarsListItem1.Id      = 12;
     this.barToolbarsListItem1.Name    = "barToolbarsListItem1";
     //
     // barToggleSwitchItem1
     //
     this.barToggleSwitchItem1.Caption = "barToggleSwitchItem1";
     this.barToggleSwitchItem1.Id      = 13;
     this.barToggleSwitchItem1.Name    = "barToggleSwitchItem1";
     //
     // barEditItem1
     //
     this.barEditItem1.Edit = this.repositoryItemTextEdit1;
     this.barEditItem1.Id   = 14;
     this.barEditItem1.Name = "barEditItem1";
     //
     // repositoryItemTextEdit1
     //
     this.repositoryItemTextEdit1.AutoHeight = false;
     this.repositoryItemTextEdit1.Name       = "repositoryItemTextEdit1";
     //
     // barButtonItem2
     //
     this.barButtonItem2.Caption = "barButtonItem2";
     this.barButtonItem2.Id      = 15;
     this.barButtonItem2.Name    = "barButtonItem2";
     //
     // barSubItem2
     //
     this.barSubItem2.Caption = "Enable Individual Selection";
     this.barSubItem2.Id      = 16;
     this.barSubItem2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItem1)
     });
     this.barSubItem2.Name = "barSubItem2";
     //
     // barCheckItem1
     //
     this.barCheckItem1.Caption = "barCheckItem1";
     this.barCheckItem1.Id      = 18;
     this.barCheckItem1.Name    = "barCheckItem1";
     //
     // barEditItem2
     //
     this.barEditItem2.Caption = "barEditItem2";
     this.barEditItem2.Edit    = this.repositoryItemCheckedComboBoxEdit1;
     this.barEditItem2.Id      = 17;
     this.barEditItem2.Name    = "barEditItem2";
     //
     // repositoryItemCheckedComboBoxEdit1
     //
     this.repositoryItemCheckedComboBoxEdit1.AutoHeight = false;
     this.repositoryItemCheckedComboBoxEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemCheckedComboBoxEdit1.Name = "repositoryItemCheckedComboBoxEdit1";
     //
     // barEditItem3
     //
     this.barEditItem3.Caption = "barEditItem3";
     this.barEditItem3.Edit    = this.repositoryItemTextEdit2;
     this.barEditItem3.Id      = 19;
     this.barEditItem3.Name    = "barEditItem3";
     //
     // repositoryItemTextEdit2
     //
     this.repositoryItemTextEdit2.AutoHeight = false;
     this.repositoryItemTextEdit2.Name       = "repositoryItemTextEdit2";
     //
     // barEditItem4
     //
     this.barEditItem4.Caption = "barEditItem4";
     this.barEditItem4.Edit    = this.repositoryItemTextEdit3;
     this.barEditItem4.Id      = 20;
     this.barEditItem4.Name    = "barEditItem4";
     //
     // repositoryItemTextEdit3
     //
     this.repositoryItemTextEdit3.AutoHeight = false;
     this.repositoryItemTextEdit3.Name       = "repositoryItemTextEdit3";
     //
     // barEditItem5
     //
     this.barEditItem5.Caption = "barEditItem5";
     this.barEditItem5.Edit    = this.repositoryItemPopupContainerEdit1;
     this.barEditItem5.Id      = 21;
     this.barEditItem5.Name    = "barEditItem5";
     //
     // repositoryItemPopupContainerEdit1
     //
     this.repositoryItemPopupContainerEdit1.AutoHeight = false;
     this.repositoryItemPopupContainerEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemPopupContainerEdit1.Name = "repositoryItemPopupContainerEdit1";
     //
     // barCheckItem2
     //
     this.barCheckItem2.Id   = 23;
     this.barCheckItem2.Name = "barCheckItem2";
     //
     // barButtonItemEnableIndividualSelection
     //
     this.barButtonItemEnableIndividualSelection.Caption = "Enable Individual Selection";
     this.barButtonItemEnableIndividualSelection.Id      = 24;
     this.barButtonItemEnableIndividualSelection.Name    = "barButtonItemEnableIndividualSelection";
     //
     // barToggleSwitchItem2
     //
     this.barToggleSwitchItem2.Caption = "barToggleSwitchItem2";
     this.barToggleSwitchItem2.Id      = 25;
     this.barToggleSwitchItem2.Name    = "barToggleSwitchItem2";
     //
     // CAD
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll          = true;
     this.AutoSize            = true;
     this.Controls.Add(this.viewportLayout1);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.Name   = "CAD";
     this.Size   = new System.Drawing.Size(988, 712);
     this.Load  += new System.EventHandler(this.CAD_Load);
     ((System.ComponentModel.ISupportInitialize)(this.viewportLayout1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuCADRightClick)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckedComboBoxEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #5
0
ファイル: Form1.Designer.cs プロジェクト: simonedd/TestIFC
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     devDept.Graphics.BackgroundSettings backgroundSettings1                    = new devDept.Graphics.BackgroundSettings(devDept.Graphics.backgroundStyleType.Solid, System.Drawing.Color.DeepSkyBlue, System.Drawing.Color.DodgerBlue, System.Drawing.Color.Snow, 0.75D, null, devDept.Graphics.colorThemeType.Auto, 0.3D);
     devDept.Eyeshot.Camera                       camera1                       = new devDept.Eyeshot.Camera(new devDept.Geometry.Point3D(0D, 0D, 50D), 600D, new devDept.Geometry.Quaternion(0.086824088833465166D, 0.15038373318043533D, 0.492403876506104D, 0.85286853195244339D), devDept.Graphics.projectionType.Perspective, 50D, 887640558.49041975D, false, 0.001D);
     devDept.Eyeshot.HomeToolBarButton            homeToolBarButton1            = new devDept.Eyeshot.HomeToolBarButton("Home", devDept.Eyeshot.ToolBarButton.styleType.PushButton, true, true);
     devDept.Eyeshot.MagnifyingGlassToolBarButton magnifyingGlassToolBarButton1 = new devDept.Eyeshot.MagnifyingGlassToolBarButton("Magnifying Glass", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.ZoomWindowToolBarButton      zoomWindowToolBarButton1      = new devDept.Eyeshot.ZoomWindowToolBarButton("Zoom Window", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.ZoomToolBarButton            zoomToolBarButton1            = new devDept.Eyeshot.ZoomToolBarButton("Zoom", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.PanToolBarButton             panToolBarButton1             = new devDept.Eyeshot.PanToolBarButton("Pan", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.RotateToolBarButton          rotateToolBarButton1          = new devDept.Eyeshot.RotateToolBarButton("Rotate", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true);
     devDept.Eyeshot.ZoomFitToolBarButton         zoomFitToolBarButton1         = new devDept.Eyeshot.ZoomFitToolBarButton("Zoom Fit", devDept.Eyeshot.ToolBarButton.styleType.PushButton, true, true);
     devDept.Eyeshot.ToolBar                      toolBar1                      = new devDept.Eyeshot.ToolBar(devDept.Eyeshot.ToolBar.positionType.HorizontalTopCenter, true, new devDept.Eyeshot.ToolBarButton[] {
         ((devDept.Eyeshot.ToolBarButton)(homeToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(magnifyingGlassToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(zoomWindowToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(zoomToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(panToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(rotateToolBarButton1)),
         ((devDept.Eyeshot.ToolBarButton)(zoomFitToolBarButton1))
     });
     devDept.Eyeshot.Grid                       grid1               = new devDept.Eyeshot.Grid(new devDept.Geometry.Point3D(-50D, -50D, 0D), new devDept.Geometry.Point3D(100D, 100D, 0D), 10D, new devDept.Geometry.Plane(new devDept.Geometry.Point3D(0D, 0D, 0D), new devDept.Geometry.Vector3D(0D, 0D, 1D)), System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))), System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))), false, true, false, false, 10, 100, 10, System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))), System.Drawing.Color.Transparent, false);
     devDept.Eyeshot.RotateSettings             rotateSettings1     = new devDept.Eyeshot.RotateSettings(new devDept.Eyeshot.MouseButton(devDept.Eyeshot.mouseButtonsZPR.Middle, devDept.Eyeshot.modifierKeys.None), 10D, true, 1D, devDept.Eyeshot.rotationType.Trackball, devDept.Eyeshot.rotationCenterType.CursorLocation, new devDept.Geometry.Point3D(0D, 0D, 0D), false);
     devDept.Eyeshot.ZoomSettings               zoomSettings1       = new devDept.Eyeshot.ZoomSettings(new devDept.Eyeshot.MouseButton(devDept.Eyeshot.mouseButtonsZPR.Middle, devDept.Eyeshot.modifierKeys.Shift), 25, true, devDept.Eyeshot.zoomStyleType.AtCursorLocation, false, 1D, System.Drawing.Color.DeepSkyBlue, devDept.Eyeshot.Camera.perspectiveFitType.Accurate, false, 10, true);
     devDept.Eyeshot.PanSettings                panSettings1        = new devDept.Eyeshot.PanSettings(new devDept.Eyeshot.MouseButton(devDept.Eyeshot.mouseButtonsZPR.Middle, devDept.Eyeshot.modifierKeys.Ctrl), 25, true);
     devDept.Eyeshot.NavigationSettings         navigationSettings1 = new devDept.Eyeshot.NavigationSettings(devDept.Eyeshot.Camera.navigationType.Examine, new devDept.Eyeshot.MouseButton(devDept.Eyeshot.mouseButtonsZPR.Left, devDept.Eyeshot.modifierKeys.None), new devDept.Geometry.Point3D(-1000D, -1000D, -1000D), new devDept.Geometry.Point3D(1000D, 1000D, 1000D), 8D, 50D, 50D);
     devDept.Eyeshot.Viewport.SavedViewsManager savedViewsManager1  = new devDept.Eyeshot.Viewport.SavedViewsManager(8);
     devDept.Eyeshot.Viewport                   viewport1           = new devDept.Eyeshot.Viewport(new System.Drawing.Point(0, 0), new System.Drawing.Size(510, 395), backgroundSettings1, camera1, new devDept.Eyeshot.ToolBar[] {
         toolBar1
     }, devDept.Eyeshot.displayType.Rendered, true, false, false, false, new devDept.Eyeshot.Grid[] {
         grid1
     }, false, rotateSettings1, zoomSettings1, panSettings1, navigationSettings1, savedViewsManager1, devDept.Eyeshot.viewType.Trimetric);
     devDept.Eyeshot.CoordinateSystemIcon coordinateSystemIcon1 = new devDept.Eyeshot.CoordinateSystemIcon(System.Drawing.Color.Black, System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))), System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))), System.Drawing.Color.OrangeRed, "Origin", "X", "Y", "Z", true, devDept.Eyeshot.coordinateSystemPositionType.BottomLeft, 37, false);
     devDept.Eyeshot.Legend legend1 = new devDept.Eyeshot.Legend(0D, 100D, "Title", "Subtitle", new System.Drawing.Point(24, 24), new System.Drawing.Size(10, 30), true, false, false, "{0:0.##}", System.Drawing.Color.Transparent, System.Drawing.Color.Black, System.Drawing.Color.Black, new System.Drawing.Color[] {
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(63)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(127)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(191))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(127))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(63))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(191)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(127)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(63)))), ((int)(((byte)(0))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))
     }, false, false);
     devDept.Eyeshot.OriginSymbol originSymbol1 = new devDept.Eyeshot.OriginSymbol(10, devDept.Eyeshot.originSymbolStyleType.Ball, System.Drawing.Color.Black, System.Drawing.Color.Red, System.Drawing.Color.Green, System.Drawing.Color.Blue, "Origin", "X", "Y", "Z", true, null, false);
     devDept.Eyeshot.ViewCubeIcon viewCubeIcon1 = new devDept.Eyeshot.ViewCubeIcon(devDept.Eyeshot.coordinateSystemPositionType.TopRight, true, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(69)))), ((int)(((byte)(0))))), true, "FRONT", "BACK", "LEFT", "RIGHT", "TOP", "BOTTOM", System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))), 'S', 'N', 'W', 'E', true, System.Drawing.Color.White, System.Drawing.Color.Black, 120, true, true, null, null, null, null, null, null, false);
     this.printDocument1  = new System.Drawing.Printing.PrintDocument();
     this.printDialog1    = new System.Windows.Forms.PrintDialog();
     this.viewportLayout1 = new devDept.Eyeshot.ViewportLayout();
     this.modelTree       = new System.Windows.Forms.TreeView();
     this._dumpButton     = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.viewportLayout1)).BeginInit();
     this.SuspendLayout();
     //
     // printDialog1
     //
     this.printDialog1.UseEXDialog = true;
     //
     // viewportLayout1
     //
     this.viewportLayout1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                          | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.viewportLayout1.Cursor      = System.Windows.Forms.Cursors.Default;
     this.viewportLayout1.Location    = new System.Drawing.Point(234, 12);
     this.viewportLayout1.MinimumSize = new System.Drawing.Size(8, 8);
     this.viewportLayout1.Name        = "viewportLayout1";
     this.viewportLayout1.Size        = new System.Drawing.Size(510, 395);
     this.viewportLayout1.TabIndex    = 0;
     coordinateSystemIcon1.LabelFont  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     viewport1.CoordinateSystemIcon   = coordinateSystemIcon1;
     legend1.TextFont  = null;
     legend1.TitleFont = null;
     viewport1.Legends = new devDept.Eyeshot.Legend[] {
         legend1
     };
     originSymbol1.LabelFont       = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     viewport1.OriginSymbol        = originSymbol1;
     viewCubeIcon1.Font            = null;
     viewCubeIcon1.InitialRotation = new devDept.Geometry.Quaternion(0D, 0D, 0D, 1D);
     viewport1.ViewCubeIcon        = viewCubeIcon1;
     this.viewportLayout1.Viewports.Add(viewport1);
     //
     // modelTree
     //
     this.modelTree.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Left)));
     this.modelTree.Location     = new System.Drawing.Point(12, 12);
     this.modelTree.Name         = "modelTree";
     this.modelTree.Size         = new System.Drawing.Size(210, 395);
     this.modelTree.TabIndex     = 1;
     this.modelTree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.TreeView1_AfterSelect);
     //
     // _dumpButton
     //
     this._dumpButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._dumpButton.Location = new System.Drawing.Point(754, 12);
     this._dumpButton.Name     = "_dumpButton";
     this._dumpButton.Size     = new System.Drawing.Size(75, 23);
     this._dumpButton.TabIndex = 2;
     this._dumpButton.Text     = "Dump";
     this._dumpButton.UseVisualStyleBackColor = true;
     this._dumpButton.Click += new System.EventHandler(this._dumpButton_Click);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(841, 424);
     this.Controls.Add(this._dumpButton);
     this.Controls.Add(this.modelTree);
     this.Controls.Add(this.viewportLayout1);
     this.Name = "Form1";
     this.Text = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.viewportLayout1)).EndInit();
     this.ResumeLayout(false);
 }