/// <summary> /// 绑定Globe控件 /// </summary> /// <param name="globe"></param> public void BindControl(ESRI.ArcGIS.Controls.AxGlobeControl globe) { if (globe != null) { GlobeControl = globe; axTOCControl1.SetBuddyControl(globe); } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Navigation)); this.TrackBar1 = new System.Windows.Forms.TrackBar(); this.chkSpin = new System.Windows.Forms.CheckBox(); this.optTools1 = new System.Windows.Forms.RadioButton(); this.optTools0 = new System.Windows.Forms.RadioButton(); this.cmdLoadDocument = new System.Windows.Forms.Button(); this.cmdZoomOut = new System.Windows.Forms.Button(); this.cmdZoomIn = new System.Windows.Forms.Button(); this.cmdFullExtent = new System.Windows.Forms.Button(); this.Label1 = new System.Windows.Forms.Label(); this.lblNavigate = new System.Windows.Forms.Label(); this.lblZoom = new System.Windows.Forms.Label(); this.lblLoad = new System.Windows.Forms.Label(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.axGlobeControl1 = new ESRI.ArcGIS.Controls.AxGlobeControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); ((System.ComponentModel.ISupportInitialize)(this.TrackBar1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axGlobeControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); this.SuspendLayout(); // // TrackBar1 // this.TrackBar1.Location = new System.Drawing.Point(440, 432); this.TrackBar1.Name = "TrackBar1"; this.TrackBar1.Size = new System.Drawing.Size(104, 45); this.TrackBar1.TabIndex = 26; this.TrackBar1.Scroll += new System.EventHandler(this.TrackBar1_Scroll); // // chkSpin // this.chkSpin.BackColor = System.Drawing.SystemColors.Control; this.chkSpin.Cursor = System.Windows.Forms.Cursors.Default; this.chkSpin.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.chkSpin.ForeColor = System.Drawing.SystemColors.ControlText; this.chkSpin.Location = new System.Drawing.Point(456, 408); this.chkSpin.Name = "chkSpin"; this.chkSpin.RightToLeft = System.Windows.Forms.RightToLeft.No; this.chkSpin.Size = new System.Drawing.Size(57, 17); this.chkSpin.TabIndex = 25; this.chkSpin.Text = "Spin"; this.chkSpin.Click += new System.EventHandler(this.chkSpin_Click); // // optTools1 // this.optTools1.Appearance = System.Windows.Forms.Appearance.Button; this.optTools1.BackColor = System.Drawing.SystemColors.Control; this.optTools1.Cursor = System.Windows.Forms.Cursors.Default; this.optTools1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.optTools1.ForeColor = System.Drawing.SystemColors.ControlText; this.optTools1.Location = new System.Drawing.Point(448, 328); this.optTools1.Name = "optTools1"; this.optTools1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.optTools1.Size = new System.Drawing.Size(81, 25); this.optTools1.TabIndex = 20; this.optTools1.TabStop = true; this.optTools1.Text = "Zoom In/Out"; this.optTools1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.optTools1.Click += new System.EventHandler(this.MixedControls_Click); // // optTools0 // this.optTools0.Appearance = System.Windows.Forms.Appearance.Button; this.optTools0.BackColor = System.Drawing.SystemColors.Control; this.optTools0.Cursor = System.Windows.Forms.Cursors.Default; this.optTools0.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.optTools0.ForeColor = System.Drawing.SystemColors.ControlText; this.optTools0.Location = new System.Drawing.Point(448, 288); this.optTools0.Name = "optTools0"; this.optTools0.RightToLeft = System.Windows.Forms.RightToLeft.No; this.optTools0.Size = new System.Drawing.Size(81, 25); this.optTools0.TabIndex = 19; this.optTools0.TabStop = true; this.optTools0.Text = "Navigate"; this.optTools0.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.optTools0.Click += new System.EventHandler(this.MixedControls_Click); // // cmdLoadDocument // this.cmdLoadDocument.BackColor = System.Drawing.SystemColors.Control; this.cmdLoadDocument.Cursor = System.Windows.Forms.Cursors.Default; this.cmdLoadDocument.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdLoadDocument.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdLoadDocument.Location = new System.Drawing.Point(456, 48); this.cmdLoadDocument.Name = "cmdLoadDocument"; this.cmdLoadDocument.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdLoadDocument.Size = new System.Drawing.Size(67, 25); this.cmdLoadDocument.TabIndex = 18; this.cmdLoadDocument.Text = "Load ..."; this.cmdLoadDocument.Click += new System.EventHandler(this.cmdLoadDocument_Click); // // cmdZoomOut // this.cmdZoomOut.BackColor = System.Drawing.SystemColors.Control; this.cmdZoomOut.Cursor = System.Windows.Forms.Cursors.Default; this.cmdZoomOut.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdZoomOut.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdZoomOut.Location = new System.Drawing.Point(440, 168); this.cmdZoomOut.Name = "cmdZoomOut"; this.cmdZoomOut.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdZoomOut.Size = new System.Drawing.Size(99, 25); this.cmdZoomOut.TabIndex = 17; this.cmdZoomOut.Text = "Fixed Zoom Out"; this.cmdZoomOut.Click += new System.EventHandler(this.cmdZoomOut_Click); // // cmdZoomIn // this.cmdZoomIn.BackColor = System.Drawing.SystemColors.Control; this.cmdZoomIn.Cursor = System.Windows.Forms.Cursors.Default; this.cmdZoomIn.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdZoomIn.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdZoomIn.Location = new System.Drawing.Point(440, 136); this.cmdZoomIn.Name = "cmdZoomIn"; this.cmdZoomIn.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdZoomIn.Size = new System.Drawing.Size(99, 25); this.cmdZoomIn.TabIndex = 16; this.cmdZoomIn.Text = "Fixed Zoom In"; this.cmdZoomIn.Click += new System.EventHandler(this.cmdZoomIn_Click); // // cmdFullExtent // this.cmdFullExtent.BackColor = System.Drawing.SystemColors.Control; this.cmdFullExtent.Cursor = System.Windows.Forms.Cursors.Default; this.cmdFullExtent.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdFullExtent.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdFullExtent.Location = new System.Drawing.Point(440, 200); this.cmdFullExtent.Name = "cmdFullExtent"; this.cmdFullExtent.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdFullExtent.Size = new System.Drawing.Size(99, 25); this.cmdFullExtent.TabIndex = 15; this.cmdFullExtent.Text = "Full Extent"; this.cmdFullExtent.Click += new System.EventHandler(this.cmdFullExtent_Click); // // Label1 // this.Label1.BackColor = System.Drawing.SystemColors.Control; this.Label1.Cursor = System.Windows.Forms.Cursors.Default; this.Label1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Label1.ForeColor = System.Drawing.SystemColors.Highlight; this.Label1.Location = new System.Drawing.Point(440, 360); this.Label1.Name = "Label1"; this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label1.Size = new System.Drawing.Size(97, 49); this.Label1.TabIndex = 24; this.Label1.Text = "Control the spin speed with the slider."; // // lblNavigate // this.lblNavigate.BackColor = System.Drawing.SystemColors.Control; this.lblNavigate.Cursor = System.Windows.Forms.Cursors.Default; this.lblNavigate.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblNavigate.ForeColor = System.Drawing.SystemColors.Highlight; this.lblNavigate.Location = new System.Drawing.Point(440, 232); this.lblNavigate.Name = "lblNavigate"; this.lblNavigate.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblNavigate.Size = new System.Drawing.Size(105, 49); this.lblNavigate.TabIndex = 23; this.lblNavigate.Text = "Use the option buttons to select a navigation tool. "; // // lblZoom // this.lblZoom.BackColor = System.Drawing.SystemColors.Control; this.lblZoom.Cursor = System.Windows.Forms.Cursors.Default; this.lblZoom.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblZoom.ForeColor = System.Drawing.SystemColors.Highlight; this.lblZoom.Location = new System.Drawing.Point(440, 80); this.lblZoom.Name = "lblZoom"; this.lblZoom.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblZoom.Size = new System.Drawing.Size(104, 49); this.lblZoom.TabIndex = 22; this.lblZoom.Text = "Use the buttons to navigate the Globe data."; // // lblLoad // this.lblLoad.BackColor = System.Drawing.SystemColors.Control; this.lblLoad.Cursor = System.Windows.Forms.Cursors.Default; this.lblLoad.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblLoad.ForeColor = System.Drawing.SystemColors.Highlight; this.lblLoad.Location = new System.Drawing.Point(440, 8); this.lblLoad.Name = "lblLoad"; this.lblLoad.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblLoad.Size = new System.Drawing.Size(97, 33); this.lblLoad.TabIndex = 21; this.lblLoad.Text = "Browse to a 3dd file to load."; // // axGlobeControl1 // this.axGlobeControl1.Location = new System.Drawing.Point(8, 8); this.axGlobeControl1.Name = "axGlobeControl1"; this.axGlobeControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axGlobeControl1.OcxState"))); this.axGlobeControl1.Size = new System.Drawing.Size(424, 464); this.axGlobeControl1.TabIndex = 27; this.axGlobeControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IGlobeControlEvents_Ax_OnMouseDownEventHandler(this.axGlobeControl1_OnMouseDown); this.axGlobeControl1.OnMouseMove += new ESRI.ArcGIS.Controls.IGlobeControlEvents_Ax_OnMouseMoveEventHandler(this.axGlobeControl1_OnMouseMove); this.axGlobeControl1.OnMouseUp += new ESRI.ArcGIS.Controls.IGlobeControlEvents_Ax_OnMouseUpEventHandler(this.axGlobeControl1_OnMouseUp); // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(216, 24); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(200, 50); this.axLicenseControl1.TabIndex = 28; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(552, 478); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.axGlobeControl1); this.Controls.Add(this.TrackBar1); this.Controls.Add(this.chkSpin); this.Controls.Add(this.optTools1); this.Controls.Add(this.optTools0); this.Controls.Add(this.cmdLoadDocument); this.Controls.Add(this.cmdZoomOut); this.Controls.Add(this.cmdZoomIn); this.Controls.Add(this.cmdFullExtent); this.Controls.Add(this.Label1); this.Controls.Add(this.lblNavigate); this.Controls.Add(this.lblZoom); this.Controls.Add(this.lblLoad); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.TrackBar1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axGlobeControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Navigation)); this.TrackBar1 = new System.Windows.Forms.TrackBar(); this.chkSpin = new System.Windows.Forms.CheckBox(); this.optTools1 = new System.Windows.Forms.RadioButton(); this.optTools0 = new System.Windows.Forms.RadioButton(); this.cmdLoadDocument = new System.Windows.Forms.Button(); this.cmdZoomOut = new System.Windows.Forms.Button(); this.cmdZoomIn = new System.Windows.Forms.Button(); this.cmdFullExtent = new System.Windows.Forms.Button(); this.Label1 = new System.Windows.Forms.Label(); this.lblNavigate = new System.Windows.Forms.Label(); this.lblZoom = new System.Windows.Forms.Label(); this.lblLoad = new System.Windows.Forms.Label(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.axGlobeControl1 = new ESRI.ArcGIS.Controls.AxGlobeControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); ((System.ComponentModel.ISupportInitialize)(this.TrackBar1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axGlobeControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); this.SuspendLayout(); // // TrackBar1 // this.TrackBar1.Location = new System.Drawing.Point(440, 432); this.TrackBar1.Name = "TrackBar1"; this.TrackBar1.Size = new System.Drawing.Size(104, 45); this.TrackBar1.TabIndex = 26; this.TrackBar1.Scroll += new System.EventHandler(this.TrackBar1_Scroll); // // chkSpin // this.chkSpin.BackColor = System.Drawing.SystemColors.Control; this.chkSpin.Cursor = System.Windows.Forms.Cursors.Default; this.chkSpin.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.chkSpin.ForeColor = System.Drawing.SystemColors.ControlText; this.chkSpin.Location = new System.Drawing.Point(456, 408); this.chkSpin.Name = "chkSpin"; this.chkSpin.RightToLeft = System.Windows.Forms.RightToLeft.No; this.chkSpin.Size = new System.Drawing.Size(57, 17); this.chkSpin.TabIndex = 25; this.chkSpin.Text = "Spin"; this.chkSpin.Click += new System.EventHandler(this.chkSpin_Click); // // optTools1 // this.optTools1.Appearance = System.Windows.Forms.Appearance.Button; this.optTools1.BackColor = System.Drawing.SystemColors.Control; this.optTools1.Cursor = System.Windows.Forms.Cursors.Default; this.optTools1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.optTools1.ForeColor = System.Drawing.SystemColors.ControlText; this.optTools1.Location = new System.Drawing.Point(448, 328); this.optTools1.Name = "optTools1"; this.optTools1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.optTools1.Size = new System.Drawing.Size(81, 25); this.optTools1.TabIndex = 20; this.optTools1.TabStop = true; this.optTools1.Text = "Zoom In/Out"; this.optTools1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.optTools1.Click += new System.EventHandler(this.MixedControls_Click); // // optTools0 // this.optTools0.Appearance = System.Windows.Forms.Appearance.Button; this.optTools0.BackColor = System.Drawing.SystemColors.Control; this.optTools0.Cursor = System.Windows.Forms.Cursors.Default; this.optTools0.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.optTools0.ForeColor = System.Drawing.SystemColors.ControlText; this.optTools0.Location = new System.Drawing.Point(448, 288); this.optTools0.Name = "optTools0"; this.optTools0.RightToLeft = System.Windows.Forms.RightToLeft.No; this.optTools0.Size = new System.Drawing.Size(81, 25); this.optTools0.TabIndex = 19; this.optTools0.TabStop = true; this.optTools0.Text = "Navigate"; this.optTools0.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.optTools0.Click += new System.EventHandler(this.MixedControls_Click); // // cmdLoadDocument // this.cmdLoadDocument.BackColor = System.Drawing.SystemColors.Control; this.cmdLoadDocument.Cursor = System.Windows.Forms.Cursors.Default; this.cmdLoadDocument.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdLoadDocument.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdLoadDocument.Location = new System.Drawing.Point(456, 48); this.cmdLoadDocument.Name = "cmdLoadDocument"; this.cmdLoadDocument.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdLoadDocument.Size = new System.Drawing.Size(67, 25); this.cmdLoadDocument.TabIndex = 18; this.cmdLoadDocument.Text = "Load ..."; this.cmdLoadDocument.Click += new System.EventHandler(this.cmdLoadDocument_Click); // // cmdZoomOut // this.cmdZoomOut.BackColor = System.Drawing.SystemColors.Control; this.cmdZoomOut.Cursor = System.Windows.Forms.Cursors.Default; this.cmdZoomOut.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdZoomOut.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdZoomOut.Location = new System.Drawing.Point(440, 168); this.cmdZoomOut.Name = "cmdZoomOut"; this.cmdZoomOut.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdZoomOut.Size = new System.Drawing.Size(99, 25); this.cmdZoomOut.TabIndex = 17; this.cmdZoomOut.Text = "Fixed Zoom Out"; this.cmdZoomOut.Click += new System.EventHandler(this.cmdZoomOut_Click); // // cmdZoomIn // this.cmdZoomIn.BackColor = System.Drawing.SystemColors.Control; this.cmdZoomIn.Cursor = System.Windows.Forms.Cursors.Default; this.cmdZoomIn.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdZoomIn.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdZoomIn.Location = new System.Drawing.Point(440, 136); this.cmdZoomIn.Name = "cmdZoomIn"; this.cmdZoomIn.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdZoomIn.Size = new System.Drawing.Size(99, 25); this.cmdZoomIn.TabIndex = 16; this.cmdZoomIn.Text = "Fixed Zoom In"; this.cmdZoomIn.Click += new System.EventHandler(this.cmdZoomIn_Click); // // cmdFullExtent // this.cmdFullExtent.BackColor = System.Drawing.SystemColors.Control; this.cmdFullExtent.Cursor = System.Windows.Forms.Cursors.Default; this.cmdFullExtent.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdFullExtent.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdFullExtent.Location = new System.Drawing.Point(440, 200); this.cmdFullExtent.Name = "cmdFullExtent"; this.cmdFullExtent.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdFullExtent.Size = new System.Drawing.Size(99, 25); this.cmdFullExtent.TabIndex = 15; this.cmdFullExtent.Text = "Full Extent"; this.cmdFullExtent.Click += new System.EventHandler(this.cmdFullExtent_Click); // // Label1 // this.Label1.BackColor = System.Drawing.SystemColors.Control; this.Label1.Cursor = System.Windows.Forms.Cursors.Default; this.Label1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Label1.ForeColor = System.Drawing.SystemColors.Highlight; this.Label1.Location = new System.Drawing.Point(440, 360); this.Label1.Name = "Label1"; this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label1.Size = new System.Drawing.Size(97, 49); this.Label1.TabIndex = 24; this.Label1.Text = "Control the spin speed with the slider."; // // lblNavigate // this.lblNavigate.BackColor = System.Drawing.SystemColors.Control; this.lblNavigate.Cursor = System.Windows.Forms.Cursors.Default; this.lblNavigate.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblNavigate.ForeColor = System.Drawing.SystemColors.Highlight; this.lblNavigate.Location = new System.Drawing.Point(440, 232); this.lblNavigate.Name = "lblNavigate"; this.lblNavigate.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblNavigate.Size = new System.Drawing.Size(105, 49); this.lblNavigate.TabIndex = 23; this.lblNavigate.Text = "Use the option buttons to select a navigation tool. "; // // lblZoom // this.lblZoom.BackColor = System.Drawing.SystemColors.Control; this.lblZoom.Cursor = System.Windows.Forms.Cursors.Default; this.lblZoom.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblZoom.ForeColor = System.Drawing.SystemColors.Highlight; this.lblZoom.Location = new System.Drawing.Point(440, 80); this.lblZoom.Name = "lblZoom"; this.lblZoom.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblZoom.Size = new System.Drawing.Size(104, 49); this.lblZoom.TabIndex = 22; this.lblZoom.Text = "Use the buttons to navigate the Globe data."; // // lblLoad // this.lblLoad.BackColor = System.Drawing.SystemColors.Control; this.lblLoad.Cursor = System.Windows.Forms.Cursors.Default; this.lblLoad.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblLoad.ForeColor = System.Drawing.SystemColors.Highlight; this.lblLoad.Location = new System.Drawing.Point(440, 8); this.lblLoad.Name = "lblLoad"; this.lblLoad.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblLoad.Size = new System.Drawing.Size(97, 33); this.lblLoad.TabIndex = 21; this.lblLoad.Text = "Browse to a 3dd file to load."; // // axGlobeControl1 // this.axGlobeControl1.Location = new System.Drawing.Point(8, 8); this.axGlobeControl1.Name = "axGlobeControl1"; this.axGlobeControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axGlobeControl1.OcxState"))); this.axGlobeControl1.Size = new System.Drawing.Size(424, 464); this.axGlobeControl1.TabIndex = 27; this.axGlobeControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IGlobeControlEvents_Ax_OnMouseDownEventHandler(this.axGlobeControl1_OnMouseDown); this.axGlobeControl1.OnMouseMove += new ESRI.ArcGIS.Controls.IGlobeControlEvents_Ax_OnMouseMoveEventHandler(this.axGlobeControl1_OnMouseMove); this.axGlobeControl1.OnMouseUp += new ESRI.ArcGIS.Controls.IGlobeControlEvents_Ax_OnMouseUpEventHandler(this.axGlobeControl1_OnMouseUp); // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(216, 24); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(200, 50); this.axLicenseControl1.TabIndex = 28; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(552, 478); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.axGlobeControl1); this.Controls.Add(this.TrackBar1); this.Controls.Add(this.chkSpin); this.Controls.Add(this.optTools1); this.Controls.Add(this.optTools0); this.Controls.Add(this.cmdLoadDocument); this.Controls.Add(this.cmdZoomOut); this.Controls.Add(this.cmdZoomIn); this.Controls.Add(this.cmdFullExtent); this.Controls.Add(this.Label1); this.Controls.Add(this.lblNavigate); this.Controls.Add(this.lblZoom); this.Controls.Add(this.lblLoad); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.TrackBar1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axGlobeControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.chkFillDirection = new System.Windows.Forms.CheckBox(); this.btnFadeColor = new System.Windows.Forms.Button(); this.btnBackColor = new System.Windows.Forms.Button(); this.chkHiddenItems = new System.Windows.Forms.CheckBox(); this.chkOrientation = new System.Windows.Forms.CheckBox(); this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.axGlobeControl1 = new ESRI.ArcGIS.Controls.AxGlobeControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axGlobeControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); this.SuspendLayout(); // // chkFillDirection // this.chkFillDirection.Location = new System.Drawing.Point(408, 168); this.chkFillDirection.Name = "chkFillDirection"; this.chkFillDirection.Size = new System.Drawing.Size(144, 24); this.chkFillDirection.TabIndex = 13; this.chkFillDirection.Text = "Vertical Fill Direction"; this.chkFillDirection.CheckedChanged += new System.EventHandler(this.chkFillDirection_CheckedChanged); // // btnFadeColor // this.btnFadeColor.Location = new System.Drawing.Point(408, 136); this.btnFadeColor.Name = "btnFadeColor"; this.btnFadeColor.Size = new System.Drawing.Size(112, 23); this.btnFadeColor.TabIndex = 12; this.btnFadeColor.Text = "Fade Color"; this.btnFadeColor.Click += new System.EventHandler(this.btnFadeColor_Click); // // btnBackColor // this.btnBackColor.Location = new System.Drawing.Point(408, 104); this.btnBackColor.Name = "btnBackColor"; this.btnBackColor.Size = new System.Drawing.Size(112, 23); this.btnBackColor.TabIndex = 11; this.btnBackColor.Text = "Back Color"; this.btnBackColor.Click += new System.EventHandler(this.btnBackColor_Click); // // chkHiddenItems // this.chkHiddenItems.Location = new System.Drawing.Point(408, 72); this.chkHiddenItems.Name = "chkHiddenItems"; this.chkHiddenItems.Size = new System.Drawing.Size(152, 16); this.chkHiddenItems.TabIndex = 10; this.chkHiddenItems.Text = "Show Hidden Items"; this.chkHiddenItems.CheckedChanged += new System.EventHandler(this.chkHiddenItems_CheckedChanged); // // chkOrientation // this.chkOrientation.Location = new System.Drawing.Point(408, 48); this.chkOrientation.Name = "chkOrientation"; this.chkOrientation.Size = new System.Drawing.Size(152, 16); this.chkOrientation.TabIndex = 9; this.chkOrientation.Text = "Vertical Orientation"; this.chkOrientation.CheckedChanged += new System.EventHandler(this.chkOrientation_CheckedChanged); // // axToolbarControl1 // this.axToolbarControl1.Location = new System.Drawing.Point(8, 8); this.axToolbarControl1.Name = "axToolbarControl1"; this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState"))); this.axToolbarControl1.Size = new System.Drawing.Size(490, 28); this.axToolbarControl1.TabIndex = 14; // // axGlobeControl1 // this.axGlobeControl1.Location = new System.Drawing.Point(40, 40); this.axGlobeControl1.Name = "axGlobeControl1"; this.axGlobeControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axGlobeControl1.OcxState"))); this.axGlobeControl1.Size = new System.Drawing.Size(362, 391); this.axGlobeControl1.TabIndex = 15; // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(408, 399); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(32, 32); this.axLicenseControl1.TabIndex = 16; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(536, 443); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.axGlobeControl1); this.Controls.Add(this.axToolbarControl1); this.Controls.Add(this.chkFillDirection); this.Controls.Add(this.btnFadeColor); this.Controls.Add(this.btnBackColor); this.Controls.Add(this.chkHiddenItems); this.Controls.Add(this.chkOrientation); this.Name = "Form1"; this.Text = "Appearance"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axGlobeControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.chkFillDirection = new System.Windows.Forms.CheckBox(); this.btnFadeColor = new System.Windows.Forms.Button(); this.btnBackColor = new System.Windows.Forms.Button(); this.chkHiddenItems = new System.Windows.Forms.CheckBox(); this.chkOrientation = new System.Windows.Forms.CheckBox(); this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.axGlobeControl1 = new ESRI.ArcGIS.Controls.AxGlobeControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axGlobeControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); this.SuspendLayout(); // // chkFillDirection // this.chkFillDirection.Location = new System.Drawing.Point(408, 168); this.chkFillDirection.Name = "chkFillDirection"; this.chkFillDirection.Size = new System.Drawing.Size(144, 24); this.chkFillDirection.TabIndex = 13; this.chkFillDirection.Text = "Vertical Fill Direction"; this.chkFillDirection.CheckedChanged += new System.EventHandler(this.chkFillDirection_CheckedChanged); // // btnFadeColor // this.btnFadeColor.Location = new System.Drawing.Point(408, 136); this.btnFadeColor.Name = "btnFadeColor"; this.btnFadeColor.Size = new System.Drawing.Size(112, 23); this.btnFadeColor.TabIndex = 12; this.btnFadeColor.Text = "Fade Color"; this.btnFadeColor.Click += new System.EventHandler(this.btnFadeColor_Click); // // btnBackColor // this.btnBackColor.Location = new System.Drawing.Point(408, 104); this.btnBackColor.Name = "btnBackColor"; this.btnBackColor.Size = new System.Drawing.Size(112, 23); this.btnBackColor.TabIndex = 11; this.btnBackColor.Text = "Back Color"; this.btnBackColor.Click += new System.EventHandler(this.btnBackColor_Click); // // chkHiddenItems // this.chkHiddenItems.Location = new System.Drawing.Point(408, 72); this.chkHiddenItems.Name = "chkHiddenItems"; this.chkHiddenItems.Size = new System.Drawing.Size(152, 16); this.chkHiddenItems.TabIndex = 10; this.chkHiddenItems.Text = "Show Hidden Items"; this.chkHiddenItems.CheckedChanged += new System.EventHandler(this.chkHiddenItems_CheckedChanged); // // chkOrientation // this.chkOrientation.Location = new System.Drawing.Point(408, 48); this.chkOrientation.Name = "chkOrientation"; this.chkOrientation.Size = new System.Drawing.Size(152, 16); this.chkOrientation.TabIndex = 9; this.chkOrientation.Text = "Vertical Orientation"; this.chkOrientation.CheckedChanged += new System.EventHandler(this.chkOrientation_CheckedChanged); // // axToolbarControl1 // this.axToolbarControl1.Location = new System.Drawing.Point(8, 8); this.axToolbarControl1.Name = "axToolbarControl1"; this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState"))); this.axToolbarControl1.Size = new System.Drawing.Size(490, 28); this.axToolbarControl1.TabIndex = 14; // // axGlobeControl1 // this.axGlobeControl1.Location = new System.Drawing.Point(40, 40); this.axGlobeControl1.Name = "axGlobeControl1"; this.axGlobeControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axGlobeControl1.OcxState"))); this.axGlobeControl1.Size = new System.Drawing.Size(362, 391); this.axGlobeControl1.TabIndex = 15; // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(408, 399); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(32, 32); this.axLicenseControl1.TabIndex = 16; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(536, 443); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.axGlobeControl1); this.Controls.Add(this.axToolbarControl1); this.Controls.Add(this.chkFillDirection); this.Controls.Add(this.btnFadeColor); this.Controls.Add(this.btnBackColor); this.Controls.Add(this.chkHiddenItems); this.Controls.Add(this.chkOrientation); this.Name = "Form1"; this.Text = "Appearance"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axGlobeControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); this.ResumeLayout(false); }