コード例 #1
0
		/// <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.chkShowTips = new System.Windows.Forms.CheckBox();
            this.cmdLoadData = new System.Windows.Forms.Button();
            this.cboDataField = new System.Windows.Forms.ComboBox();
            this.cboDataLayer = new System.Windows.Forms.ComboBox();
            this.Label2 = new System.Windows.Forms.Label();
            this.Label1 = new System.Windows.Forms.Label();
            this.cmdFullExtent = new System.Windows.Forms.Button();
            this.Label3 = new System.Windows.Forms.Label();
            this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
            this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl();
            this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
            this.chkTransparent = new System.Windows.Forms.CheckBox();
            ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
            this.SuspendLayout();
            // 
            // chkShowTips
            // 
            this.chkShowTips.BackColor = System.Drawing.SystemColors.Control;
            this.chkShowTips.Cursor = System.Windows.Forms.Cursors.Default;
            this.chkShowTips.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chkShowTips.ForeColor = System.Drawing.SystemColors.ControlText;
            this.chkShowTips.Location = new System.Drawing.Point(8, 40);
            this.chkShowTips.Name = "chkShowTips";
            this.chkShowTips.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.chkShowTips.Size = new System.Drawing.Size(129, 25);
            this.chkShowTips.TabIndex = 10;
            this.chkShowTips.Text = "Show Map Tips";
            this.chkShowTips.UseVisualStyleBackColor = false;
            this.chkShowTips.CheckedChanged += new System.EventHandler(this.chkShowTips_CheckedChanged);
            this.chkShowTips.CheckStateChanged += new System.EventHandler(this.chkShowTips_CheckStateChanged);
            // 
            // cmdLoadData
            // 
            this.cmdLoadData.BackColor = System.Drawing.SystemColors.Control;
            this.cmdLoadData.Cursor = System.Windows.Forms.Cursors.Default;
            this.cmdLoadData.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmdLoadData.ForeColor = System.Drawing.SystemColors.ControlText;
            this.cmdLoadData.Location = new System.Drawing.Point(8, 8);
            this.cmdLoadData.Name = "cmdLoadData";
            this.cmdLoadData.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.cmdLoadData.Size = new System.Drawing.Size(113, 25);
            this.cmdLoadData.TabIndex = 9;
            this.cmdLoadData.Text = "Load Document...";
            this.cmdLoadData.UseVisualStyleBackColor = false;
            this.cmdLoadData.Click += new System.EventHandler(this.cmdLoadData_Click);
            // 
            // cboDataField
            // 
            this.cboDataField.BackColor = System.Drawing.SystemColors.Window;
            this.cboDataField.Cursor = System.Windows.Forms.Cursors.Default;
            this.cboDataField.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboDataField.ForeColor = System.Drawing.SystemColors.WindowText;
            this.cboDataField.Location = new System.Drawing.Point(176, 40);
            this.cboDataField.Name = "cboDataField";
            this.cboDataField.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.cboDataField.Size = new System.Drawing.Size(161, 22);
            this.cboDataField.TabIndex = 8;
            this.cboDataField.SelectedIndexChanged += new System.EventHandler(this.cboDataField_SelectedIndexChanged);
            // 
            // cboDataLayer
            // 
            this.cboDataLayer.BackColor = System.Drawing.SystemColors.Window;
            this.cboDataLayer.Cursor = System.Windows.Forms.Cursors.Default;
            this.cboDataLayer.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboDataLayer.ForeColor = System.Drawing.SystemColors.WindowText;
            this.cboDataLayer.Location = new System.Drawing.Point(176, 16);
            this.cboDataLayer.Name = "cboDataLayer";
            this.cboDataLayer.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.cboDataLayer.Size = new System.Drawing.Size(161, 22);
            this.cboDataLayer.TabIndex = 7;
            this.cboDataLayer.SelectedIndexChanged += new System.EventHandler(this.cboDataLayer_SelectedIndexChanged);
            // 
            // Label2
            // 
            this.Label2.BackColor = System.Drawing.SystemColors.Control;
            this.Label2.Cursor = System.Windows.Forms.Cursors.Default;
            this.Label2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Label2.ForeColor = System.Drawing.SystemColors.ControlText;
            this.Label2.Location = new System.Drawing.Point(136, 40);
            this.Label2.Name = "Label2";
            this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label2.Size = new System.Drawing.Size(33, 17);
            this.Label2.TabIndex = 12;
            this.Label2.Text = "Fields:";
            // 
            // Label1
            // 
            this.Label1.BackColor = System.Drawing.SystemColors.Control;
            this.Label1.Cursor = System.Windows.Forms.Cursors.Default;
            this.Label1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Label1.ForeColor = System.Drawing.SystemColors.ControlText;
            this.Label1.Location = new System.Drawing.Point(136, 16);
            this.Label1.Name = "Label1";
            this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label1.Size = new System.Drawing.Size(41, 17);
            this.Label1.TabIndex = 11;
            this.Label1.Text = "Layers:";
            // 
            // 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, ((byte)(0)));
            this.cmdFullExtent.ForeColor = System.Drawing.SystemColors.ControlText;
            this.cmdFullExtent.Location = new System.Drawing.Point(224, 365);
            this.cmdFullExtent.Name = "cmdFullExtent";
            this.cmdFullExtent.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.cmdFullExtent.Size = new System.Drawing.Size(113, 25);
            this.cmdFullExtent.TabIndex = 13;
            this.cmdFullExtent.Text = "Zoom to Full Extent";
            this.cmdFullExtent.UseVisualStyleBackColor = false;
            this.cmdFullExtent.Click += new System.EventHandler(this.cmdFullExtent_Click);
            // 
            // Label3
            // 
            this.Label3.BackColor = System.Drawing.SystemColors.Control;
            this.Label3.Cursor = System.Windows.Forms.Cursors.Default;
            this.Label3.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Label3.ForeColor = System.Drawing.SystemColors.ControlText;
            this.Label3.Location = new System.Drawing.Point(8, 373);
            this.Label3.Name = "Label3";
            this.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label3.Size = new System.Drawing.Size(209, 17);
            this.Label3.TabIndex = 14;
            this.Label3.Text = "Left mouse button to zoomin, right to pan";
            // 
            // axMapControl1
            // 
            this.axMapControl1.Location = new System.Drawing.Point(8, 88);
            this.axMapControl1.Name = "axMapControl1";
            this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState")));
            this.axMapControl1.Size = new System.Drawing.Size(328, 272);
            this.axMapControl1.TabIndex = 15;
            this.axMapControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseDownEventHandler(this.axMapControl1_OnMouseDown);
            // 
            // axLicenseControl1
            // 
            this.axLicenseControl1.Enabled = true;
            this.axLicenseControl1.Location = new System.Drawing.Point(300, 68);
            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;
            // 
            // chkTransparent
            // 
            this.chkTransparent.AutoSize = true;
            this.chkTransparent.Location = new System.Drawing.Point(8, 65);
            this.chkTransparent.Name = "chkTransparent";
            this.chkTransparent.Size = new System.Drawing.Size(106, 17);
            this.chkTransparent.TabIndex = 17;
            this.chkTransparent.Text = "Transparent Tips";
            this.chkTransparent.UseVisualStyleBackColor = true;
            this.chkTransparent.CheckedChanged += new System.EventHandler(this.chkTransparent_CheckedChanged);
            // 
            // Form1
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(344, 400);
            this.Controls.Add(this.chkTransparent);
            this.Controls.Add(this.axLicenseControl1);
            this.Controls.Add(this.axMapControl1);
            this.Controls.Add(this.cmdFullExtent);
            this.Controls.Add(this.Label3);
            this.Controls.Add(this.chkShowTips);
            this.Controls.Add(this.cmdLoadData);
            this.Controls.Add(this.cboDataField);
            this.Controls.Add(this.cboDataLayer);
            this.Controls.Add(this.Label2);
            this.Controls.Add(this.Label1);
            this.Name = "Form1";
            this.Text = "Form1";
            this.Load += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

		}
コード例 #2
0
 /// <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(SceneNavigateAndBookmarks));
     this.txtNewBookmarkName = new System.Windows.Forms.TextBox();
     this.cmdCaptureBookmark = new System.Windows.Forms.Button();
     this.lstBookmarks       = new System.Windows.Forms.ListBox();
     this.chkRotate          = new System.Windows.Forms.CheckBox();
     this.chkNavigate        = new System.Windows.Forms.CheckBox();
     this.Label5             = new System.Windows.Forms.Label();
     this.Label4             = new System.Windows.Forms.Label();
     this.Label3             = new System.Windows.Forms.Label();
     this.Label2             = new System.Windows.Forms.Label();
     this.Line3             = new System.Windows.Forms.Label();
     this.Line2             = new System.Windows.Forms.Label();
     this.Line1             = new System.Windows.Forms.Label();
     this.Label1            = new System.Windows.Forms.Label();
     this.cmdBrowse         = new System.Windows.Forms.Button();
     this.txtFileName       = new System.Windows.Forms.TextBox();
     this.cmdLoad           = new System.Windows.Forms.Button();
     this.openFileDialog1   = new System.Windows.Forms.OpenFileDialog();
     this.axSceneControl1   = new ESRI.ArcGIS.Controls.AxSceneControl();
     this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
     ((System.ComponentModel.ISupportInitialize)(this.axSceneControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     this.SuspendLayout();
     //
     // txtNewBookmarkName
     //
     this.txtNewBookmarkName.AcceptsReturn = true;
     this.txtNewBookmarkName.AutoSize      = false;
     this.txtNewBookmarkName.BackColor     = System.Drawing.SystemColors.Window;
     this.txtNewBookmarkName.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.txtNewBookmarkName.Font          = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtNewBookmarkName.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.txtNewBookmarkName.Location      = new System.Drawing.Point(152, 480);
     this.txtNewBookmarkName.MaxLength     = 0;
     this.txtNewBookmarkName.Name          = "txtNewBookmarkName";
     this.txtNewBookmarkName.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.txtNewBookmarkName.Size          = new System.Drawing.Size(121, 27);
     this.txtNewBookmarkName.TabIndex      = 16;
     this.txtNewBookmarkName.Text          = "New Bookmark";
     //
     // cmdCaptureBookmark
     //
     this.cmdCaptureBookmark.BackColor   = System.Drawing.SystemColors.Control;
     this.cmdCaptureBookmark.Cursor      = System.Windows.Forms.Cursors.Default;
     this.cmdCaptureBookmark.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.cmdCaptureBookmark.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.cmdCaptureBookmark.Location    = new System.Drawing.Point(8, 480);
     this.cmdCaptureBookmark.Name        = "cmdCaptureBookmark";
     this.cmdCaptureBookmark.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.cmdCaptureBookmark.Size        = new System.Drawing.Size(137, 25);
     this.cmdCaptureBookmark.TabIndex    = 15;
     this.cmdCaptureBookmark.Text        = "Capture Bookmark";
     this.cmdCaptureBookmark.Click      += new System.EventHandler(this.cmdCaptureBookmark_Click);
     //
     // lstBookmarks
     //
     this.lstBookmarks.BackColor             = System.Drawing.SystemColors.Window;
     this.lstBookmarks.Cursor                = System.Windows.Forms.Cursors.Default;
     this.lstBookmarks.Font                  = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lstBookmarks.ForeColor             = System.Drawing.SystemColors.WindowText;
     this.lstBookmarks.ItemHeight            = 14;
     this.lstBookmarks.Location              = new System.Drawing.Point(8, 392);
     this.lstBookmarks.Name                  = "lstBookmarks";
     this.lstBookmarks.RightToLeft           = System.Windows.Forms.RightToLeft.No;
     this.lstBookmarks.Size                  = new System.Drawing.Size(265, 74);
     this.lstBookmarks.TabIndex              = 14;
     this.lstBookmarks.SelectedIndexChanged += new System.EventHandler(this.lstBookmarks_SelectedIndexChanged);
     //
     // chkRotate
     //
     this.chkRotate.BackColor       = System.Drawing.SystemColors.Control;
     this.chkRotate.Cursor          = System.Windows.Forms.Cursors.Default;
     this.chkRotate.Font            = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.chkRotate.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.chkRotate.Location        = new System.Drawing.Point(296, 464);
     this.chkRotate.Name            = "chkRotate";
     this.chkRotate.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.chkRotate.Size            = new System.Drawing.Size(121, 25);
     this.chkRotate.TabIndex        = 18;
     this.chkRotate.Text            = "Rotate Gesture";
     this.chkRotate.CheckedChanged += new System.EventHandler(this.chkRotate_CheckedChanged);
     //
     // chkNavigate
     //
     this.chkNavigate.BackColor       = System.Drawing.SystemColors.Control;
     this.chkNavigate.Cursor          = System.Windows.Forms.Cursors.Default;
     this.chkNavigate.Font            = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.chkNavigate.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.chkNavigate.Location        = new System.Drawing.Point(296, 384);
     this.chkNavigate.Name            = "chkNavigate";
     this.chkNavigate.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.chkNavigate.Size            = new System.Drawing.Size(113, 25);
     this.chkNavigate.TabIndex        = 17;
     this.chkNavigate.Text            = "Navigate Mode";
     this.chkNavigate.CheckedChanged += new System.EventHandler(this.chkNavigate_CheckedChanged);
     //
     // Label5
     //
     this.Label5.BackColor   = System.Drawing.SystemColors.Control;
     this.Label5.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label5.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label5.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label5.Location    = new System.Drawing.Point(424, 448);
     this.Label5.Name        = "Label5";
     this.Label5.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label5.Size        = new System.Drawing.Size(169, 65);
     this.Label5.TabIndex    = 22;
     this.Label5.Text        = "Hold down left mouse button, move mouse left (or right) and keep mouse moving whi" +
                               "le releasing the left button. Press ESC to stop rotation.";
     //
     // Label4
     //
     this.Label4.BackColor   = System.Drawing.SystemColors.Control;
     this.Label4.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label4.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label4.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label4.Location    = new System.Drawing.Point(424, 392);
     this.Label4.Name        = "Label4";
     this.Label4.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label4.Size        = new System.Drawing.Size(169, 17);
     this.Label4.TabIndex    = 21;
     this.Label4.Text        = "Middle mouse to pan";
     //
     // Label3
     //
     this.Label3.BackColor   = System.Drawing.SystemColors.Control;
     this.Label3.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label3.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label3.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label3.Location    = new System.Drawing.Point(424, 408);
     this.Label3.Name        = "Label3";
     this.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label3.Size        = new System.Drawing.Size(169, 17);
     this.Label3.TabIndex    = 20;
     this.Label3.Text        = "Right mouse to zoom in and out";
     //
     // Label2
     //
     this.Label2.BackColor   = System.Drawing.SystemColors.Control;
     this.Label2.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label2.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label2.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label2.Location    = new System.Drawing.Point(424, 376);
     this.Label2.Name        = "Label2";
     this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label2.Size        = new System.Drawing.Size(153, 17);
     this.Label2.TabIndex    = 19;
     this.Label2.Text        = "Left mouse to rotate";
     //
     // Line3
     //
     this.Line3.BackColor = System.Drawing.SystemColors.WindowText;
     this.Line3.Location  = new System.Drawing.Point(8, 360);
     this.Line3.Name      = "Line3";
     this.Line3.Size      = new System.Drawing.Size(584, 1);
     this.Line3.TabIndex  = 23;
     //
     // Line2
     //
     this.Line2.BackColor = System.Drawing.SystemColors.WindowText;
     this.Line2.Location  = new System.Drawing.Point(288, 440);
     this.Line2.Name      = "Line2";
     this.Line2.Size      = new System.Drawing.Size(304, 1);
     this.Line2.TabIndex  = 24;
     //
     // Line1
     //
     this.Line1.BackColor = System.Drawing.SystemColors.WindowText;
     this.Line1.Location  = new System.Drawing.Point(288, 360);
     this.Line1.Name      = "Line1";
     this.Line1.Size      = new System.Drawing.Size(1, 152);
     this.Line1.TabIndex  = 25;
     //
     // Label1
     //
     this.Label1.BackColor   = System.Drawing.SystemColors.Control;
     this.Label1.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label1.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label1.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label1.Location    = new System.Drawing.Point(8, 368);
     this.Label1.Name        = "Label1";
     this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label1.Size        = new System.Drawing.Size(265, 17);
     this.Label1.TabIndex    = 26;
     this.Label1.Text        = "Bookmarks: Click on name below";
     //
     // cmdBrowse
     //
     this.cmdBrowse.BackColor   = System.Drawing.SystemColors.Control;
     this.cmdBrowse.Cursor      = System.Windows.Forms.Cursors.Default;
     this.cmdBrowse.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.cmdBrowse.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.cmdBrowse.Location    = new System.Drawing.Point(528, 328);
     this.cmdBrowse.Name        = "cmdBrowse";
     this.cmdBrowse.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.cmdBrowse.Size        = new System.Drawing.Size(65, 25);
     this.cmdBrowse.TabIndex    = 29;
     this.cmdBrowse.Text        = "Browse...";
     this.cmdBrowse.Click      += new System.EventHandler(this.cmdBrowse_Click);
     //
     // txtFileName
     //
     this.txtFileName.AcceptsReturn = true;
     this.txtFileName.AutoSize      = false;
     this.txtFileName.BackColor     = System.Drawing.SystemColors.Window;
     this.txtFileName.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.txtFileName.Font          = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtFileName.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.txtFileName.Location      = new System.Drawing.Point(88, 328);
     this.txtFileName.MaxLength     = 0;
     this.txtFileName.Name          = "txtFileName";
     this.txtFileName.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.txtFileName.Size          = new System.Drawing.Size(433, 25);
     this.txtFileName.TabIndex      = 28;
     this.txtFileName.Text          = "Enter a path to a scene document to load into the SceneControl";
     //
     // cmdLoad
     //
     this.cmdLoad.BackColor   = System.Drawing.SystemColors.Control;
     this.cmdLoad.Cursor      = System.Windows.Forms.Cursors.Default;
     this.cmdLoad.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.cmdLoad.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.cmdLoad.Location    = new System.Drawing.Point(8, 328);
     this.cmdLoad.Name        = "cmdLoad";
     this.cmdLoad.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.cmdLoad.Size        = new System.Drawing.Size(73, 25);
     this.cmdLoad.TabIndex    = 27;
     this.cmdLoad.Text        = "Load";
     this.cmdLoad.Click      += new System.EventHandler(this.cmdLoad_Click);
     //
     // axSceneControl1
     //
     this.axSceneControl1.Location = new System.Drawing.Point(8, 8);
     this.axSceneControl1.Name     = "axSceneControl1";
     this.axSceneControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axSceneControl1.OcxState")));
     this.axSceneControl1.Size     = new System.Drawing.Size(584, 312);
     this.axSceneControl1.TabIndex = 30;
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(376, 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 = 31;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(600, 526);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.axSceneControl1);
     this.Controls.Add(this.cmdBrowse);
     this.Controls.Add(this.txtFileName);
     this.Controls.Add(this.cmdLoad);
     this.Controls.Add(this.Label1);
     this.Controls.Add(this.Line3);
     this.Controls.Add(this.Line2);
     this.Controls.Add(this.Line1);
     this.Controls.Add(this.chkRotate);
     this.Controls.Add(this.chkNavigate);
     this.Controls.Add(this.Label5);
     this.Controls.Add(this.Label4);
     this.Controls.Add(this.Label3);
     this.Controls.Add(this.Label2);
     this.Controls.Add(this.txtNewBookmarkName);
     this.Controls.Add(this.cmdCaptureBookmark);
     this.Controls.Add(this.lstBookmarks);
     this.Name  = "Form1";
     this.Text  = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.axSceneControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #3
0
 /// <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.chkDragDrop          = new System.Windows.Forms.CheckBox();
     this.Label6               = new System.Windows.Forms.Label();
     this.Label5               = new System.Windows.Forms.Label();
     this.Label2               = new System.Windows.Forms.Label();
     this.Label4               = new System.Windows.Forms.Label();
     this.Label3               = new System.Windows.Forms.Label();
     this.Label1               = new System.Windows.Forms.Label();
     this.axToolbarControl1    = new ESRI.ArcGIS.Controls.AxToolbarControl();
     this.axTOCControl1        = new ESRI.ArcGIS.Controls.AxTOCControl();
     this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl();
     this.axLicenseControl1    = new ESRI.ArcGIS.Controls.AxLicenseControl();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     this.SuspendLayout();
     //
     // chkDragDrop
     //
     this.chkDragDrop.Location = new System.Drawing.Point(432, 16);
     this.chkDragDrop.Name     = "chkDragDrop";
     this.chkDragDrop.Size     = new System.Drawing.Size(168, 16);
     this.chkDragDrop.TabIndex = 5;
     this.chkDragDrop.Text     = "Layer Drag and Drop";
     this.chkDragDrop.Click   += new System.EventHandler(this.chkDragDrop_Click);
     //
     // Label6
     //
     this.Label6.Location = new System.Drawing.Point(432, 234);
     this.Label6.Name     = "Label6";
     this.Label6.Size     = new System.Drawing.Size(184, 56);
     this.Label6.TabIndex = 16;
     this.Label6.Text     = "6) Move a layer into the new map by dragging and dropping a layer whilst holding " +
                            "the CTRL key down inside the TOCControl";
     //
     // Label5
     //
     this.Label5.Location = new System.Drawing.Point(432, 184);
     this.Label5.Name     = "Label5";
     this.Label5.Size     = new System.Drawing.Size(184, 56);
     this.Label5.TabIndex = 15;
     this.Label5.Text     = "5) Copy a layer into the new map by dragging and dropping a layer inside the TOCC" +
                            "ontrol";
     //
     // Label2
     //
     this.Label2.Location = new System.Drawing.Point(432, 96);
     this.Label2.Name     = "Label2";
     this.Label2.Size     = new System.Drawing.Size(176, 32);
     this.Label2.TabIndex = 12;
     this.Label2.Text     = "3) Re-order the layers in the TOCControl";
     //
     // Label4
     //
     this.Label4.Location = new System.Drawing.Point(432, 128);
     this.Label4.Name     = "Label4";
     this.Label4.Size     = new System.Drawing.Size(176, 56);
     this.Label4.TabIndex = 14;
     this.Label4.Text     = "4) Right click on the PageLayoutControl and drag a rectangle to create a new MapF" +
                            "rame";
     //
     // Label3
     //
     this.Label3.Location = new System.Drawing.Point(432, 72);
     this.Label3.Name     = "Label3";
     this.Label3.Size     = new System.Drawing.Size(176, 32);
     this.Label3.TabIndex = 13;
     this.Label3.Text     = "2) Enable layer drag and drop";
     //
     // Label1
     //
     this.Label1.Location = new System.Drawing.Point(432, 40);
     this.Label1.Name     = "Label1";
     this.Label1.Size     = new System.Drawing.Size(176, 32);
     this.Label1.TabIndex = 11;
     this.Label1.Text     = "1) Load a map document into the PageLayoutControl";
     //
     // 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(416, 28);
     this.axToolbarControl1.TabIndex = 17;
     //
     // axTOCControl1
     //
     this.axTOCControl1.Location = new System.Drawing.Point(8, 40);
     this.axTOCControl1.Name     = "axTOCControl1";
     this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState")));
     this.axTOCControl1.Size     = new System.Drawing.Size(144, 344);
     this.axTOCControl1.TabIndex = 18;
     //
     // axPageLayoutControl1
     //
     this.axPageLayoutControl1.Location     = new System.Drawing.Point(160, 40);
     this.axPageLayoutControl1.Name         = "axPageLayoutControl1";
     this.axPageLayoutControl1.OcxState     = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState")));
     this.axPageLayoutControl1.Size         = new System.Drawing.Size(256, 344);
     this.axPageLayoutControl1.TabIndex     = 19;
     this.axPageLayoutControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnMouseDownEventHandler(this.axPageLayoutControl1_OnMouseDown);
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(56, 48);
     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 = 20;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(616, 390);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.axPageLayoutControl1);
     this.Controls.Add(this.axTOCControl1);
     this.Controls.Add(this.axToolbarControl1);
     this.Controls.Add(this.Label6);
     this.Controls.Add(this.Label5);
     this.Controls.Add(this.Label2);
     this.Controls.Add(this.Label4);
     this.Controls.Add(this.Label3);
     this.Controls.Add(this.Label1);
     this.Controls.Add(this.chkDragDrop);
     this.Name  = "Form1";
     this.Text  = "Layer Drag and Drop";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).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()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
			this.lblStatus = new System.Windows.Forms.Label();
			this.FrmAnim = new System.Windows.Forms.GroupBox();
			this.CmdPlay = new System.Windows.Forms.Button();
			this.txtDuration = new System.Windows.Forms.TextBox();
			this.TxtFrequency = new System.Windows.Forms.TextBox();
			this.OptDuration = new System.Windows.Forms.RadioButton();
			this.OptIteration = new System.Windows.Forms.RadioButton();
			this.CmdLoad = new System.Windows.Forms.Button();
			this.Label1 = new System.Windows.Forms.Label();
			this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
			this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
			this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl();
			this.axGlobeControl1 = new ESRI.ArcGIS.Controls.AxGlobeControl();
			this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
			this.FrmAnim.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.axGlobeControl1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
			this.SuspendLayout();
			// 
			// lblStatus
			// 
			this.lblStatus.BackColor = System.Drawing.SystemColors.Control;
			this.lblStatus.Cursor = System.Windows.Forms.Cursors.Default;
			this.lblStatus.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.lblStatus.ForeColor = System.Drawing.SystemColors.ControlText;
			this.lblStatus.Location = new System.Drawing.Point(8, 376);
			this.lblStatus.Name = "lblStatus";
			this.lblStatus.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.lblStatus.Size = new System.Drawing.Size(129, 54);
			this.lblStatus.TabIndex = 13;
			// 
			// FrmAnim
			// 
			this.FrmAnim.BackColor = System.Drawing.SystemColors.Control;
			this.FrmAnim.Controls.Add(this.CmdPlay);
			this.FrmAnim.Controls.Add(this.txtDuration);
			this.FrmAnim.Controls.Add(this.TxtFrequency);
			this.FrmAnim.Controls.Add(this.OptDuration);
			this.FrmAnim.Controls.Add(this.OptIteration);
			this.FrmAnim.Controls.Add(this.CmdLoad);
			this.FrmAnim.Controls.Add(this.Label1);
			this.FrmAnim.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.FrmAnim.ForeColor = System.Drawing.SystemColors.ControlText;
			this.FrmAnim.Location = new System.Drawing.Point(144, 376);
			this.FrmAnim.Name = "FrmAnim";
			this.FrmAnim.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.FrmAnim.Size = new System.Drawing.Size(461, 55);
			this.FrmAnim.TabIndex = 12;
			this.FrmAnim.TabStop = false;
			// 
			// CmdPlay
			// 
			this.CmdPlay.BackColor = System.Drawing.SystemColors.Control;
			this.CmdPlay.Cursor = System.Windows.Forms.Cursors.Default;
			this.CmdPlay.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.CmdPlay.ForeColor = System.Drawing.SystemColors.ControlText;
			this.CmdPlay.Location = new System.Drawing.Point(266, 10);
			this.CmdPlay.Name = "CmdPlay";
			this.CmdPlay.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.CmdPlay.Size = new System.Drawing.Size(81, 38);
			this.CmdPlay.TabIndex = 9;
			this.CmdPlay.Text = "Play Animation";
			this.CmdPlay.Click += new System.EventHandler(this.CmdPlay_Click);
			// 
			// txtDuration
			// 
			this.txtDuration.AcceptsReturn = true;
			this.txtDuration.AutoSize = false;
			this.txtDuration.BackColor = System.Drawing.SystemColors.Window;
			this.txtDuration.Cursor = System.Windows.Forms.Cursors.IBeam;
			this.txtDuration.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtDuration.ForeColor = System.Drawing.SystemColors.WindowText;
			this.txtDuration.Location = new System.Drawing.Point(220, 13);
			this.txtDuration.MaxLength = 0;
			this.txtDuration.Name = "txtDuration";
			this.txtDuration.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.txtDuration.Size = new System.Drawing.Size(40, 19);
			this.txtDuration.TabIndex = 8;
			this.txtDuration.Text = "10";
			// 
			// TxtFrequency
			// 
			this.TxtFrequency.AcceptsReturn = true;
			this.TxtFrequency.AutoSize = false;
			this.TxtFrequency.BackColor = System.Drawing.SystemColors.Window;
			this.TxtFrequency.Cursor = System.Windows.Forms.Cursors.IBeam;
			this.TxtFrequency.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.TxtFrequency.ForeColor = System.Drawing.SystemColors.WindowText;
			this.TxtFrequency.Location = new System.Drawing.Point(400, 13);
			this.TxtFrequency.MaxLength = 0;
			this.TxtFrequency.Name = "TxtFrequency";
			this.TxtFrequency.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.TxtFrequency.Size = new System.Drawing.Size(40, 19);
			this.TxtFrequency.TabIndex = 7;
			this.TxtFrequency.Text = "2";
			// 
			// OptDuration
			// 
			this.OptDuration.BackColor = System.Drawing.SystemColors.Control;
			this.OptDuration.Checked = true;
			this.OptDuration.Cursor = System.Windows.Forms.Cursors.Default;
			this.OptDuration.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.OptDuration.ForeColor = System.Drawing.SystemColors.ControlText;
			this.OptDuration.Location = new System.Drawing.Point(122, 8);
			this.OptDuration.Name = "OptDuration";
			this.OptDuration.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.OptDuration.Size = new System.Drawing.Size(98, 17);
			this.OptDuration.TabIndex = 6;
			this.OptDuration.TabStop = true;
			this.OptDuration.Text = "Duration (secs)";
			this.OptDuration.CheckedChanged += new System.EventHandler(this.OptDuration_CheckedChanged);
			// 
			// OptIteration
			// 
			this.OptIteration.BackColor = System.Drawing.SystemColors.Control;
			this.OptIteration.Cursor = System.Windows.Forms.Cursors.Default;
			this.OptIteration.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.OptIteration.ForeColor = System.Drawing.SystemColors.ControlText;
			this.OptIteration.Location = new System.Drawing.Point(122, 22);
			this.OptIteration.Name = "OptIteration";
			this.OptIteration.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.OptIteration.Size = new System.Drawing.Size(94, 19);
			this.OptIteration.TabIndex = 5;
			this.OptIteration.TabStop = true;
			this.OptIteration.Text = "No. Iterations";
			this.OptIteration.CheckedChanged += new System.EventHandler(this.OptIteration_CheckedChanged);
			// 
			// CmdLoad
			// 
			this.CmdLoad.BackColor = System.Drawing.SystemColors.Control;
			this.CmdLoad.Cursor = System.Windows.Forms.Cursors.Default;
			this.CmdLoad.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.CmdLoad.ForeColor = System.Drawing.SystemColors.ControlText;
			this.CmdLoad.Location = new System.Drawing.Point(9, 10);
			this.CmdLoad.Name = "CmdLoad";
			this.CmdLoad.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.CmdLoad.Size = new System.Drawing.Size(94, 38);
			this.CmdLoad.TabIndex = 4;
			this.CmdLoad.Text = "Load Animation  File (*.aga)";
			this.CmdLoad.Click += new System.EventHandler(this.CmdLoad_Click);
			// 
			// Label1
			// 
			this.Label1.BackColor = System.Drawing.SystemColors.Control;
			this.Label1.Cursor = System.Windows.Forms.Cursors.Default;
			this.Label1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.Label1.ForeColor = System.Drawing.SystemColors.ControlText;
			this.Label1.Location = new System.Drawing.Point(354, 14);
			this.Label1.Name = "Label1";
			this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Label1.Size = new System.Drawing.Size(36, 17);
			this.Label1.TabIndex = 10;
			this.Label1.Text = "Cycles:";
			// 
			// 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(592, 28);
			this.axToolbarControl1.TabIndex = 14;
			this.axToolbarControl1.OnItemClick += new ESRI.ArcGIS.Controls.IToolbarControlEvents_Ax_OnItemClickEventHandler(this.axToolbarControl1_OnItemClick);
			// 
			// axTOCControl1
			// 
			this.axTOCControl1.Location = new System.Drawing.Point(8, 40);
			this.axTOCControl1.Name = "axTOCControl1";
			this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState")));
			this.axTOCControl1.Size = new System.Drawing.Size(136, 328);
			this.axTOCControl1.TabIndex = 15;
			// 
			// axGlobeControl1
			// 
			this.axGlobeControl1.Location = new System.Drawing.Point(144, 40);
			this.axGlobeControl1.Name = "axGlobeControl1";
			this.axGlobeControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axGlobeControl1.OcxState")));
			this.axGlobeControl1.Size = new System.Drawing.Size(456, 328);
			this.axGlobeControl1.TabIndex = 16;
			// 
			// axLicenseControl1
			// 
			this.axLicenseControl1.Enabled = true;
			this.axLicenseControl1.Location = new System.Drawing.Point(384, 56);
			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 = 17;
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(608, 438);
			this.Controls.Add(this.axLicenseControl1);
			this.Controls.Add(this.axGlobeControl1);
			this.Controls.Add(this.axTOCControl1);
			this.Controls.Add(this.axToolbarControl1);
			this.Controls.Add(this.lblStatus);
			this.Controls.Add(this.FrmAnim);
			this.Name = "Form1";
			this.Text = "GlobeControlAnimation";
			this.Load += new System.EventHandler(this.Form1_Load);
			this.FrmAnim.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.axGlobeControl1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
			this.ResumeLayout(false);

		}
コード例 #5
0
 /// <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(Effects));
     this.Frame2_1          = new System.Windows.Forms.GroupBox();
     this.lblDelay          = new System.Windows.Forms.Label();
     this.TxtTipDelay       = new System.Windows.Forms.TextBox();
     this.cmbTipType        = new System.Windows.Forms.ComboBox();
     this.ChkHUD            = new System.Windows.Forms.CheckBox();
     this.ChkArrow          = new System.Windows.Forms.CheckBox();
     this.ChkTip            = new System.Windows.Forms.CheckBox();
     this.LblTips           = new System.Windows.Forms.Label();
     this.Frame2            = new System.Windows.Forms.GroupBox();
     this.lblLatVal         = new System.Windows.Forms.Label();
     this.LblLonVal         = new System.Windows.Forms.Label();
     this.LblAltVal         = new System.Windows.Forms.Label();
     this.LblLat            = new System.Windows.Forms.Label();
     this.LblLon            = new System.Windows.Forms.Label();
     this.LblALt            = new System.Windows.Forms.Label();
     this._Frame2_0         = new System.Windows.Forms.GroupBox();
     this.CmdAmbient        = new System.Windows.Forms.Button();
     this.TxtAmbient        = new System.Windows.Forms.TextBox();
     this.CmdSetSun         = new System.Windows.Forms.Button();
     this.chkSun            = new System.Windows.Forms.CheckBox();
     this.Label2            = new System.Windows.Forms.Label();
     this.colorDialog1      = new System.Windows.Forms.ColorDialog();
     this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
     this.axTOCControl1     = new ESRI.ArcGIS.Controls.AxTOCControl();
     this.axGlobeControl1   = new ESRI.ArcGIS.Controls.AxGlobeControl();
     this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
     this.Frame2_1.SuspendLayout();
     this.Frame2.SuspendLayout();
     this._Frame2_0.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axGlobeControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     this.SuspendLayout();
     //
     // Frame2_1
     //
     this.Frame2_1.BackColor = System.Drawing.SystemColors.Control;
     this.Frame2_1.Controls.Add(this.lblDelay);
     this.Frame2_1.Controls.Add(this.TxtTipDelay);
     this.Frame2_1.Controls.Add(this.cmbTipType);
     this.Frame2_1.Controls.Add(this.ChkHUD);
     this.Frame2_1.Controls.Add(this.ChkArrow);
     this.Frame2_1.Controls.Add(this.ChkTip);
     this.Frame2_1.Controls.Add(this.LblTips);
     this.Frame2_1.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Frame2_1.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Frame2_1.Location    = new System.Drawing.Point(256, 376);
     this.Frame2_1.Name        = "Frame2_1";
     this.Frame2_1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Frame2_1.Size        = new System.Drawing.Size(224, 69);
     this.Frame2_1.TabIndex    = 16;
     this.Frame2_1.TabStop     = false;
     this.Frame2_1.Text        = "HUD";
     //
     // lblDelay
     //
     this.lblDelay.BackColor   = System.Drawing.SystemColors.Control;
     this.lblDelay.Cursor      = System.Windows.Forms.Cursors.Default;
     this.lblDelay.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblDelay.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.lblDelay.Location    = new System.Drawing.Point(136, 9);
     this.lblDelay.Name        = "lblDelay";
     this.lblDelay.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.lblDelay.Size        = new System.Drawing.Size(72, 13);
     this.lblDelay.TabIndex    = 18;
     this.lblDelay.Text        = "Delay(mSec.)";
     //
     // TxtTipDelay
     //
     this.TxtTipDelay.AcceptsReturn = true;
     this.TxtTipDelay.AutoSize      = false;
     this.TxtTipDelay.BackColor     = System.Drawing.SystemColors.Window;
     this.TxtTipDelay.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.TxtTipDelay.Font          = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.TxtTipDelay.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.TxtTipDelay.Location      = new System.Drawing.Point(160, 24);
     this.TxtTipDelay.MaxLength     = 0;
     this.TxtTipDelay.Name          = "TxtTipDelay";
     this.TxtTipDelay.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.TxtTipDelay.Size          = new System.Drawing.Size(48, 15);
     this.TxtTipDelay.TabIndex      = 16;
     this.TxtTipDelay.Text          = "500";
     //
     // cmbTipType
     //
     this.cmbTipType.BackColor             = System.Drawing.SystemColors.Window;
     this.cmbTipType.Cursor                = System.Windows.Forms.Cursors.Default;
     this.cmbTipType.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbTipType.Font                  = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.cmbTipType.ForeColor             = System.Drawing.SystemColors.WindowText;
     this.cmbTipType.Location              = new System.Drawing.Point(69, 42);
     this.cmbTipType.Name                  = "cmbTipType";
     this.cmbTipType.RightToLeft           = System.Windows.Forms.RightToLeft.No;
     this.cmbTipType.Size                  = new System.Drawing.Size(139, 22);
     this.cmbTipType.TabIndex              = 17;
     this.cmbTipType.SelectedIndexChanged += new System.EventHandler(this.cmbTipType_SelectedIndexChanged);
     //
     // ChkHUD
     //
     this.ChkHUD.BackColor       = System.Drawing.SystemColors.Control;
     this.ChkHUD.Cursor          = System.Windows.Forms.Cursors.Default;
     this.ChkHUD.Font            = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.ChkHUD.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.ChkHUD.Location        = new System.Drawing.Point(13, 19);
     this.ChkHUD.Name            = "ChkHUD";
     this.ChkHUD.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.ChkHUD.Size            = new System.Drawing.Size(51, 16);
     this.ChkHUD.TabIndex        = 15;
     this.ChkHUD.Text            = "HUD";
     this.ChkHUD.CheckedChanged += new System.EventHandler(this.ChkHUD_CheckedChanged);
     //
     // ChkArrow
     //
     this.ChkArrow.BackColor       = System.Drawing.SystemColors.Control;
     this.ChkArrow.Cursor          = System.Windows.Forms.Cursors.Default;
     this.ChkArrow.Font            = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.ChkArrow.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.ChkArrow.Location        = new System.Drawing.Point(13, 33);
     this.ChkArrow.Name            = "ChkArrow";
     this.ChkArrow.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.ChkArrow.Size            = new System.Drawing.Size(59, 31);
     this.ChkArrow.TabIndex        = 14;
     this.ChkArrow.Text            = "North Arrow";
     this.ChkArrow.CheckedChanged += new System.EventHandler(this.ChkArrow_CheckedChanged);
     //
     // ChkTip
     //
     this.ChkTip.BackColor       = System.Drawing.SystemColors.Control;
     this.ChkTip.Cursor          = System.Windows.Forms.Cursors.Default;
     this.ChkTip.Font            = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.ChkTip.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.ChkTip.Location        = new System.Drawing.Point(69, 25);
     this.ChkTip.Name            = "ChkTip";
     this.ChkTip.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.ChkTip.Size            = new System.Drawing.Size(14, 15);
     this.ChkTip.TabIndex        = 20;
     this.ChkTip.Text            = "Check1";
     this.ChkTip.CheckedChanged += new System.EventHandler(this.ChkTip_CheckedChanged);
     //
     // LblTips
     //
     this.LblTips.BackColor   = System.Drawing.SystemColors.Control;
     this.LblTips.Cursor      = System.Windows.Forms.Cursors.Default;
     this.LblTips.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.LblTips.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.LblTips.Location    = new System.Drawing.Point(84, 16);
     this.LblTips.Name        = "LblTips";
     this.LblTips.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.LblTips.Size        = new System.Drawing.Size(58, 28);
     this.LblTips.TabIndex    = 19;
     this.LblTips.Text        = "Enable Globe Tips";
     //
     // Frame2
     //
     this.Frame2.BackColor = System.Drawing.SystemColors.Control;
     this.Frame2.Controls.Add(this.lblLatVal);
     this.Frame2.Controls.Add(this.LblLonVal);
     this.Frame2.Controls.Add(this.LblAltVal);
     this.Frame2.Controls.Add(this.LblLat);
     this.Frame2.Controls.Add(this.LblLon);
     this.Frame2.Controls.Add(this.LblALt);
     this.Frame2.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Frame2.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Frame2.Location    = new System.Drawing.Point(488, 376);
     this.Frame2.Name        = "Frame2";
     this.Frame2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Frame2.Size        = new System.Drawing.Size(236, 69);
     this.Frame2.TabIndex    = 15;
     this.Frame2.TabStop     = false;
     this.Frame2.Text        = "Alternate HUD";
     //
     // lblLatVal
     //
     this.lblLatVal.BackColor   = System.Drawing.SystemColors.Control;
     this.lblLatVal.Cursor      = System.Windows.Forms.Cursors.Default;
     this.lblLatVal.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblLatVal.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.lblLatVal.Location    = new System.Drawing.Point(33, 30);
     this.lblLatVal.Name        = "lblLatVal";
     this.lblLatVal.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.lblLatVal.Size        = new System.Drawing.Size(86, 13);
     this.lblLatVal.TabIndex    = 9;
     this.lblLatVal.Text        = "lblLatVal";
     //
     // LblLonVal
     //
     this.LblLonVal.BackColor   = System.Drawing.SystemColors.Control;
     this.LblLonVal.Cursor      = System.Windows.Forms.Cursors.Default;
     this.LblLonVal.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.LblLonVal.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.LblLonVal.Location    = new System.Drawing.Point(33, 45);
     this.LblLonVal.Name        = "LblLonVal";
     this.LblLonVal.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.LblLonVal.Size        = new System.Drawing.Size(86, 13);
     this.LblLonVal.TabIndex    = 7;
     this.LblLonVal.Text        = "LblLonVal";
     //
     // LblAltVal
     //
     this.LblAltVal.BackColor   = System.Drawing.SystemColors.Control;
     this.LblAltVal.Cursor      = System.Windows.Forms.Cursors.Default;
     this.LblAltVal.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.LblAltVal.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.LblAltVal.Location    = new System.Drawing.Point(134, 44);
     this.LblAltVal.Name        = "LblAltVal";
     this.LblAltVal.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.LblAltVal.Size        = new System.Drawing.Size(86, 11);
     this.LblAltVal.TabIndex    = 8;
     this.LblAltVal.Text        = "LblAltVal";
     //
     // LblLat
     //
     this.LblLat.BackColor   = System.Drawing.SystemColors.Control;
     this.LblLat.Cursor      = System.Windows.Forms.Cursors.Default;
     this.LblLat.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.LblLat.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.LblLat.Location    = new System.Drawing.Point(8, 32);
     this.LblLat.Name        = "LblLat";
     this.LblLat.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.LblLat.Size        = new System.Drawing.Size(24, 15);
     this.LblLat.TabIndex    = 12;
     this.LblLat.Text        = "Lat:";
     //
     // LblLon
     //
     this.LblLon.BackColor   = System.Drawing.SystemColors.Control;
     this.LblLon.Cursor      = System.Windows.Forms.Cursors.Default;
     this.LblLon.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.LblLon.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.LblLon.Location    = new System.Drawing.Point(9, 46);
     this.LblLon.Name        = "LblLon";
     this.LblLon.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.LblLon.Size        = new System.Drawing.Size(27, 16);
     this.LblLon.TabIndex    = 11;
     this.LblLon.Text        = "Lon:";
     //
     // LblALt
     //
     this.LblALt.BackColor   = System.Drawing.SystemColors.Control;
     this.LblALt.Cursor      = System.Windows.Forms.Cursors.Default;
     this.LblALt.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.LblALt.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.LblALt.Location    = new System.Drawing.Point(133, 23);
     this.LblALt.Name        = "LblALt";
     this.LblALt.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.LblALt.Size        = new System.Drawing.Size(83, 19);
     this.LblALt.TabIndex    = 10;
     this.LblALt.Text        = "Alt (in Kms.)";
     //
     // _Frame2_0
     //
     this._Frame2_0.BackColor = System.Drawing.SystemColors.Control;
     this._Frame2_0.Controls.Add(this.CmdAmbient);
     this._Frame2_0.Controls.Add(this.TxtAmbient);
     this._Frame2_0.Controls.Add(this.CmdSetSun);
     this._Frame2_0.Controls.Add(this.chkSun);
     this._Frame2_0.Controls.Add(this.Label2);
     this._Frame2_0.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this._Frame2_0.ForeColor   = System.Drawing.SystemColors.ControlText;
     this._Frame2_0.Location    = new System.Drawing.Point(8, 376);
     this._Frame2_0.Name        = "_Frame2_0";
     this._Frame2_0.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this._Frame2_0.Size        = new System.Drawing.Size(236, 69);
     this._Frame2_0.TabIndex    = 14;
     this._Frame2_0.TabStop     = false;
     this._Frame2_0.Text        = "Sun and Ambient Light Prop";
     //
     // CmdAmbient
     //
     this.CmdAmbient.BackColor   = System.Drawing.SystemColors.Control;
     this.CmdAmbient.Cursor      = System.Windows.Forms.Cursors.Default;
     this.CmdAmbient.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.CmdAmbient.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.CmdAmbient.Location    = new System.Drawing.Point(10, 43);
     this.CmdAmbient.Name        = "CmdAmbient";
     this.CmdAmbient.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.CmdAmbient.Size        = new System.Drawing.Size(78, 22);
     this.CmdAmbient.TabIndex    = 4;
     this.CmdAmbient.Text        = "Set Ambient";
     this.CmdAmbient.Click      += new System.EventHandler(this.CmdAmbient_Click);
     //
     // TxtAmbient
     //
     this.TxtAmbient.AcceptsReturn = true;
     this.TxtAmbient.AutoSize      = false;
     this.TxtAmbient.BackColor     = System.Drawing.SystemColors.Window;
     this.TxtAmbient.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.TxtAmbient.Font          = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.TxtAmbient.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.TxtAmbient.Location      = new System.Drawing.Point(168, 45);
     this.TxtAmbient.MaxLength     = 0;
     this.TxtAmbient.Name          = "TxtAmbient";
     this.TxtAmbient.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.TxtAmbient.Size          = new System.Drawing.Size(48, 20);
     this.TxtAmbient.TabIndex      = 3;
     this.TxtAmbient.Text          = "";
     //
     // CmdSetSun
     //
     this.CmdSetSun.BackColor   = System.Drawing.SystemColors.Control;
     this.CmdSetSun.Cursor      = System.Windows.Forms.Cursors.Default;
     this.CmdSetSun.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.CmdSetSun.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.CmdSetSun.Location    = new System.Drawing.Point(144, 15);
     this.CmdSetSun.Name        = "CmdSetSun";
     this.CmdSetSun.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.CmdSetSun.Size        = new System.Drawing.Size(80, 20);
     this.CmdSetSun.TabIndex    = 2;
     this.CmdSetSun.Text        = "Set Sun Color";
     this.CmdSetSun.Click      += new System.EventHandler(this.CmdSetSun_Click);
     //
     // chkSun
     //
     this.chkSun.BackColor       = System.Drawing.SystemColors.Control;
     this.chkSun.Cursor          = System.Windows.Forms.Cursors.Default;
     this.chkSun.Font            = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.chkSun.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.chkSun.Location        = new System.Drawing.Point(15, 17);
     this.chkSun.Name            = "chkSun";
     this.chkSun.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.chkSun.Size            = new System.Drawing.Size(81, 22);
     this.chkSun.TabIndex        = 1;
     this.chkSun.Text            = "Enable Sun";
     this.chkSun.CheckedChanged += new System.EventHandler(this.chkSun_CheckedChanged);
     //
     // Label2
     //
     this.Label2.BackColor   = System.Drawing.SystemColors.Control;
     this.Label2.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label2.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label2.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label2.Location    = new System.Drawing.Point(96, 48);
     this.Label2.Name        = "Label2";
     this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label2.Size        = new System.Drawing.Size(64, 16);
     this.Label2.TabIndex    = 5;
     this.Label2.Text        = "Values  0 -1";
     //
     // 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(720, 28);
     this.axToolbarControl1.TabIndex = 17;
     //
     // axTOCControl1
     //
     this.axTOCControl1.Location = new System.Drawing.Point(8, 40);
     this.axTOCControl1.Name     = "axTOCControl1";
     this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState")));
     this.axTOCControl1.Size     = new System.Drawing.Size(192, 328);
     this.axTOCControl1.TabIndex = 18;
     //
     // axGlobeControl1
     //
     this.axGlobeControl1.Location         = new System.Drawing.Point(208, 40);
     this.axGlobeControl1.Name             = "axGlobeControl1";
     this.axGlobeControl1.OcxState         = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axGlobeControl1.OcxState")));
     this.axGlobeControl1.Size             = new System.Drawing.Size(520, 328);
     this.axGlobeControl1.TabIndex         = 19;
     this.axGlobeControl1.OnGlobeReplaced += new ESRI.ArcGIS.Controls.IGlobeControlEvents_Ax_OnGlobeReplacedEventHandler(this.axGlobeControl1_OnGlobeReplaced);
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(512, 56);
     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 = 20;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(736, 454);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.axGlobeControl1);
     this.Controls.Add(this.axTOCControl1);
     this.Controls.Add(this.axToolbarControl1);
     this.Controls.Add(this.Frame2_1);
     this.Controls.Add(this.Frame2);
     this.Controls.Add(this._Frame2_0);
     this.Name  = "Form1";
     this.Text  = "GlobeControl";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.Frame2_1.ResumeLayout(false);
     this.Frame2.ResumeLayout(false);
     this._Frame2_0.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axGlobeControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #6
0
 /// <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(Form1));
     this.lblStatus         = new System.Windows.Forms.Label();
     this.FrmAnim           = new System.Windows.Forms.GroupBox();
     this.CmdPlay           = new System.Windows.Forms.Button();
     this.txtDuration       = new System.Windows.Forms.TextBox();
     this.TxtFrequency      = new System.Windows.Forms.TextBox();
     this.OptDuration       = new System.Windows.Forms.RadioButton();
     this.OptIteration      = new System.Windows.Forms.RadioButton();
     this.CmdLoad           = new System.Windows.Forms.Button();
     this.Label1            = new System.Windows.Forms.Label();
     this.openFileDialog1   = new System.Windows.Forms.OpenFileDialog();
     this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
     this.axTOCControl1     = new ESRI.ArcGIS.Controls.AxTOCControl();
     this.axGlobeControl1   = new ESRI.ArcGIS.Controls.AxGlobeControl();
     this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
     this.FrmAnim.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axGlobeControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     this.SuspendLayout();
     //
     // lblStatus
     //
     this.lblStatus.BackColor   = System.Drawing.SystemColors.Control;
     this.lblStatus.Cursor      = System.Windows.Forms.Cursors.Default;
     this.lblStatus.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblStatus.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.lblStatus.Location    = new System.Drawing.Point(8, 376);
     this.lblStatus.Name        = "lblStatus";
     this.lblStatus.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.lblStatus.Size        = new System.Drawing.Size(129, 54);
     this.lblStatus.TabIndex    = 13;
     //
     // FrmAnim
     //
     this.FrmAnim.BackColor = System.Drawing.SystemColors.Control;
     this.FrmAnim.Controls.Add(this.CmdPlay);
     this.FrmAnim.Controls.Add(this.txtDuration);
     this.FrmAnim.Controls.Add(this.TxtFrequency);
     this.FrmAnim.Controls.Add(this.OptDuration);
     this.FrmAnim.Controls.Add(this.OptIteration);
     this.FrmAnim.Controls.Add(this.CmdLoad);
     this.FrmAnim.Controls.Add(this.Label1);
     this.FrmAnim.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FrmAnim.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.FrmAnim.Location    = new System.Drawing.Point(144, 376);
     this.FrmAnim.Name        = "FrmAnim";
     this.FrmAnim.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.FrmAnim.Size        = new System.Drawing.Size(461, 55);
     this.FrmAnim.TabIndex    = 12;
     this.FrmAnim.TabStop     = false;
     //
     // CmdPlay
     //
     this.CmdPlay.BackColor   = System.Drawing.SystemColors.Control;
     this.CmdPlay.Cursor      = System.Windows.Forms.Cursors.Default;
     this.CmdPlay.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.CmdPlay.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.CmdPlay.Location    = new System.Drawing.Point(266, 10);
     this.CmdPlay.Name        = "CmdPlay";
     this.CmdPlay.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.CmdPlay.Size        = new System.Drawing.Size(81, 38);
     this.CmdPlay.TabIndex    = 9;
     this.CmdPlay.Text        = "Play Animation";
     this.CmdPlay.Click      += new System.EventHandler(this.CmdPlay_Click);
     //
     // txtDuration
     //
     this.txtDuration.AcceptsReturn = true;
     this.txtDuration.AutoSize      = false;
     this.txtDuration.BackColor     = System.Drawing.SystemColors.Window;
     this.txtDuration.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.txtDuration.Font          = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtDuration.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.txtDuration.Location      = new System.Drawing.Point(220, 13);
     this.txtDuration.MaxLength     = 0;
     this.txtDuration.Name          = "txtDuration";
     this.txtDuration.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.txtDuration.Size          = new System.Drawing.Size(40, 19);
     this.txtDuration.TabIndex      = 8;
     this.txtDuration.Text          = "10";
     //
     // TxtFrequency
     //
     this.TxtFrequency.AcceptsReturn = true;
     this.TxtFrequency.AutoSize      = false;
     this.TxtFrequency.BackColor     = System.Drawing.SystemColors.Window;
     this.TxtFrequency.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.TxtFrequency.Font          = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.TxtFrequency.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.TxtFrequency.Location      = new System.Drawing.Point(400, 13);
     this.TxtFrequency.MaxLength     = 0;
     this.TxtFrequency.Name          = "TxtFrequency";
     this.TxtFrequency.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.TxtFrequency.Size          = new System.Drawing.Size(40, 19);
     this.TxtFrequency.TabIndex      = 7;
     this.TxtFrequency.Text          = "2";
     //
     // OptDuration
     //
     this.OptDuration.BackColor       = System.Drawing.SystemColors.Control;
     this.OptDuration.Checked         = true;
     this.OptDuration.Cursor          = System.Windows.Forms.Cursors.Default;
     this.OptDuration.Font            = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.OptDuration.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.OptDuration.Location        = new System.Drawing.Point(122, 8);
     this.OptDuration.Name            = "OptDuration";
     this.OptDuration.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.OptDuration.Size            = new System.Drawing.Size(98, 17);
     this.OptDuration.TabIndex        = 6;
     this.OptDuration.TabStop         = true;
     this.OptDuration.Text            = "Duration (secs)";
     this.OptDuration.CheckedChanged += new System.EventHandler(this.OptDuration_CheckedChanged);
     //
     // OptIteration
     //
     this.OptIteration.BackColor       = System.Drawing.SystemColors.Control;
     this.OptIteration.Cursor          = System.Windows.Forms.Cursors.Default;
     this.OptIteration.Font            = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.OptIteration.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.OptIteration.Location        = new System.Drawing.Point(122, 22);
     this.OptIteration.Name            = "OptIteration";
     this.OptIteration.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.OptIteration.Size            = new System.Drawing.Size(94, 19);
     this.OptIteration.TabIndex        = 5;
     this.OptIteration.TabStop         = true;
     this.OptIteration.Text            = "No. Iterations";
     this.OptIteration.CheckedChanged += new System.EventHandler(this.OptIteration_CheckedChanged);
     //
     // CmdLoad
     //
     this.CmdLoad.BackColor   = System.Drawing.SystemColors.Control;
     this.CmdLoad.Cursor      = System.Windows.Forms.Cursors.Default;
     this.CmdLoad.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.CmdLoad.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.CmdLoad.Location    = new System.Drawing.Point(9, 10);
     this.CmdLoad.Name        = "CmdLoad";
     this.CmdLoad.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.CmdLoad.Size        = new System.Drawing.Size(94, 38);
     this.CmdLoad.TabIndex    = 4;
     this.CmdLoad.Text        = "Load Animation  File (*.aga)";
     this.CmdLoad.Click      += new System.EventHandler(this.CmdLoad_Click);
     //
     // Label1
     //
     this.Label1.BackColor   = System.Drawing.SystemColors.Control;
     this.Label1.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label1.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label1.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label1.Location    = new System.Drawing.Point(354, 14);
     this.Label1.Name        = "Label1";
     this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label1.Size        = new System.Drawing.Size(36, 17);
     this.Label1.TabIndex    = 10;
     this.Label1.Text        = "Cycles:";
     //
     // 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(592, 28);
     this.axToolbarControl1.TabIndex     = 14;
     this.axToolbarControl1.OnItemClick += new ESRI.ArcGIS.Controls.IToolbarControlEvents_Ax_OnItemClickEventHandler(this.axToolbarControl1_OnItemClick);
     //
     // axTOCControl1
     //
     this.axTOCControl1.Location = new System.Drawing.Point(8, 40);
     this.axTOCControl1.Name     = "axTOCControl1";
     this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState")));
     this.axTOCControl1.Size     = new System.Drawing.Size(136, 328);
     this.axTOCControl1.TabIndex = 15;
     //
     // axGlobeControl1
     //
     this.axGlobeControl1.Location = new System.Drawing.Point(144, 40);
     this.axGlobeControl1.Name     = "axGlobeControl1";
     this.axGlobeControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axGlobeControl1.OcxState")));
     this.axGlobeControl1.Size     = new System.Drawing.Size(456, 328);
     this.axGlobeControl1.TabIndex = 16;
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(384, 56);
     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 = 17;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(608, 438);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.axGlobeControl1);
     this.Controls.Add(this.axTOCControl1);
     this.Controls.Add(this.axToolbarControl1);
     this.Controls.Add(this.lblStatus);
     this.Controls.Add(this.FrmAnim);
     this.Name  = "Form1";
     this.Text  = "GlobeControlAnimation";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.FrmAnim.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axGlobeControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #7
0
		private void InitializeComponent()
		{
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components);
            this.menuItem1 = new System.Windows.Forms.MenuItem();
            this.menuItem2 = new System.Windows.Forms.MenuItem();
            this.menuItem3 = new System.Windows.Forms.MenuItem();
            this.menuItem8 = new System.Windows.Forms.MenuItem();
            this.menuItem7 = new System.Windows.Forms.MenuItem();
            this.menuItem4 = new System.Windows.Forms.MenuItem();
            this.menuItem5 = new System.Windows.Forms.MenuItem();
            this.menuItem6 = new System.Windows.Forms.MenuItem();
            this.menuItem9 = new System.Windows.Forms.MenuItem();
            this.toolBar1 = new System.Windows.Forms.ToolBar();
            this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
            this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
            ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
            this.SuspendLayout();
            // 
            // mainMenu1
            // 
            this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
            this.menuItem1,
            this.menuItem4});
            // 
            // menuItem1
            // 
            this.menuItem1.Index = 0;
            this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
            this.menuItem2,
            this.menuItem3,
            this.menuItem8,
            this.menuItem7});
            this.menuItem1.Text = "&File";
            // 
            // menuItem2
            // 
            this.menuItem2.Index = 0;
            this.menuItem2.Text = "&New...";
            this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
            // 
            // menuItem3
            // 
            this.menuItem3.Index = 1;
            this.menuItem3.Text = "&Close...";
            this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
            // 
            // menuItem8
            // 
            this.menuItem8.Index = 2;
            this.menuItem8.Text = "-";
            // 
            // menuItem7
            // 
            this.menuItem7.Index = 3;
            this.menuItem7.Text = "Exit";
            this.menuItem7.Click += new System.EventHandler(this.menuItem7_Click);
            // 
            // menuItem4
            // 
            this.menuItem4.Index = 1;
            this.menuItem4.MdiList = true;
            this.menuItem4.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
            this.menuItem5,
            this.menuItem6,
            this.menuItem9});
            this.menuItem4.Text = "&Window";
            // 
            // menuItem5
            // 
            this.menuItem5.Index = 0;
            this.menuItem5.Text = "Cascade";
            this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click);
            // 
            // menuItem6
            // 
            this.menuItem6.Index = 1;
            this.menuItem6.Text = "Tile Horizontally";
            this.menuItem6.Click += new System.EventHandler(this.menuItem6_Click);
            // 
            // menuItem9
            // 
            this.menuItem9.Index = 2;
            this.menuItem9.Text = "Tile Vertically";
            this.menuItem9.Click += new System.EventHandler(this.menuItem9_Click);
            // 
            // toolBar1
            // 
            this.toolBar1.DropDownArrows = true;
            this.toolBar1.Location = new System.Drawing.Point(0, 0);
            this.toolBar1.Name = "toolBar1";
            this.toolBar1.ShowToolTips = true;
            this.toolBar1.Size = new System.Drawing.Size(752, 42);
            this.toolBar1.TabIndex = 3;
            // 
            // 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(735, 28);
            this.axToolbarControl1.TabIndex = 8;
            // 
            // axLicenseControl1
            // 
            this.axLicenseControl1.Enabled = true;
            this.axLicenseControl1.Location = new System.Drawing.Point(286, 51);
            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 = 9;
            // 
            // Form1
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(752, 452);
            this.ControlBox = false;
            this.Controls.Add(this.axLicenseControl1);
            this.Controls.Add(this.axToolbarControl1);
            this.Controls.Add(this.toolBar1);
            this.IsMdiContainer = true;
            this.Menu = this.mainMenu1;
            this.Name = "Form1";
            this.Text = "MDI Application";
            this.MdiChildActivate += new System.EventHandler(this.Form1_MdiChildActivate);
            this.Load += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

		}
コード例 #8
0
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(VCT2MDBForm));
            this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
            this.textBox1 = new System.Windows.Forms.TextBox();
            this.textBox2 = new System.Windows.Forms.TextBox();
            this.button1 = new System.Windows.Forms.Button();
            this.button2 = new System.Windows.Forms.Button();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
            this.button3 = new System.Windows.Forms.Button();
            this.radioButton1 = new System.Windows.Forms.RadioButton();
            this.radioButton2 = new System.Windows.Forms.RadioButton();
            this.label3 = new System.Windows.Forms.Label();
            this.radioButton3 = new System.Windows.Forms.RadioButton();
            this.radioButton4 = new System.Windows.Forms.RadioButton();
            this.label4 = new System.Windows.Forms.Label();
            this.radioButton5 = new System.Windows.Forms.RadioButton();
            this.panel1 = new System.Windows.Forms.Panel();
            this.panel2 = new System.Windows.Forms.Panel();
            this.panel3 = new System.Windows.Forms.Panel();
            this.label5 = new System.Windows.Forms.Label();
            this.textBox3 = new System.Windows.Forms.TextBox();
            this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
            this.panel4 = new System.Windows.Forms.Panel();
            this.radioButton7 = new System.Windows.Forms.RadioButton();
            this.radioButton6 = new System.Windows.Forms.RadioButton();
            this.label6 = new System.Windows.Forms.Label();
            this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
            this.splitter1 = new System.Windows.Forms.Splitter();
            this.panel1.SuspendLayout();
            this.panel2.SuspendLayout();
            this.panel3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
            this.panel4.SuspendLayout();
            this.SuspendLayout();
            // 
            // openFileDialog1
            // 
            this.openFileDialog1.FileName = "openFileDialog1";
            // 
            // textBox1
            // 
            this.textBox1.AccessibleRole = System.Windows.Forms.AccessibleRole.None;
            this.textBox1.Location = new System.Drawing.Point(96, 238);
            this.textBox1.Name = "textBox1";
            this.textBox1.ReadOnly = true;
            this.textBox1.Size = new System.Drawing.Size(378, 21);
            this.textBox1.TabIndex = 0;
            // 
            // textBox2
            // 
            this.textBox2.Location = new System.Drawing.Point(96, 274);
            this.textBox2.Name = "textBox2";
            this.textBox2.ReadOnly = true;
            this.textBox2.Size = new System.Drawing.Size(378, 21);
            this.textBox2.TabIndex = 1;
            // 
            // button1
            // 
            this.button1.Location = new System.Drawing.Point(480, 236);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(75, 23);
            this.button1.TabIndex = 2;
            this.button1.Text = "浏览";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // button2
            // 
            this.button2.Location = new System.Drawing.Point(480, 273);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(75, 23);
            this.button2.TabIndex = 2;
            this.button2.Text = "浏览";
            this.button2.UseVisualStyleBackColor = true;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(15, 241);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(71, 12);
            this.label1.TabIndex = 3;
            this.label1.Text = "VCT文件路径";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(15, 278);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(77, 12);
            this.label2.TabIndex = 3;
            this.label2.Text = "输出文件路径";
            // 
            // button3
            // 
            this.button3.Location = new System.Drawing.Point(480, 308);
            this.button3.Name = "button3";
            this.button3.Size = new System.Drawing.Size(75, 23);
            this.button3.TabIndex = 4;
            this.button3.Text = "开始转换";
            this.button3.UseVisualStyleBackColor = true;
            this.button3.Click += new System.EventHandler(this.button3_Click);
            // 
            // radioButton1
            // 
            this.radioButton1.AutoSize = true;
            this.radioButton1.Checked = true;
            this.radioButton1.Location = new System.Drawing.Point(107, 16);
            this.radioButton1.Name = "radioButton1";
            this.radioButton1.Size = new System.Drawing.Size(65, 16);
            this.radioButton1.TabIndex = 5;
            this.radioButton1.TabStop = true;
            this.radioButton1.Text = "导入VCT";
            this.radioButton1.UseVisualStyleBackColor = true;
            // 
            // radioButton2
            // 
            this.radioButton2.AutoSize = true;
            this.radioButton2.Location = new System.Drawing.Point(197, 16);
            this.radioButton2.Name = "radioButton2";
            this.radioButton2.Size = new System.Drawing.Size(65, 16);
            this.radioButton2.TabIndex = 6;
            this.radioButton2.Text = "导出VCT";
            this.radioButton2.UseVisualStyleBackColor = true;
            this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged);
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(3, 19);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(65, 12);
            this.label3.TabIndex = 7;
            this.label3.Text = "转换方式:";
            // 
            // radioButton3
            // 
            this.radioButton3.AutoSize = true;
            this.radioButton3.Checked = true;
            this.radioButton3.Location = new System.Drawing.Point(108, 25);
            this.radioButton3.Name = "radioButton3";
            this.radioButton3.Size = new System.Drawing.Size(83, 16);
            this.radioButton3.TabIndex = 5;
            this.radioButton3.TabStop = true;
            this.radioButton3.Text = "乡镇级标准";
            this.radioButton3.UseVisualStyleBackColor = true;
            // 
            // radioButton4
            // 
            this.radioButton4.AutoSize = true;
            this.radioButton4.Location = new System.Drawing.Point(198, 25);
            this.radioButton4.Name = "radioButton4";
            this.radioButton4.Size = new System.Drawing.Size(71, 16);
            this.radioButton4.TabIndex = 6;
            this.radioButton4.Text = "县级标准";
            this.radioButton4.UseVisualStyleBackColor = true;
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(3, 27);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(65, 12);
            this.label4.TabIndex = 7;
            this.label4.Text = "转换标准:";
            // 
            // radioButton5
            // 
            this.radioButton5.AutoSize = true;
            this.radioButton5.Location = new System.Drawing.Point(282, 25);
            this.radioButton5.Name = "radioButton5";
            this.radioButton5.Size = new System.Drawing.Size(83, 16);
            this.radioButton5.TabIndex = 6;
            this.radioButton5.Text = "市地级标准";
            this.radioButton5.UseVisualStyleBackColor = true;
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.label3);
            this.panel1.Controls.Add(this.radioButton1);
            this.panel1.Controls.Add(this.radioButton2);
            this.panel1.Location = new System.Drawing.Point(18, 3);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(471, 46);
            this.panel1.TabIndex = 8;
            // 
            // panel2
            // 
            this.panel2.Controls.Add(this.label4);
            this.panel2.Controls.Add(this.radioButton3);
            this.panel2.Controls.Add(this.radioButton4);
            this.panel2.Controls.Add(this.radioButton5);
            this.panel2.Location = new System.Drawing.Point(18, 116);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(471, 59);
            this.panel2.TabIndex = 9;
            // 
            // panel3
            // 
            this.panel3.Controls.Add(this.label5);
            this.panel3.Controls.Add(this.textBox3);
            this.panel3.Location = new System.Drawing.Point(18, 181);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(471, 39);
            this.panel3.TabIndex = 10;
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(3, 15);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(71, 12);
            this.label5.TabIndex = 7;
            this.label5.Text = "数据集名称:";
            // 
            // textBox3
            // 
            this.textBox3.Location = new System.Drawing.Point(78, 9);
            this.textBox3.Name = "textBox3";
            this.textBox3.Size = new System.Drawing.Size(185, 21);
            this.textBox3.TabIndex = 0;
            // 
            // axLicenseControl1
            // 
            this.axLicenseControl1.Enabled = true;
            this.axLicenseControl1.Location = new System.Drawing.Point(475, 116);
            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 = 11;
            // 
            // panel4
            // 
            this.panel4.Controls.Add(this.radioButton7);
            this.panel4.Controls.Add(this.radioButton6);
            this.panel4.Controls.Add(this.label6);
            this.panel4.Location = new System.Drawing.Point(18, 60);
            this.panel4.Name = "panel4";
            this.panel4.Size = new System.Drawing.Size(471, 42);
            this.panel4.TabIndex = 12;
            // 
            // radioButton7
            // 
            this.radioButton7.AutoSize = true;
            this.radioButton7.Location = new System.Drawing.Point(198, 13);
            this.radioButton7.Name = "radioButton7";
            this.radioButton7.Size = new System.Drawing.Size(47, 16);
            this.radioButton7.TabIndex = 1;
            this.radioButton7.Text = "FGDB";
            this.radioButton7.UseVisualStyleBackColor = true;
            this.radioButton7.CheckedChanged += new System.EventHandler(this.radioButton7_CheckedChanged);
            // 
            // radioButton6
            // 
            this.radioButton6.AutoSize = true;
            this.radioButton6.Checked = true;
            this.radioButton6.Location = new System.Drawing.Point(108, 13);
            this.radioButton6.Name = "radioButton6";
            this.radioButton6.Size = new System.Drawing.Size(41, 16);
            this.radioButton6.TabIndex = 1;
            this.radioButton6.TabStop = true;
            this.radioButton6.Text = "MDB";
            this.radioButton6.UseVisualStyleBackColor = true;
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(3, 15);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(83, 12);
            this.label6.TabIndex = 0;
            this.label6.Text = "转出格式选择:";
            // 
            // splitter1
            // 
            this.splitter1.Location = new System.Drawing.Point(0, 0);
            this.splitter1.Name = "splitter1";
            this.splitter1.Size = new System.Drawing.Size(3, 353);
            this.splitter1.TabIndex = 13;
            this.splitter1.TabStop = false;
            // 
            // VCT2MDBForm
            // 
            this.ClientSize = new System.Drawing.Size(577, 353);
            this.Controls.Add(this.splitter1);
            this.Controls.Add(this.panel4);
            this.Controls.Add(this.axLicenseControl1);
            this.Controls.Add(this.panel3);
            this.Controls.Add(this.panel2);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.button3);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.button2);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.textBox2);
            this.Controls.Add(this.textBox1);
            this.Name = "VCT2MDBForm";
            this.Text = "VCT转MDB";
            this.Load += new System.EventHandler(this.VCT2MDBForm_Load);
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.panel2.ResumeLayout(false);
            this.panel2.PerformLayout();
            this.panel3.ResumeLayout(false);
            this.panel3.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
            this.panel4.ResumeLayout(false);
            this.panel4.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #9
0
		/// <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(frmMain));
            this.txtPath = new System.Windows.Forms.TextBox();
            this.cmdLoadDoc = new System.Windows.Forms.Button();
            this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
            this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl();
            this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
            ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
            this.SuspendLayout();
            // 
            // txtPath
            // 
            this.txtPath.Enabled = false;
            this.txtPath.Location = new System.Drawing.Point(8, 40);
            this.txtPath.Name = "txtPath";
            this.txtPath.Size = new System.Drawing.Size(352, 20);
            this.txtPath.TabIndex = 1;
            // 
            // cmdLoadDoc
            // 
            this.cmdLoadDoc.Location = new System.Drawing.Point(232, 8);
            this.cmdLoadDoc.Name = "cmdLoadDoc";
            this.cmdLoadDoc.Size = new System.Drawing.Size(128, 24);
            this.cmdLoadDoc.TabIndex = 2;
            this.cmdLoadDoc.Text = "Load Map Document";
            this.cmdLoadDoc.Click += new System.EventHandler(this.cmdLoadDoc_Click);
            // 
            // axPageLayoutControl1
            // 
            this.axPageLayoutControl1.Location = new System.Drawing.Point(8, 64);
            this.axPageLayoutControl1.Name = "axPageLayoutControl1";
            this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState")));
            this.axPageLayoutControl1.Size = new System.Drawing.Size(352, 368);
            this.axPageLayoutControl1.TabIndex = 3;
            // 
            // axLicenseControl1
            // 
            this.axLicenseControl1.Enabled = true;
            this.axLicenseControl1.Location = new System.Drawing.Point(8, 2);
            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 = 4;
            // 
            // frmMain
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(368, 438);
            this.Controls.Add(this.axLicenseControl1);
            this.Controls.Add(this.axPageLayoutControl1);
            this.Controls.Add(this.cmdLoadDoc);
            this.Controls.Add(this.txtPath);
            this.Name = "frmMain";
            this.Text = "Load Map Document";
            ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

		}
コード例 #10
0
ファイル: frmSymbology.designer.cs プロジェクト: lovelll/DQHP
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSymbology));
     this.axSymbologyControl = new ESRI.ArcGIS.Controls.AxSymbologyControl();
     this.SymbolPictureBox = new System.Windows.Forms.PictureBox();
     this.btnOK = new System.Windows.Forms.Button();
     this.btnCencel = new System.Windows.Forms.Button();
     this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
     ((System.ComponentModel.ISupportInitialize)(this.axSymbologyControl)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.SymbolPictureBox)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     this.SuspendLayout();
     //
     // axSymbologyControl
     //
     this.axSymbologyControl.Dock = System.Windows.Forms.DockStyle.Left;
     this.axSymbologyControl.Location = new System.Drawing.Point(0, 0);
     this.axSymbologyControl.Name = "axSymbologyControl";
     this.axSymbologyControl.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axSymbologyControl.OcxState")));
     this.axSymbologyControl.Size = new System.Drawing.Size(300, 316);
     this.axSymbologyControl.TabIndex = 0;
     this.axSymbologyControl.OnItemSelected += new ESRI.ArcGIS.Controls.ISymbologyControlEvents_Ax_OnItemSelectedEventHandler(this.axSymbologyControl_OnItemSelected);
     //
     // SymbolPictureBox
     //
     this.SymbolPictureBox.Location = new System.Drawing.Point(311, 12);
     this.SymbolPictureBox.Name = "SymbolPictureBox";
     this.SymbolPictureBox.Size = new System.Drawing.Size(119, 50);
     this.SymbolPictureBox.TabIndex = 1;
     this.SymbolPictureBox.TabStop = false;
     //
     // btnOK
     //
     this.btnOK.Location = new System.Drawing.Point(332, 242);
     this.btnOK.Name = "btnOK";
     this.btnOK.Size = new System.Drawing.Size(75, 23);
     this.btnOK.TabIndex = 2;
     this.btnOK.Text = "确定";
     this.btnOK.UseVisualStyleBackColor = true;
     this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
     //
     // btnCencel
     //
     this.btnCencel.Location = new System.Drawing.Point(332, 271);
     this.btnCencel.Name = "btnCencel";
     this.btnCencel.Size = new System.Drawing.Size(75, 23);
     this.btnCencel.TabIndex = 3;
     this.btnCencel.Text = "取消";
     this.btnCencel.UseVisualStyleBackColor = true;
     this.btnCencel.Click += new System.EventHandler(this.btnCencel_Click);
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(167, 101);
     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 = 4;
     //
     // SymbolForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(442, 316);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.btnCencel);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.SymbolPictureBox);
     this.Controls.Add(this.axSymbologyControl);
     this.Name = "SymbolForm";
     this.Text = "SymbolForm";
     this.Load += new System.EventHandler(this.SymbolForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.axSymbologyControl)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.SymbolPictureBox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #11
0
		/// <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(CADView));
			this.CmdFullExtent = new System.Windows.Forms.Button();
			this.Label2 = new System.Windows.Forms.Label();
			this.Label1 = new System.Windows.Forms.Label();
			this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl();
			this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
			((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
			this.SuspendLayout();
			// 
			// 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(8, 328);
			this.CmdFullExtent.Name = "CmdFullExtent";
			this.CmdFullExtent.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.CmdFullExtent.Size = new System.Drawing.Size(97, 33);
			this.CmdFullExtent.TabIndex = 4;
			this.CmdFullExtent.Text = "Full Extent";
			this.CmdFullExtent.Click += new System.EventHandler(this.CmdFullExtent_Click);
			// 
			// Label2
			// 
			this.Label2.BackColor = System.Drawing.SystemColors.Control;
			this.Label2.Cursor = System.Windows.Forms.Cursors.Default;
			this.Label2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.Label2.ForeColor = System.Drawing.SystemColors.ControlText;
			this.Label2.Location = new System.Drawing.Point(112, 344);
			this.Label2.Name = "Label2";
			this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Label2.Size = new System.Drawing.Size(401, 17);
			this.Label2.TabIndex = 6;
			this.Label2.Text = "Right mouse button to pan.";
			// 
			// Label1
			// 
			this.Label1.BackColor = System.Drawing.SystemColors.Control;
			this.Label1.Cursor = System.Windows.Forms.Cursors.Default;
			this.Label1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.Label1.ForeColor = System.Drawing.SystemColors.ControlText;
			this.Label1.Location = new System.Drawing.Point(112, 328);
			this.Label1.Name = "Label1";
			this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Label1.Size = new System.Drawing.Size(401, 17);
			this.Label1.TabIndex = 5;
			this.Label1.Text = "Left mouse button to drag a rectangle to zoom in.";
			// 
			// axMapControl1
			// 
			this.axMapControl1.Location = new System.Drawing.Point(8, 8);
			this.axMapControl1.Name = "axMapControl1";
			this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState")));
			this.axMapControl1.Size = new System.Drawing.Size(576, 312);
			this.axMapControl1.TabIndex = 7;
			this.axMapControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseDownEventHandler(this.axMapControl1_OnMouseDown);
			// 
			// axLicenseControl1
			// 
			this.axLicenseControl1.Enabled = true;
			this.axLicenseControl1.Location = new System.Drawing.Point(24, 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 = 8;
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(592, 366);
			this.Controls.Add(this.axLicenseControl1);
			this.Controls.Add(this.axMapControl1);
			this.Controls.Add(this.CmdFullExtent);
			this.Controls.Add(this.Label2);
			this.Controls.Add(this.Label1);
			this.Name = "Form1";
			this.Text = "MapControl CAD Viewer";
			this.Load += new System.EventHandler(this.Form1_Load);
			((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
			this.ResumeLayout(false);

		}
コード例 #12
0
 /// <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(Form1));
     this.axToolbarControl1    = new ESRI.ArcGIS.Controls.AxToolbarControl();
     this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl();
     this.comboBox1            = new System.Windows.Forms.ComboBox();
     this.button1           = new System.Windows.Forms.Button();
     this.axTOCControl1     = new ESRI.ArcGIS.Controls.AxTOCControl();
     this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     this.SuspendLayout();
     //
     // 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(392, 28);
     this.axToolbarControl1.TabIndex = 0;
     //
     // axPageLayoutControl1
     //
     this.axPageLayoutControl1.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.axPageLayoutControl1.Location              = new System.Drawing.Point(192, 40);
     this.axPageLayoutControl1.Name                  = "axPageLayoutControl1";
     this.axPageLayoutControl1.OcxState              = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState")));
     this.axPageLayoutControl1.Size                  = new System.Drawing.Size(464, 384);
     this.axPageLayoutControl1.TabIndex              = 1;
     this.axPageLayoutControl1.OnPageLayoutReplaced += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnPageLayoutReplacedEventHandler(this.axPageLayoutControl1_OnPageLayoutReplaced);
     //
     // comboBox1
     //
     this.comboBox1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBox1.Location = new System.Drawing.Point(408, 8);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(121, 21);
     this.comboBox1.TabIndex = 3;
     this.comboBox1.Text     = "comboBox1";
     //
     // button1
     //
     this.button1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Location = new System.Drawing.Point(536, 8);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(120, 23);
     this.button1.TabIndex = 4;
     this.button1.Text     = "Change Color Ramp";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // axTOCControl1
     //
     this.axTOCControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)));
     this.axTOCControl1.Location = new System.Drawing.Point(8, 40);
     this.axTOCControl1.Name     = "axTOCControl1";
     this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState")));
     this.axTOCControl1.Size     = new System.Drawing.Size(176, 384);
     this.axTOCControl1.TabIndex = 5;
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(176, 216);
     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 = 6;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(664, 430);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.axTOCControl1);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.axPageLayoutControl1);
     this.Controls.Add(this.axToolbarControl1);
     this.Name  = "Form1";
     this.Text  = "Color Ramps";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #13
0
		/// <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(Effects));
			this.Frame2_1 = new System.Windows.Forms.GroupBox();
			this.lblDelay = new System.Windows.Forms.Label();
			this.TxtTipDelay = new System.Windows.Forms.TextBox();
			this.cmbTipType = new System.Windows.Forms.ComboBox();
			this.ChkHUD = new System.Windows.Forms.CheckBox();
			this.ChkArrow = new System.Windows.Forms.CheckBox();
			this.ChkTip = new System.Windows.Forms.CheckBox();
			this.LblTips = new System.Windows.Forms.Label();
			this.Frame2 = new System.Windows.Forms.GroupBox();
			this.lblLatVal = new System.Windows.Forms.Label();
			this.LblLonVal = new System.Windows.Forms.Label();
			this.LblAltVal = new System.Windows.Forms.Label();
			this.LblLat = new System.Windows.Forms.Label();
			this.LblLon = new System.Windows.Forms.Label();
			this.LblALt = new System.Windows.Forms.Label();
			this._Frame2_0 = new System.Windows.Forms.GroupBox();
			this.CmdAmbient = new System.Windows.Forms.Button();
			this.TxtAmbient = new System.Windows.Forms.TextBox();
			this.CmdSetSun = new System.Windows.Forms.Button();
			this.chkSun = new System.Windows.Forms.CheckBox();
			this.Label2 = new System.Windows.Forms.Label();
			this.colorDialog1 = new System.Windows.Forms.ColorDialog();
			this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
			this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl();
			this.axGlobeControl1 = new ESRI.ArcGIS.Controls.AxGlobeControl();
			this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
			this.Frame2_1.SuspendLayout();
			this.Frame2.SuspendLayout();
			this._Frame2_0.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.axGlobeControl1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
			this.SuspendLayout();
			// 
			// Frame2_1
			// 
			this.Frame2_1.BackColor = System.Drawing.SystemColors.Control;
			this.Frame2_1.Controls.Add(this.lblDelay);
			this.Frame2_1.Controls.Add(this.TxtTipDelay);
			this.Frame2_1.Controls.Add(this.cmbTipType);
			this.Frame2_1.Controls.Add(this.ChkHUD);
			this.Frame2_1.Controls.Add(this.ChkArrow);
			this.Frame2_1.Controls.Add(this.ChkTip);
			this.Frame2_1.Controls.Add(this.LblTips);
			this.Frame2_1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.Frame2_1.ForeColor = System.Drawing.SystemColors.ControlText;
			this.Frame2_1.Location = new System.Drawing.Point(256, 376);
			this.Frame2_1.Name = "Frame2_1";
			this.Frame2_1.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Frame2_1.Size = new System.Drawing.Size(224, 69);
			this.Frame2_1.TabIndex = 16;
			this.Frame2_1.TabStop = false;
			this.Frame2_1.Text = "HUD";
			// 
			// lblDelay
			// 
			this.lblDelay.BackColor = System.Drawing.SystemColors.Control;
			this.lblDelay.Cursor = System.Windows.Forms.Cursors.Default;
			this.lblDelay.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.lblDelay.ForeColor = System.Drawing.SystemColors.ControlText;
			this.lblDelay.Location = new System.Drawing.Point(136, 9);
			this.lblDelay.Name = "lblDelay";
			this.lblDelay.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.lblDelay.Size = new System.Drawing.Size(72, 13);
			this.lblDelay.TabIndex = 18;
			this.lblDelay.Text = "Delay(mSec.)";
			// 
			// TxtTipDelay
			// 
			this.TxtTipDelay.AcceptsReturn = true;
			this.TxtTipDelay.AutoSize = false;
			this.TxtTipDelay.BackColor = System.Drawing.SystemColors.Window;
			this.TxtTipDelay.Cursor = System.Windows.Forms.Cursors.IBeam;
			this.TxtTipDelay.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.TxtTipDelay.ForeColor = System.Drawing.SystemColors.WindowText;
			this.TxtTipDelay.Location = new System.Drawing.Point(160, 24);
			this.TxtTipDelay.MaxLength = 0;
			this.TxtTipDelay.Name = "TxtTipDelay";
			this.TxtTipDelay.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.TxtTipDelay.Size = new System.Drawing.Size(48, 15);
			this.TxtTipDelay.TabIndex = 16;
			this.TxtTipDelay.Text = "500";
			// 
			// cmbTipType
			// 
			this.cmbTipType.BackColor = System.Drawing.SystemColors.Window;
			this.cmbTipType.Cursor = System.Windows.Forms.Cursors.Default;
			this.cmbTipType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.cmbTipType.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.cmbTipType.ForeColor = System.Drawing.SystemColors.WindowText;
			this.cmbTipType.Location = new System.Drawing.Point(69, 42);
			this.cmbTipType.Name = "cmbTipType";
			this.cmbTipType.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.cmbTipType.Size = new System.Drawing.Size(139, 22);
			this.cmbTipType.TabIndex = 17;
			this.cmbTipType.SelectedIndexChanged += new System.EventHandler(this.cmbTipType_SelectedIndexChanged);
			// 
			// ChkHUD
			// 
			this.ChkHUD.BackColor = System.Drawing.SystemColors.Control;
			this.ChkHUD.Cursor = System.Windows.Forms.Cursors.Default;
			this.ChkHUD.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.ChkHUD.ForeColor = System.Drawing.SystemColors.ControlText;
			this.ChkHUD.Location = new System.Drawing.Point(13, 19);
			this.ChkHUD.Name = "ChkHUD";
			this.ChkHUD.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.ChkHUD.Size = new System.Drawing.Size(51, 16);
			this.ChkHUD.TabIndex = 15;
			this.ChkHUD.Text = "HUD";
			this.ChkHUD.CheckedChanged += new System.EventHandler(this.ChkHUD_CheckedChanged);
			// 
			// ChkArrow
			// 
			this.ChkArrow.BackColor = System.Drawing.SystemColors.Control;
			this.ChkArrow.Cursor = System.Windows.Forms.Cursors.Default;
			this.ChkArrow.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.ChkArrow.ForeColor = System.Drawing.SystemColors.ControlText;
			this.ChkArrow.Location = new System.Drawing.Point(13, 33);
			this.ChkArrow.Name = "ChkArrow";
			this.ChkArrow.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.ChkArrow.Size = new System.Drawing.Size(59, 31);
			this.ChkArrow.TabIndex = 14;
			this.ChkArrow.Text = "North Arrow";
			this.ChkArrow.CheckedChanged += new System.EventHandler(this.ChkArrow_CheckedChanged);
			// 
			// ChkTip
			// 
			this.ChkTip.BackColor = System.Drawing.SystemColors.Control;
			this.ChkTip.Cursor = System.Windows.Forms.Cursors.Default;
			this.ChkTip.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.ChkTip.ForeColor = System.Drawing.SystemColors.ControlText;
			this.ChkTip.Location = new System.Drawing.Point(69, 25);
			this.ChkTip.Name = "ChkTip";
			this.ChkTip.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.ChkTip.Size = new System.Drawing.Size(14, 15);
			this.ChkTip.TabIndex = 20;
			this.ChkTip.Text = "Check1";
			this.ChkTip.CheckedChanged += new System.EventHandler(this.ChkTip_CheckedChanged);
			// 
			// LblTips
			// 
			this.LblTips.BackColor = System.Drawing.SystemColors.Control;
			this.LblTips.Cursor = System.Windows.Forms.Cursors.Default;
			this.LblTips.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.LblTips.ForeColor = System.Drawing.SystemColors.ControlText;
			this.LblTips.Location = new System.Drawing.Point(84, 16);
			this.LblTips.Name = "LblTips";
			this.LblTips.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.LblTips.Size = new System.Drawing.Size(58, 28);
			this.LblTips.TabIndex = 19;
			this.LblTips.Text = "Enable Globe Tips";
			// 
			// Frame2
			// 
			this.Frame2.BackColor = System.Drawing.SystemColors.Control;
			this.Frame2.Controls.Add(this.lblLatVal);
			this.Frame2.Controls.Add(this.LblLonVal);
			this.Frame2.Controls.Add(this.LblAltVal);
			this.Frame2.Controls.Add(this.LblLat);
			this.Frame2.Controls.Add(this.LblLon);
			this.Frame2.Controls.Add(this.LblALt);
			this.Frame2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.Frame2.ForeColor = System.Drawing.SystemColors.ControlText;
			this.Frame2.Location = new System.Drawing.Point(488, 376);
			this.Frame2.Name = "Frame2";
			this.Frame2.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Frame2.Size = new System.Drawing.Size(236, 69);
			this.Frame2.TabIndex = 15;
			this.Frame2.TabStop = false;
			this.Frame2.Text = "Alternate HUD";
			// 
			// lblLatVal
			// 
			this.lblLatVal.BackColor = System.Drawing.SystemColors.Control;
			this.lblLatVal.Cursor = System.Windows.Forms.Cursors.Default;
			this.lblLatVal.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.lblLatVal.ForeColor = System.Drawing.SystemColors.ControlText;
			this.lblLatVal.Location = new System.Drawing.Point(33, 30);
			this.lblLatVal.Name = "lblLatVal";
			this.lblLatVal.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.lblLatVal.Size = new System.Drawing.Size(86, 13);
			this.lblLatVal.TabIndex = 9;
			this.lblLatVal.Text = "lblLatVal";
			// 
			// LblLonVal
			// 
			this.LblLonVal.BackColor = System.Drawing.SystemColors.Control;
			this.LblLonVal.Cursor = System.Windows.Forms.Cursors.Default;
			this.LblLonVal.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.LblLonVal.ForeColor = System.Drawing.SystemColors.ControlText;
			this.LblLonVal.Location = new System.Drawing.Point(33, 45);
			this.LblLonVal.Name = "LblLonVal";
			this.LblLonVal.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.LblLonVal.Size = new System.Drawing.Size(86, 13);
			this.LblLonVal.TabIndex = 7;
			this.LblLonVal.Text = "LblLonVal";
			// 
			// LblAltVal
			// 
			this.LblAltVal.BackColor = System.Drawing.SystemColors.Control;
			this.LblAltVal.Cursor = System.Windows.Forms.Cursors.Default;
			this.LblAltVal.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.LblAltVal.ForeColor = System.Drawing.SystemColors.ControlText;
			this.LblAltVal.Location = new System.Drawing.Point(134, 44);
			this.LblAltVal.Name = "LblAltVal";
			this.LblAltVal.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.LblAltVal.Size = new System.Drawing.Size(86, 11);
			this.LblAltVal.TabIndex = 8;
			this.LblAltVal.Text = "LblAltVal";
			// 
			// LblLat
			// 
			this.LblLat.BackColor = System.Drawing.SystemColors.Control;
			this.LblLat.Cursor = System.Windows.Forms.Cursors.Default;
			this.LblLat.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.LblLat.ForeColor = System.Drawing.SystemColors.ControlText;
			this.LblLat.Location = new System.Drawing.Point(8, 32);
			this.LblLat.Name = "LblLat";
			this.LblLat.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.LblLat.Size = new System.Drawing.Size(24, 15);
			this.LblLat.TabIndex = 12;
			this.LblLat.Text = "Lat:";
			// 
			// LblLon
			// 
			this.LblLon.BackColor = System.Drawing.SystemColors.Control;
			this.LblLon.Cursor = System.Windows.Forms.Cursors.Default;
			this.LblLon.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.LblLon.ForeColor = System.Drawing.SystemColors.ControlText;
			this.LblLon.Location = new System.Drawing.Point(9, 46);
			this.LblLon.Name = "LblLon";
			this.LblLon.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.LblLon.Size = new System.Drawing.Size(27, 16);
			this.LblLon.TabIndex = 11;
			this.LblLon.Text = "Lon:";
			// 
			// LblALt
			// 
			this.LblALt.BackColor = System.Drawing.SystemColors.Control;
			this.LblALt.Cursor = System.Windows.Forms.Cursors.Default;
			this.LblALt.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.LblALt.ForeColor = System.Drawing.SystemColors.ControlText;
			this.LblALt.Location = new System.Drawing.Point(133, 23);
			this.LblALt.Name = "LblALt";
			this.LblALt.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.LblALt.Size = new System.Drawing.Size(83, 19);
			this.LblALt.TabIndex = 10;
			this.LblALt.Text = "Alt (in Kms.)";
			// 
			// _Frame2_0
			// 
			this._Frame2_0.BackColor = System.Drawing.SystemColors.Control;
			this._Frame2_0.Controls.Add(this.CmdAmbient);
			this._Frame2_0.Controls.Add(this.TxtAmbient);
			this._Frame2_0.Controls.Add(this.CmdSetSun);
			this._Frame2_0.Controls.Add(this.chkSun);
			this._Frame2_0.Controls.Add(this.Label2);
			this._Frame2_0.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this._Frame2_0.ForeColor = System.Drawing.SystemColors.ControlText;
			this._Frame2_0.Location = new System.Drawing.Point(8, 376);
			this._Frame2_0.Name = "_Frame2_0";
			this._Frame2_0.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this._Frame2_0.Size = new System.Drawing.Size(236, 69);
			this._Frame2_0.TabIndex = 14;
			this._Frame2_0.TabStop = false;
			this._Frame2_0.Text = "Sun and Ambient Light Prop";
			// 
			// CmdAmbient
			// 
			this.CmdAmbient.BackColor = System.Drawing.SystemColors.Control;
			this.CmdAmbient.Cursor = System.Windows.Forms.Cursors.Default;
			this.CmdAmbient.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.CmdAmbient.ForeColor = System.Drawing.SystemColors.ControlText;
			this.CmdAmbient.Location = new System.Drawing.Point(10, 43);
			this.CmdAmbient.Name = "CmdAmbient";
			this.CmdAmbient.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.CmdAmbient.Size = new System.Drawing.Size(78, 22);
			this.CmdAmbient.TabIndex = 4;
			this.CmdAmbient.Text = "Set Ambient";
			this.CmdAmbient.Click += new System.EventHandler(this.CmdAmbient_Click);
			// 
			// TxtAmbient
			// 
			this.TxtAmbient.AcceptsReturn = true;
			this.TxtAmbient.AutoSize = false;
			this.TxtAmbient.BackColor = System.Drawing.SystemColors.Window;
			this.TxtAmbient.Cursor = System.Windows.Forms.Cursors.IBeam;
			this.TxtAmbient.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.TxtAmbient.ForeColor = System.Drawing.SystemColors.WindowText;
			this.TxtAmbient.Location = new System.Drawing.Point(168, 45);
			this.TxtAmbient.MaxLength = 0;
			this.TxtAmbient.Name = "TxtAmbient";
			this.TxtAmbient.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.TxtAmbient.Size = new System.Drawing.Size(48, 20);
			this.TxtAmbient.TabIndex = 3;
			this.TxtAmbient.Text = "";
			// 
			// CmdSetSun
			// 
			this.CmdSetSun.BackColor = System.Drawing.SystemColors.Control;
			this.CmdSetSun.Cursor = System.Windows.Forms.Cursors.Default;
			this.CmdSetSun.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.CmdSetSun.ForeColor = System.Drawing.SystemColors.ControlText;
			this.CmdSetSun.Location = new System.Drawing.Point(144, 15);
			this.CmdSetSun.Name = "CmdSetSun";
			this.CmdSetSun.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.CmdSetSun.Size = new System.Drawing.Size(80, 20);
			this.CmdSetSun.TabIndex = 2;
			this.CmdSetSun.Text = "Set Sun Color";
			this.CmdSetSun.Click += new System.EventHandler(this.CmdSetSun_Click);
			// 
			// chkSun
			// 
			this.chkSun.BackColor = System.Drawing.SystemColors.Control;
			this.chkSun.Cursor = System.Windows.Forms.Cursors.Default;
			this.chkSun.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.chkSun.ForeColor = System.Drawing.SystemColors.ControlText;
			this.chkSun.Location = new System.Drawing.Point(15, 17);
			this.chkSun.Name = "chkSun";
			this.chkSun.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.chkSun.Size = new System.Drawing.Size(81, 22);
			this.chkSun.TabIndex = 1;
			this.chkSun.Text = "Enable Sun";
			this.chkSun.CheckedChanged += new System.EventHandler(this.chkSun_CheckedChanged);
			// 
			// Label2
			// 
			this.Label2.BackColor = System.Drawing.SystemColors.Control;
			this.Label2.Cursor = System.Windows.Forms.Cursors.Default;
			this.Label2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.Label2.ForeColor = System.Drawing.SystemColors.ControlText;
			this.Label2.Location = new System.Drawing.Point(96, 48);
			this.Label2.Name = "Label2";
			this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Label2.Size = new System.Drawing.Size(64, 16);
			this.Label2.TabIndex = 5;
			this.Label2.Text = "Values  0 -1";
			// 
			// 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(720, 28);
			this.axToolbarControl1.TabIndex = 17;
			// 
			// axTOCControl1
			// 
			this.axTOCControl1.Location = new System.Drawing.Point(8, 40);
			this.axTOCControl1.Name = "axTOCControl1";
			this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState")));
			this.axTOCControl1.Size = new System.Drawing.Size(192, 328);
			this.axTOCControl1.TabIndex = 18;
			// 
			// axGlobeControl1
			// 
			this.axGlobeControl1.Location = new System.Drawing.Point(208, 40);
			this.axGlobeControl1.Name = "axGlobeControl1";
			this.axGlobeControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axGlobeControl1.OcxState")));
			this.axGlobeControl1.Size = new System.Drawing.Size(520, 328);
			this.axGlobeControl1.TabIndex = 19;
			this.axGlobeControl1.OnGlobeReplaced += new ESRI.ArcGIS.Controls.IGlobeControlEvents_Ax_OnGlobeReplacedEventHandler(this.axGlobeControl1_OnGlobeReplaced);
			// 
			// axLicenseControl1
			// 
			this.axLicenseControl1.Enabled = true;
			this.axLicenseControl1.Location = new System.Drawing.Point(512, 56);
			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 = 20;
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(736, 454);
			this.Controls.Add(this.axLicenseControl1);
			this.Controls.Add(this.axGlobeControl1);
			this.Controls.Add(this.axTOCControl1);
			this.Controls.Add(this.axToolbarControl1);
			this.Controls.Add(this.Frame2_1);
			this.Controls.Add(this.Frame2);
			this.Controls.Add(this._Frame2_0);
			this.Name = "Form1";
			this.Text = "GlobeControl";
			this.Load += new System.EventHandler(this.Form1_Load);
			this.Frame2_1.ResumeLayout(false);
			this.Frame2.ResumeLayout(false);
			this._Frame2_0.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.axGlobeControl1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
			this.ResumeLayout(false);

		}
コード例 #14
0
 /// <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(CADView));
     this.CmdFullExtent     = new System.Windows.Forms.Button();
     this.Label2            = new System.Windows.Forms.Label();
     this.Label1            = new System.Windows.Forms.Label();
     this.axMapControl1     = new ESRI.ArcGIS.Controls.AxMapControl();
     this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     this.SuspendLayout();
     //
     // 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(8, 328);
     this.CmdFullExtent.Name        = "CmdFullExtent";
     this.CmdFullExtent.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.CmdFullExtent.Size        = new System.Drawing.Size(97, 33);
     this.CmdFullExtent.TabIndex    = 4;
     this.CmdFullExtent.Text        = "Full Extent";
     this.CmdFullExtent.Click      += new System.EventHandler(this.CmdFullExtent_Click);
     //
     // Label2
     //
     this.Label2.BackColor   = System.Drawing.SystemColors.Control;
     this.Label2.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label2.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label2.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label2.Location    = new System.Drawing.Point(112, 344);
     this.Label2.Name        = "Label2";
     this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label2.Size        = new System.Drawing.Size(401, 17);
     this.Label2.TabIndex    = 6;
     this.Label2.Text        = "Right mouse button to pan.";
     //
     // Label1
     //
     this.Label1.BackColor   = System.Drawing.SystemColors.Control;
     this.Label1.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label1.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label1.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label1.Location    = new System.Drawing.Point(112, 328);
     this.Label1.Name        = "Label1";
     this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label1.Size        = new System.Drawing.Size(401, 17);
     this.Label1.TabIndex    = 5;
     this.Label1.Text        = "Left mouse button to drag a rectangle to zoom in.";
     //
     // axMapControl1
     //
     this.axMapControl1.Location     = new System.Drawing.Point(8, 8);
     this.axMapControl1.Name         = "axMapControl1";
     this.axMapControl1.OcxState     = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState")));
     this.axMapControl1.Size         = new System.Drawing.Size(576, 312);
     this.axMapControl1.TabIndex     = 7;
     this.axMapControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseDownEventHandler(this.axMapControl1_OnMouseDown);
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(24, 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 = 8;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(592, 366);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.axMapControl1);
     this.Controls.Add(this.CmdFullExtent);
     this.Controls.Add(this.Label2);
     this.Controls.Add(this.Label1);
     this.Name  = "Form1";
     this.Text  = "MapControl CAD Viewer";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #15
0
ファイル: frmMain.designer.cs プロジェクト: lovelll/DQHP
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
     this.button1 = new System.Windows.Forms.Button();
     this.button2 = new System.Windows.Forms.Button();
     this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl();
     this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
     this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(93, 3);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(75, 28);
     this.button1.TabIndex = 3;
     this.button1.Text = "渲染";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(3, 3);
     this.button2.Name = "button2";
     this.button2.Size = new System.Drawing.Size(75, 28);
     this.button2.TabIndex = 3;
     this.button2.Text = "添加栅格";
     this.button2.UseVisualStyleBackColor = true;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // axMapControl1
     //
     this.axMapControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.axMapControl1.Location = new System.Drawing.Point(0, 0);
     this.axMapControl1.Name = "axMapControl1";
     this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState")));
     this.axMapControl1.Size = new System.Drawing.Size(707, 482);
     this.axMapControl1.TabIndex = 25;
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(76, 118);
     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 = 26;
     //
     // axTOCControl1
     //
     this.axTOCControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.axTOCControl1.Location = new System.Drawing.Point(0, 0);
     this.axTOCControl1.Name = "axTOCControl1";
     this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState")));
     this.axTOCControl1.Size = new System.Drawing.Size(182, 437);
     this.axTOCControl1.TabIndex = 27;
     //
     // 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.splitContainer2);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.axLicenseControl1);
     this.splitContainer1.Panel2.Controls.Add(this.axMapControl1);
     this.splitContainer1.Size = new System.Drawing.Size(893, 482);
     this.splitContainer1.SplitterDistance = 182;
     this.splitContainer1.TabIndex = 28;
     //
     // splitContainer2
     //
     this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer2.Location = new System.Drawing.Point(0, 0);
     this.splitContainer2.Name = "splitContainer2";
     this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer2.Panel1
     //
     this.splitContainer2.Panel1.Controls.Add(this.button2);
     this.splitContainer2.Panel1.Controls.Add(this.button1);
     //
     // splitContainer2.Panel2
     //
     this.splitContainer2.Panel2.Controls.Add(this.axTOCControl1);
     this.splitContainer2.Size = new System.Drawing.Size(182, 482);
     this.splitContainer2.SplitterDistance = 41;
     this.splitContainer2.TabIndex = 29;
     //
     // frmMain
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(893, 482);
     this.Controls.Add(this.splitContainer1);
     this.Name = "frmMain";
     this.Text = "frmMain";
     this.Load += new System.EventHandler(this.frmMain_Load);
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.ResumeLayout(false);
     this.splitContainer2.Panel1.ResumeLayout(false);
     this.splitContainer2.Panel2.ResumeLayout(false);
     this.splitContainer2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #16
0
		/// <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.chkDragDrop = new System.Windows.Forms.CheckBox();
            this.Label6 = new System.Windows.Forms.Label();
            this.Label5 = new System.Windows.Forms.Label();
            this.Label2 = new System.Windows.Forms.Label();
            this.Label4 = new System.Windows.Forms.Label();
            this.Label3 = new System.Windows.Forms.Label();
            this.Label1 = new System.Windows.Forms.Label();
            this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
            this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl();
            this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl();
            this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
            ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
            this.SuspendLayout();
            // 
            // chkDragDrop
            // 
            this.chkDragDrop.Location = new System.Drawing.Point(432, 16);
            this.chkDragDrop.Name = "chkDragDrop";
            this.chkDragDrop.Size = new System.Drawing.Size(168, 16);
            this.chkDragDrop.TabIndex = 5;
            this.chkDragDrop.Text = "Layer Drag and Drop";
            this.chkDragDrop.Click += new System.EventHandler(this.chkDragDrop_Click);
            // 
            // Label6
            // 
            this.Label6.Location = new System.Drawing.Point(432, 234);
            this.Label6.Name = "Label6";
            this.Label6.Size = new System.Drawing.Size(184, 56);
            this.Label6.TabIndex = 16;
            this.Label6.Text = "6) Move a layer into the new map by dragging and dropping a layer whilst holding " +
                "the CTRL key down inside the TOCControl";
            // 
            // Label5
            // 
            this.Label5.Location = new System.Drawing.Point(432, 184);
            this.Label5.Name = "Label5";
            this.Label5.Size = new System.Drawing.Size(184, 56);
            this.Label5.TabIndex = 15;
            this.Label5.Text = "5) Copy a layer into the new map by dragging and dropping a layer inside the TOCC" +
                "ontrol";
            // 
            // Label2
            // 
            this.Label2.Location = new System.Drawing.Point(432, 96);
            this.Label2.Name = "Label2";
            this.Label2.Size = new System.Drawing.Size(176, 32);
            this.Label2.TabIndex = 12;
            this.Label2.Text = "3) Re-order the layers in the TOCControl";
            // 
            // Label4
            // 
            this.Label4.Location = new System.Drawing.Point(432, 128);
            this.Label4.Name = "Label4";
            this.Label4.Size = new System.Drawing.Size(176, 56);
            this.Label4.TabIndex = 14;
            this.Label4.Text = "4) Right click on the PageLayoutControl and drag a rectangle to create a new MapF" +
                "rame";
            // 
            // Label3
            // 
            this.Label3.Location = new System.Drawing.Point(432, 72);
            this.Label3.Name = "Label3";
            this.Label3.Size = new System.Drawing.Size(176, 32);
            this.Label3.TabIndex = 13;
            this.Label3.Text = "2) Enable layer drag and drop";
            // 
            // Label1
            // 
            this.Label1.Location = new System.Drawing.Point(432, 40);
            this.Label1.Name = "Label1";
            this.Label1.Size = new System.Drawing.Size(176, 32);
            this.Label1.TabIndex = 11;
            this.Label1.Text = "1) Load a map document into the PageLayoutControl";
            // 
            // 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(416, 28);
            this.axToolbarControl1.TabIndex = 17;
            // 
            // axTOCControl1
            // 
            this.axTOCControl1.Location = new System.Drawing.Point(8, 40);
            this.axTOCControl1.Name = "axTOCControl1";
            this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState")));
            this.axTOCControl1.Size = new System.Drawing.Size(144, 344);
            this.axTOCControl1.TabIndex = 18;
            // 
            // axPageLayoutControl1
            // 
            this.axPageLayoutControl1.Location = new System.Drawing.Point(160, 40);
            this.axPageLayoutControl1.Name = "axPageLayoutControl1";
            this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState")));
            this.axPageLayoutControl1.Size = new System.Drawing.Size(256, 344);
            this.axPageLayoutControl1.TabIndex = 19;
            this.axPageLayoutControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnMouseDownEventHandler(this.axPageLayoutControl1_OnMouseDown);
            // 
            // axLicenseControl1
            // 
            this.axLicenseControl1.Enabled = true;
            this.axLicenseControl1.Location = new System.Drawing.Point(56, 48);
            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 = 20;
            // 
            // Form1
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(616, 390);
            this.Controls.Add(this.axLicenseControl1);
            this.Controls.Add(this.axPageLayoutControl1);
            this.Controls.Add(this.axTOCControl1);
            this.Controls.Add(this.axToolbarControl1);
            this.Controls.Add(this.Label6);
            this.Controls.Add(this.Label5);
            this.Controls.Add(this.Label2);
            this.Controls.Add(this.Label4);
            this.Controls.Add(this.Label3);
            this.Controls.Add(this.Label1);
            this.Controls.Add(this.chkDragDrop);
            this.Name = "Form1";
            this.Text = "Layer Drag and Drop";
            this.Load += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
            this.ResumeLayout(false);

		}
コード例 #17
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.mainMenu1         = new System.Windows.Forms.MainMenu(this.components);
     this.menuItem1         = new System.Windows.Forms.MenuItem();
     this.menuItem2         = new System.Windows.Forms.MenuItem();
     this.menuItem3         = new System.Windows.Forms.MenuItem();
     this.menuItem8         = new System.Windows.Forms.MenuItem();
     this.menuItem7         = new System.Windows.Forms.MenuItem();
     this.menuItem4         = new System.Windows.Forms.MenuItem();
     this.menuItem5         = new System.Windows.Forms.MenuItem();
     this.menuItem6         = new System.Windows.Forms.MenuItem();
     this.menuItem9         = new System.Windows.Forms.MenuItem();
     this.toolBar1          = new System.Windows.Forms.ToolBar();
     this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
     this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     this.SuspendLayout();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem4
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem2,
         this.menuItem3,
         this.menuItem8,
         this.menuItem7
     });
     this.menuItem1.Text = "&File";
     //
     // menuItem2
     //
     this.menuItem2.Index  = 0;
     this.menuItem2.Text   = "&New...";
     this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index  = 1;
     this.menuItem3.Text   = "&Close...";
     this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
     //
     // menuItem8
     //
     this.menuItem8.Index = 2;
     this.menuItem8.Text  = "-";
     //
     // menuItem7
     //
     this.menuItem7.Index  = 3;
     this.menuItem7.Text   = "Exit";
     this.menuItem7.Click += new System.EventHandler(this.menuItem7_Click);
     //
     // menuItem4
     //
     this.menuItem4.Index   = 1;
     this.menuItem4.MdiList = true;
     this.menuItem4.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem5,
         this.menuItem6,
         this.menuItem9
     });
     this.menuItem4.Text = "&Window";
     //
     // menuItem5
     //
     this.menuItem5.Index  = 0;
     this.menuItem5.Text   = "Cascade";
     this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click);
     //
     // menuItem6
     //
     this.menuItem6.Index  = 1;
     this.menuItem6.Text   = "Tile Horizontally";
     this.menuItem6.Click += new System.EventHandler(this.menuItem6_Click);
     //
     // menuItem9
     //
     this.menuItem9.Index  = 2;
     this.menuItem9.Text   = "Tile Vertically";
     this.menuItem9.Click += new System.EventHandler(this.menuItem9_Click);
     //
     // toolBar1
     //
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.Location       = new System.Drawing.Point(0, 0);
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(752, 42);
     this.toolBar1.TabIndex       = 3;
     //
     // 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(735, 28);
     this.axToolbarControl1.TabIndex = 8;
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(286, 51);
     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 = 9;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(752, 452);
     this.ControlBox        = false;
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.axToolbarControl1);
     this.Controls.Add(this.toolBar1);
     this.IsMdiContainer    = true;
     this.Menu              = this.mainMenu1;
     this.Name              = "Form1";
     this.Text              = "MDI Application";
     this.MdiChildActivate += new System.EventHandler(this.Form1_MdiChildActivate);
     this.Load             += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #18
0
 /// <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(frmMain));
     this.txtPath              = new System.Windows.Forms.TextBox();
     this.cmdLoadDoc           = new System.Windows.Forms.Button();
     this.openFileDialog1      = new System.Windows.Forms.OpenFileDialog();
     this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl();
     this.axLicenseControl1    = new ESRI.ArcGIS.Controls.AxLicenseControl();
     ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     this.SuspendLayout();
     //
     // txtPath
     //
     this.txtPath.Enabled  = false;
     this.txtPath.Location = new System.Drawing.Point(8, 40);
     this.txtPath.Name     = "txtPath";
     this.txtPath.Size     = new System.Drawing.Size(352, 20);
     this.txtPath.TabIndex = 1;
     //
     // cmdLoadDoc
     //
     this.cmdLoadDoc.Location = new System.Drawing.Point(232, 8);
     this.cmdLoadDoc.Name     = "cmdLoadDoc";
     this.cmdLoadDoc.Size     = new System.Drawing.Size(128, 24);
     this.cmdLoadDoc.TabIndex = 2;
     this.cmdLoadDoc.Text     = "Load Map Document";
     this.cmdLoadDoc.Click   += new System.EventHandler(this.cmdLoadDoc_Click);
     //
     // axPageLayoutControl1
     //
     this.axPageLayoutControl1.Location = new System.Drawing.Point(8, 64);
     this.axPageLayoutControl1.Name     = "axPageLayoutControl1";
     this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState")));
     this.axPageLayoutControl1.Size     = new System.Drawing.Size(352, 368);
     this.axPageLayoutControl1.TabIndex = 3;
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(8, 2);
     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 = 4;
     //
     // frmMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(368, 438);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.axPageLayoutControl1);
     this.Controls.Add(this.cmdLoadDoc);
     this.Controls.Add(this.txtPath);
     this.Name = "frmMain";
     this.Text = "Load Map Document";
     ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #19
0
		/// <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(Form1));
			this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
			this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl();
			this.comboBox1 = new System.Windows.Forms.ComboBox();
			this.button1 = new System.Windows.Forms.Button();
			this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl();
			this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
			((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
			this.SuspendLayout();
			// 
			// 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(392, 28);
			this.axToolbarControl1.TabIndex = 0;
			// 
			// axPageLayoutControl1
			// 
			this.axPageLayoutControl1.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.axPageLayoutControl1.Location = new System.Drawing.Point(192, 40);
			this.axPageLayoutControl1.Name = "axPageLayoutControl1";
			this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState")));
			this.axPageLayoutControl1.Size = new System.Drawing.Size(464, 384);
			this.axPageLayoutControl1.TabIndex = 1;
			this.axPageLayoutControl1.OnPageLayoutReplaced += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnPageLayoutReplacedEventHandler(this.axPageLayoutControl1_OnPageLayoutReplaced);
			// 
			// comboBox1
			// 
			this.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.comboBox1.Location = new System.Drawing.Point(408, 8);
			this.comboBox1.Name = "comboBox1";
			this.comboBox1.Size = new System.Drawing.Size(121, 21);
			this.comboBox1.TabIndex = 3;
			this.comboBox1.Text = "comboBox1";
			// 
			// button1
			// 
			this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.button1.Location = new System.Drawing.Point(536, 8);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(120, 23);
			this.button1.TabIndex = 4;
			this.button1.Text = "Change Color Ramp";
			this.button1.Click += new System.EventHandler(this.button1_Click);
			// 
			// axTOCControl1
			// 
			this.axTOCControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left)));
			this.axTOCControl1.Location = new System.Drawing.Point(8, 40);
			this.axTOCControl1.Name = "axTOCControl1";
			this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState")));
			this.axTOCControl1.Size = new System.Drawing.Size(176, 384);
			this.axTOCControl1.TabIndex = 5;
			// 
			// axLicenseControl1
			// 
			this.axLicenseControl1.Enabled = true;
			this.axLicenseControl1.Location = new System.Drawing.Point(176, 216);
			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 = 6;
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(664, 430);
			this.Controls.Add(this.axLicenseControl1);
			this.Controls.Add(this.axTOCControl1);
			this.Controls.Add(this.button1);
			this.Controls.Add(this.comboBox1);
			this.Controls.Add(this.axPageLayoutControl1);
			this.Controls.Add(this.axToolbarControl1);
			this.Name = "Form1";
			this.Text = "Color Ramps";
			this.Load += new System.EventHandler(this.Form1_Load);
			((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
			this.ResumeLayout(false);

		}
コード例 #20
0
 /// <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.chkShowTips       = new System.Windows.Forms.CheckBox();
     this.cmdLoadData       = new System.Windows.Forms.Button();
     this.cboDataField      = new System.Windows.Forms.ComboBox();
     this.cboDataLayer      = new System.Windows.Forms.ComboBox();
     this.Label2            = new System.Windows.Forms.Label();
     this.Label1            = new System.Windows.Forms.Label();
     this.cmdFullExtent     = new System.Windows.Forms.Button();
     this.Label3            = new System.Windows.Forms.Label();
     this.openFileDialog1   = new System.Windows.Forms.OpenFileDialog();
     this.axMapControl1     = new ESRI.ArcGIS.Controls.AxMapControl();
     this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
     this.chkTransparent    = new System.Windows.Forms.CheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     this.SuspendLayout();
     //
     // chkShowTips
     //
     this.chkShowTips.BackColor               = System.Drawing.SystemColors.Control;
     this.chkShowTips.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.chkShowTips.Font                    = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chkShowTips.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.chkShowTips.Location                = new System.Drawing.Point(8, 40);
     this.chkShowTips.Name                    = "chkShowTips";
     this.chkShowTips.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.chkShowTips.Size                    = new System.Drawing.Size(129, 25);
     this.chkShowTips.TabIndex                = 10;
     this.chkShowTips.Text                    = "Show Map Tips";
     this.chkShowTips.UseVisualStyleBackColor = false;
     this.chkShowTips.CheckedChanged         += new System.EventHandler(this.chkShowTips_CheckedChanged);
     this.chkShowTips.CheckStateChanged      += new System.EventHandler(this.chkShowTips_CheckStateChanged);
     //
     // cmdLoadData
     //
     this.cmdLoadData.BackColor               = System.Drawing.SystemColors.Control;
     this.cmdLoadData.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.cmdLoadData.Font                    = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmdLoadData.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.cmdLoadData.Location                = new System.Drawing.Point(8, 8);
     this.cmdLoadData.Name                    = "cmdLoadData";
     this.cmdLoadData.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.cmdLoadData.Size                    = new System.Drawing.Size(113, 25);
     this.cmdLoadData.TabIndex                = 9;
     this.cmdLoadData.Text                    = "Load Document...";
     this.cmdLoadData.UseVisualStyleBackColor = false;
     this.cmdLoadData.Click                  += new System.EventHandler(this.cmdLoadData_Click);
     //
     // cboDataField
     //
     this.cboDataField.BackColor             = System.Drawing.SystemColors.Window;
     this.cboDataField.Cursor                = System.Windows.Forms.Cursors.Default;
     this.cboDataField.Font                  = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cboDataField.ForeColor             = System.Drawing.SystemColors.WindowText;
     this.cboDataField.Location              = new System.Drawing.Point(176, 40);
     this.cboDataField.Name                  = "cboDataField";
     this.cboDataField.RightToLeft           = System.Windows.Forms.RightToLeft.No;
     this.cboDataField.Size                  = new System.Drawing.Size(161, 22);
     this.cboDataField.TabIndex              = 8;
     this.cboDataField.SelectedIndexChanged += new System.EventHandler(this.cboDataField_SelectedIndexChanged);
     //
     // cboDataLayer
     //
     this.cboDataLayer.BackColor             = System.Drawing.SystemColors.Window;
     this.cboDataLayer.Cursor                = System.Windows.Forms.Cursors.Default;
     this.cboDataLayer.Font                  = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cboDataLayer.ForeColor             = System.Drawing.SystemColors.WindowText;
     this.cboDataLayer.Location              = new System.Drawing.Point(176, 16);
     this.cboDataLayer.Name                  = "cboDataLayer";
     this.cboDataLayer.RightToLeft           = System.Windows.Forms.RightToLeft.No;
     this.cboDataLayer.Size                  = new System.Drawing.Size(161, 22);
     this.cboDataLayer.TabIndex              = 7;
     this.cboDataLayer.SelectedIndexChanged += new System.EventHandler(this.cboDataLayer_SelectedIndexChanged);
     //
     // Label2
     //
     this.Label2.BackColor   = System.Drawing.SystemColors.Control;
     this.Label2.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label2.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Label2.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label2.Location    = new System.Drawing.Point(136, 40);
     this.Label2.Name        = "Label2";
     this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label2.Size        = new System.Drawing.Size(33, 17);
     this.Label2.TabIndex    = 12;
     this.Label2.Text        = "Fields:";
     //
     // Label1
     //
     this.Label1.BackColor   = System.Drawing.SystemColors.Control;
     this.Label1.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label1.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Label1.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label1.Location    = new System.Drawing.Point(136, 16);
     this.Label1.Name        = "Label1";
     this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label1.Size        = new System.Drawing.Size(41, 17);
     this.Label1.TabIndex    = 11;
     this.Label1.Text        = "Layers:";
     //
     // 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, ((byte)(0)));
     this.cmdFullExtent.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.cmdFullExtent.Location                = new System.Drawing.Point(224, 365);
     this.cmdFullExtent.Name                    = "cmdFullExtent";
     this.cmdFullExtent.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.cmdFullExtent.Size                    = new System.Drawing.Size(113, 25);
     this.cmdFullExtent.TabIndex                = 13;
     this.cmdFullExtent.Text                    = "Zoom to Full Extent";
     this.cmdFullExtent.UseVisualStyleBackColor = false;
     this.cmdFullExtent.Click                  += new System.EventHandler(this.cmdFullExtent_Click);
     //
     // Label3
     //
     this.Label3.BackColor   = System.Drawing.SystemColors.Control;
     this.Label3.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label3.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Label3.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label3.Location    = new System.Drawing.Point(8, 373);
     this.Label3.Name        = "Label3";
     this.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label3.Size        = new System.Drawing.Size(209, 17);
     this.Label3.TabIndex    = 14;
     this.Label3.Text        = "Left mouse button to zoomin, right to pan";
     //
     // axMapControl1
     //
     this.axMapControl1.Location     = new System.Drawing.Point(8, 88);
     this.axMapControl1.Name         = "axMapControl1";
     this.axMapControl1.OcxState     = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState")));
     this.axMapControl1.Size         = new System.Drawing.Size(328, 272);
     this.axMapControl1.TabIndex     = 15;
     this.axMapControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseDownEventHandler(this.axMapControl1_OnMouseDown);
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(300, 68);
     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;
     //
     // chkTransparent
     //
     this.chkTransparent.AutoSize = true;
     this.chkTransparent.Location = new System.Drawing.Point(8, 65);
     this.chkTransparent.Name     = "chkTransparent";
     this.chkTransparent.Size     = new System.Drawing.Size(106, 17);
     this.chkTransparent.TabIndex = 17;
     this.chkTransparent.Text     = "Transparent Tips";
     this.chkTransparent.UseVisualStyleBackColor = true;
     this.chkTransparent.CheckedChanged         += new System.EventHandler(this.chkTransparent_CheckedChanged);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(344, 400);
     this.Controls.Add(this.chkTransparent);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.axMapControl1);
     this.Controls.Add(this.cmdFullExtent);
     this.Controls.Add(this.Label3);
     this.Controls.Add(this.chkShowTips);
     this.Controls.Add(this.cmdLoadData);
     this.Controls.Add(this.cboDataField);
     this.Controls.Add(this.cboDataLayer);
     this.Controls.Add(this.Label2);
     this.Controls.Add(this.Label1);
     this.Name  = "Form1";
     this.Text  = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.chkExtension      = new System.Windows.Forms.CheckBox();
     this.Label3            = new System.Windows.Forms.Label();
     this.Label1            = new System.Windows.Forms.Label();
     this.Label2            = new System.Windows.Forms.Label();
     this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
     this.axMapControl1     = new ESRI.ArcGIS.Controls.AxMapControl();
     this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     this.SuspendLayout();
     //
     // chkExtension
     //
     this.chkExtension.BackColor               = System.Drawing.SystemColors.Control;
     this.chkExtension.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.chkExtension.Font                    = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chkExtension.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.chkExtension.Location                = new System.Drawing.Point(592, 8);
     this.chkExtension.Name                    = "chkExtension";
     this.chkExtension.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.chkExtension.Size                    = new System.Drawing.Size(113, 25);
     this.chkExtension.TabIndex                = 6;
     this.chkExtension.Text                    = "Enable Extension";
     this.chkExtension.UseVisualStyleBackColor = false;
     this.chkExtension.CheckedChanged         += new System.EventHandler(this.chkExtension_CheckedChanged);
     //
     // Label3
     //
     this.Label3.BackColor   = System.Drawing.SystemColors.Control;
     this.Label3.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label3.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Label3.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label3.Location    = new System.Drawing.Point(592, 136);
     this.Label3.Name        = "Label3";
     this.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label3.Size        = new System.Drawing.Size(137, 65);
     this.Label3.TabIndex    = 9;
     this.Label3.Text        = "Enable the extension and navigate around the data using the commands from the ext" +
                               "ension.";
     //
     // Label1
     //
     this.Label1.BackColor   = System.Drawing.SystemColors.Control;
     this.Label1.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label1.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Label1.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label1.Location    = new System.Drawing.Point(592, 88);
     this.Label1.Name        = "Label1";
     this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label1.Size        = new System.Drawing.Size(137, 41);
     this.Label1.TabIndex    = 8;
     this.Label1.Text        = "Navigate around the data using the commands on the ToolbarControl.";
     //
     // Label2
     //
     this.Label2.BackColor   = System.Drawing.SystemColors.Control;
     this.Label2.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label2.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Label2.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label2.Location    = new System.Drawing.Point(592, 40);
     this.Label2.Name        = "Label2";
     this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label2.Size        = new System.Drawing.Size(137, 40);
     this.Label2.TabIndex    = 7;
     this.Label2.Text        = "Browse to a map document to load into the MapControl.";
     //
     // 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(576, 28);
     this.axToolbarControl1.TabIndex = 10;
     //
     // axMapControl1
     //
     this.axMapControl1.Location = new System.Drawing.Point(8, 40);
     this.axMapControl1.Name     = "axMapControl1";
     this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState")));
     this.axMapControl1.Size     = new System.Drawing.Size(576, 432);
     this.axMapControl1.TabIndex = 11;
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(595, 204);
     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 = 12;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(736, 478);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.axMapControl1);
     this.Controls.Add(this.axToolbarControl1);
     this.Controls.Add(this.chkExtension);
     this.Controls.Add(this.Label3);
     this.Controls.Add(this.Label1);
     this.Controls.Add(this.Label2);
     this.Name  = "Form1";
     this.Text  = "MenuTracking";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #22
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ExcelImportForm));
     this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
     this.openExcelDialog = new System.Windows.Forms.OpenFileDialog();
     this.panel_title_bar = new System.Windows.Forms.Panel();
     this.pictureBox2 = new System.Windows.Forms.PictureBox();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.close = new System.Windows.Forms.PictureBox();
     this.min = new System.Windows.Forms.PictureBox();
     this.panel1 = new System.Windows.Forms.Panel();
     this.CreateShpFile = new System.Windows.Forms.Button();
     this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
     this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl();
     this.excelGridView = new System.Windows.Forms.DataGridView();
     this.Open = new System.Windows.Forms.Button();
     this.excelCmbBox = new System.Windows.Forms.ComboBox();
     this.OpenExcel = new System.Windows.Forms.Button();
     this.panel_title_bar.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.close)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.min)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.excelGridView)).BeginInit();
     this.SuspendLayout();
     //
     // notifyIcon1
     //
     this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
     this.notifyIcon1.Text = "ExcelToLayer";
     this.notifyIcon1.Visible = true;
     this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick);
     //
     // panel_title_bar
     //
     this.panel_title_bar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(164)))), ((int)(((byte)(228)))));
     this.panel_title_bar.BackgroundImage = global::ArcGISFoundation.Properties.Resources.banners;
     this.panel_title_bar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.panel_title_bar.Controls.Add(this.pictureBox2);
     this.panel_title_bar.Controls.Add(this.pictureBox1);
     this.panel_title_bar.Controls.Add(this.close);
     this.panel_title_bar.Controls.Add(this.min);
     this.panel_title_bar.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel_title_bar.Location = new System.Drawing.Point(0, 0);
     this.panel_title_bar.Name = "panel_title_bar";
     this.panel_title_bar.Size = new System.Drawing.Size(998, 65);
     this.panel_title_bar.TabIndex = 7;
     this.panel_title_bar.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel_title_bar_MouseDown);
     this.panel_title_bar.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel_title_bar_MouseMove);
     //
     // pictureBox2
     //
     this.pictureBox2.BackColor = System.Drawing.Color.Transparent;
     this.pictureBox2.Image = global::ArcGISFoundation.Properties.Resources.import_logo_title;
     this.pictureBox2.Location = new System.Drawing.Point(66, 14);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new System.Drawing.Size(142, 39);
     this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.pictureBox2.TabIndex = 9;
     this.pictureBox2.TabStop = false;
     //
     // pictureBox1
     //
     this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
     this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Left;
     this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(72, 65);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.pictureBox1.TabIndex = 8;
     this.pictureBox1.TabStop = false;
     //
     // close
     //
     this.close.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.close.BackColor = System.Drawing.Color.Transparent;
     this.close.Image = global::ArcGISFoundation.Properties.Resources.close;
     this.close.Location = new System.Drawing.Point(959, -1);
     this.close.Name = "close";
     this.close.Size = new System.Drawing.Size(27, 22);
     this.close.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.close.TabIndex = 7;
     this.close.TabStop = false;
     this.close.Click += new System.EventHandler(this.close_Click);
     this.close.MouseEnter += new System.EventHandler(this.close_MouseEnter);
     this.close.MouseLeave += new System.EventHandler(this.close_MouseLeave);
     //
     // min
     //
     this.min.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.min.BackColor = System.Drawing.Color.Transparent;
     this.min.Image = global::ArcGISFoundation.Properties.Resources.min;
     this.min.Location = new System.Drawing.Point(925, -1);
     this.min.Name = "min";
     this.min.Size = new System.Drawing.Size(27, 22);
     this.min.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.min.TabIndex = 5;
     this.min.TabStop = false;
     this.min.Click += new System.EventHandler(this.min_Click);
     this.min.MouseEnter += new System.EventHandler(this.min_MouseEnter);
     this.min.MouseLeave += new System.EventHandler(this.min_MouseLeave);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Transparent;
     this.panel1.Controls.Add(this.CreateShpFile);
     this.panel1.Controls.Add(this.axLicenseControl1);
     this.panel1.Controls.Add(this.axMapControl1);
     this.panel1.Controls.Add(this.excelGridView);
     this.panel1.Controls.Add(this.Open);
     this.panel1.Controls.Add(this.excelCmbBox);
     this.panel1.Controls.Add(this.OpenExcel);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 65);
     this.panel1.Name = "panel1";
     this.panel1.Padding = new System.Windows.Forms.Padding(3);
     this.panel1.Size = new System.Drawing.Size(998, 379);
     this.panel1.TabIndex = 8;
     this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
     //
     // CreateShpFile
     //
     this.CreateShpFile.BackgroundImage = global::ArcGISFoundation.Properties.Resources.banner;
     this.CreateShpFile.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.CreateShpFile.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.CreateShpFile.Location = new System.Drawing.Point(362, 336);
     this.CreateShpFile.Name = "CreateShpFile";
     this.CreateShpFile.Size = new System.Drawing.Size(125, 32);
     this.CreateShpFile.TabIndex = 13;
     this.CreateShpFile.Text = "创建Shape文件";
     this.CreateShpFile.UseVisualStyleBackColor = true;
     this.CreateShpFile.Click += new System.EventHandler(this.CreateShpFile_Click);
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(653, 146);
     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 = 12;
     //
     // axMapControl1
     //
     this.axMapControl1.Location = new System.Drawing.Point(508, 18);
     this.axMapControl1.Name = "axMapControl1";
     this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState")));
     this.axMapControl1.Size = new System.Drawing.Size(482, 312);
     this.axMapControl1.TabIndex = 11;
     //
     // excelGridView
     //
     this.excelGridView.AllowUserToAddRows = false;
     this.excelGridView.BackgroundColor = System.Drawing.SystemColors.Control;
     this.excelGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.excelGridView.Location = new System.Drawing.Point(8, 47);
     this.excelGridView.Name = "excelGridView";
     this.excelGridView.RowTemplate.Height = 23;
     this.excelGridView.Size = new System.Drawing.Size(479, 283);
     this.excelGridView.TabIndex = 10;
     //
     // Open
     //
     this.Open.BackgroundImage = global::ArcGISFoundation.Properties.Resources.banner;
     this.Open.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Open.ForeColor = System.Drawing.SystemColors.ControlLight;
     this.Open.Location = new System.Drawing.Point(396, 10);
     this.Open.Margin = new System.Windows.Forms.Padding(0);
     this.Open.Name = "Open";
     this.Open.Size = new System.Drawing.Size(62, 30);
     this.Open.TabIndex = 9;
     this.Open.Text = "打开";
     this.Open.UseVisualStyleBackColor = true;
     this.Open.Click += new System.EventHandler(this.Open_Click);
     //
     // excelCmbBox
     //
     this.excelCmbBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.excelCmbBox.FormattingEnabled = true;
     this.excelCmbBox.Location = new System.Drawing.Point(136, 13);
     this.excelCmbBox.Name = "excelCmbBox";
     this.excelCmbBox.Size = new System.Drawing.Size(244, 25);
     this.excelCmbBox.TabIndex = 8;
     //
     // OpenExcel
     //
     this.OpenExcel.BackgroundImage = global::ArcGISFoundation.Properties.Resources.banner;
     this.OpenExcel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.OpenExcel.ForeColor = System.Drawing.SystemColors.ControlLight;
     this.OpenExcel.Location = new System.Drawing.Point(11, 10);
     this.OpenExcel.Name = "OpenExcel";
     this.OpenExcel.Size = new System.Drawing.Size(115, 29);
     this.OpenExcel.TabIndex = 7;
     this.OpenExcel.Text = "打开Excel";
     this.OpenExcel.UseVisualStyleBackColor = true;
     this.OpenExcel.Click += new System.EventHandler(this.OpenExcel_Click);
     //
     // ExcelImportForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(232)))), ((int)(((byte)(255)))));
     this.ClientSize = new System.Drawing.Size(998, 444);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.panel_title_bar);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.Name = "ExcelImportForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "导入Excel";
     this.Load += new System.EventHandler(this.ExcelImportForm_Load);
     this.panel_title_bar.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.close)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.min)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.excelGridView)).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(SceneNavigateAndBookmarks));
			this.txtNewBookmarkName = new System.Windows.Forms.TextBox();
			this.cmdCaptureBookmark = new System.Windows.Forms.Button();
			this.lstBookmarks = new System.Windows.Forms.ListBox();
			this.chkRotate = new System.Windows.Forms.CheckBox();
			this.chkNavigate = new System.Windows.Forms.CheckBox();
			this.Label5 = new System.Windows.Forms.Label();
			this.Label4 = new System.Windows.Forms.Label();
			this.Label3 = new System.Windows.Forms.Label();
			this.Label2 = new System.Windows.Forms.Label();
			this.Line3 = new System.Windows.Forms.Label();
			this.Line2 = new System.Windows.Forms.Label();
			this.Line1 = new System.Windows.Forms.Label();
			this.Label1 = new System.Windows.Forms.Label();
			this.cmdBrowse = new System.Windows.Forms.Button();
			this.txtFileName = new System.Windows.Forms.TextBox();
			this.cmdLoad = new System.Windows.Forms.Button();
			this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
			this.axSceneControl1 = new ESRI.ArcGIS.Controls.AxSceneControl();
			this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
			((System.ComponentModel.ISupportInitialize)(this.axSceneControl1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
			this.SuspendLayout();
			// 
			// txtNewBookmarkName
			// 
			this.txtNewBookmarkName.AcceptsReturn = true;
			this.txtNewBookmarkName.AutoSize = false;
			this.txtNewBookmarkName.BackColor = System.Drawing.SystemColors.Window;
			this.txtNewBookmarkName.Cursor = System.Windows.Forms.Cursors.IBeam;
			this.txtNewBookmarkName.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtNewBookmarkName.ForeColor = System.Drawing.SystemColors.WindowText;
			this.txtNewBookmarkName.Location = new System.Drawing.Point(152, 480);
			this.txtNewBookmarkName.MaxLength = 0;
			this.txtNewBookmarkName.Name = "txtNewBookmarkName";
			this.txtNewBookmarkName.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.txtNewBookmarkName.Size = new System.Drawing.Size(121, 27);
			this.txtNewBookmarkName.TabIndex = 16;
			this.txtNewBookmarkName.Text = "New Bookmark";
			// 
			// cmdCaptureBookmark
			// 
			this.cmdCaptureBookmark.BackColor = System.Drawing.SystemColors.Control;
			this.cmdCaptureBookmark.Cursor = System.Windows.Forms.Cursors.Default;
			this.cmdCaptureBookmark.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.cmdCaptureBookmark.ForeColor = System.Drawing.SystemColors.ControlText;
			this.cmdCaptureBookmark.Location = new System.Drawing.Point(8, 480);
			this.cmdCaptureBookmark.Name = "cmdCaptureBookmark";
			this.cmdCaptureBookmark.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.cmdCaptureBookmark.Size = new System.Drawing.Size(137, 25);
			this.cmdCaptureBookmark.TabIndex = 15;
			this.cmdCaptureBookmark.Text = "Capture Bookmark";
			this.cmdCaptureBookmark.Click += new System.EventHandler(this.cmdCaptureBookmark_Click);
			// 
			// lstBookmarks
			// 
			this.lstBookmarks.BackColor = System.Drawing.SystemColors.Window;
			this.lstBookmarks.Cursor = System.Windows.Forms.Cursors.Default;
			this.lstBookmarks.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.lstBookmarks.ForeColor = System.Drawing.SystemColors.WindowText;
			this.lstBookmarks.ItemHeight = 14;
			this.lstBookmarks.Location = new System.Drawing.Point(8, 392);
			this.lstBookmarks.Name = "lstBookmarks";
			this.lstBookmarks.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.lstBookmarks.Size = new System.Drawing.Size(265, 74);
			this.lstBookmarks.TabIndex = 14;
			this.lstBookmarks.SelectedIndexChanged += new System.EventHandler(this.lstBookmarks_SelectedIndexChanged);
			// 
			// chkRotate
			// 
			this.chkRotate.BackColor = System.Drawing.SystemColors.Control;
			this.chkRotate.Cursor = System.Windows.Forms.Cursors.Default;
			this.chkRotate.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.chkRotate.ForeColor = System.Drawing.SystemColors.ControlText;
			this.chkRotate.Location = new System.Drawing.Point(296, 464);
			this.chkRotate.Name = "chkRotate";
			this.chkRotate.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.chkRotate.Size = new System.Drawing.Size(121, 25);
			this.chkRotate.TabIndex = 18;
			this.chkRotate.Text = "Rotate Gesture";
			this.chkRotate.CheckedChanged += new System.EventHandler(this.chkRotate_CheckedChanged);
			// 
			// chkNavigate
			// 
			this.chkNavigate.BackColor = System.Drawing.SystemColors.Control;
			this.chkNavigate.Cursor = System.Windows.Forms.Cursors.Default;
			this.chkNavigate.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.chkNavigate.ForeColor = System.Drawing.SystemColors.ControlText;
			this.chkNavigate.Location = new System.Drawing.Point(296, 384);
			this.chkNavigate.Name = "chkNavigate";
			this.chkNavigate.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.chkNavigate.Size = new System.Drawing.Size(113, 25);
			this.chkNavigate.TabIndex = 17;
			this.chkNavigate.Text = "Navigate Mode";
			this.chkNavigate.CheckedChanged += new System.EventHandler(this.chkNavigate_CheckedChanged);
			// 
			// Label5
			// 
			this.Label5.BackColor = System.Drawing.SystemColors.Control;
			this.Label5.Cursor = System.Windows.Forms.Cursors.Default;
			this.Label5.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.Label5.ForeColor = System.Drawing.SystemColors.ControlText;
			this.Label5.Location = new System.Drawing.Point(424, 448);
			this.Label5.Name = "Label5";
			this.Label5.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Label5.Size = new System.Drawing.Size(169, 65);
			this.Label5.TabIndex = 22;
			this.Label5.Text = "Hold down left mouse button, move mouse left (or right) and keep mouse moving whi" +
				"le releasing the left button. Press ESC to stop rotation.";
			// 
			// Label4
			// 
			this.Label4.BackColor = System.Drawing.SystemColors.Control;
			this.Label4.Cursor = System.Windows.Forms.Cursors.Default;
			this.Label4.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.Label4.ForeColor = System.Drawing.SystemColors.ControlText;
			this.Label4.Location = new System.Drawing.Point(424, 392);
			this.Label4.Name = "Label4";
			this.Label4.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Label4.Size = new System.Drawing.Size(169, 17);
			this.Label4.TabIndex = 21;
			this.Label4.Text = "Middle mouse to pan";
			// 
			// Label3
			// 
			this.Label3.BackColor = System.Drawing.SystemColors.Control;
			this.Label3.Cursor = System.Windows.Forms.Cursors.Default;
			this.Label3.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.Label3.ForeColor = System.Drawing.SystemColors.ControlText;
			this.Label3.Location = new System.Drawing.Point(424, 408);
			this.Label3.Name = "Label3";
			this.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Label3.Size = new System.Drawing.Size(169, 17);
			this.Label3.TabIndex = 20;
			this.Label3.Text = "Right mouse to zoom in and out";
			// 
			// Label2
			// 
			this.Label2.BackColor = System.Drawing.SystemColors.Control;
			this.Label2.Cursor = System.Windows.Forms.Cursors.Default;
			this.Label2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.Label2.ForeColor = System.Drawing.SystemColors.ControlText;
			this.Label2.Location = new System.Drawing.Point(424, 376);
			this.Label2.Name = "Label2";
			this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Label2.Size = new System.Drawing.Size(153, 17);
			this.Label2.TabIndex = 19;
			this.Label2.Text = "Left mouse to rotate";
			// 
			// Line3
			// 
			this.Line3.BackColor = System.Drawing.SystemColors.WindowText;
			this.Line3.Location = new System.Drawing.Point(8, 360);
			this.Line3.Name = "Line3";
			this.Line3.Size = new System.Drawing.Size(584, 1);
			this.Line3.TabIndex = 23;
			// 
			// Line2
			// 
			this.Line2.BackColor = System.Drawing.SystemColors.WindowText;
			this.Line2.Location = new System.Drawing.Point(288, 440);
			this.Line2.Name = "Line2";
			this.Line2.Size = new System.Drawing.Size(304, 1);
			this.Line2.TabIndex = 24;
			// 
			// Line1
			// 
			this.Line1.BackColor = System.Drawing.SystemColors.WindowText;
			this.Line1.Location = new System.Drawing.Point(288, 360);
			this.Line1.Name = "Line1";
			this.Line1.Size = new System.Drawing.Size(1, 152);
			this.Line1.TabIndex = 25;
			// 
			// Label1
			// 
			this.Label1.BackColor = System.Drawing.SystemColors.Control;
			this.Label1.Cursor = System.Windows.Forms.Cursors.Default;
			this.Label1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.Label1.ForeColor = System.Drawing.SystemColors.ControlText;
			this.Label1.Location = new System.Drawing.Point(8, 368);
			this.Label1.Name = "Label1";
			this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Label1.Size = new System.Drawing.Size(265, 17);
			this.Label1.TabIndex = 26;
			this.Label1.Text = "Bookmarks: Click on name below";
			// 
			// cmdBrowse
			// 
			this.cmdBrowse.BackColor = System.Drawing.SystemColors.Control;
			this.cmdBrowse.Cursor = System.Windows.Forms.Cursors.Default;
			this.cmdBrowse.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.cmdBrowse.ForeColor = System.Drawing.SystemColors.ControlText;
			this.cmdBrowse.Location = new System.Drawing.Point(528, 328);
			this.cmdBrowse.Name = "cmdBrowse";
			this.cmdBrowse.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.cmdBrowse.Size = new System.Drawing.Size(65, 25);
			this.cmdBrowse.TabIndex = 29;
			this.cmdBrowse.Text = "Browse...";
			this.cmdBrowse.Click += new System.EventHandler(this.cmdBrowse_Click);
			// 
			// txtFileName
			// 
			this.txtFileName.AcceptsReturn = true;
			this.txtFileName.AutoSize = false;
			this.txtFileName.BackColor = System.Drawing.SystemColors.Window;
			this.txtFileName.Cursor = System.Windows.Forms.Cursors.IBeam;
			this.txtFileName.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtFileName.ForeColor = System.Drawing.SystemColors.WindowText;
			this.txtFileName.Location = new System.Drawing.Point(88, 328);
			this.txtFileName.MaxLength = 0;
			this.txtFileName.Name = "txtFileName";
			this.txtFileName.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.txtFileName.Size = new System.Drawing.Size(433, 25);
			this.txtFileName.TabIndex = 28;
			this.txtFileName.Text = "Enter a path to a scene document to load into the SceneControl";
			// 
			// cmdLoad
			// 
			this.cmdLoad.BackColor = System.Drawing.SystemColors.Control;
			this.cmdLoad.Cursor = System.Windows.Forms.Cursors.Default;
			this.cmdLoad.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.cmdLoad.ForeColor = System.Drawing.SystemColors.ControlText;
			this.cmdLoad.Location = new System.Drawing.Point(8, 328);
			this.cmdLoad.Name = "cmdLoad";
			this.cmdLoad.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.cmdLoad.Size = new System.Drawing.Size(73, 25);
			this.cmdLoad.TabIndex = 27;
			this.cmdLoad.Text = "Load";
			this.cmdLoad.Click += new System.EventHandler(this.cmdLoad_Click);
			// 
			// axSceneControl1
			// 
			this.axSceneControl1.Location = new System.Drawing.Point(8, 8);
			this.axSceneControl1.Name = "axSceneControl1";
			this.axSceneControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axSceneControl1.OcxState")));
			this.axSceneControl1.Size = new System.Drawing.Size(584, 312);
			this.axSceneControl1.TabIndex = 30;
			// 
			// axLicenseControl1
			// 
			this.axLicenseControl1.Enabled = true;
			this.axLicenseControl1.Location = new System.Drawing.Point(376, 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 = 31;
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(600, 526);
			this.Controls.Add(this.axLicenseControl1);
			this.Controls.Add(this.axSceneControl1);
			this.Controls.Add(this.cmdBrowse);
			this.Controls.Add(this.txtFileName);
			this.Controls.Add(this.cmdLoad);
			this.Controls.Add(this.Label1);
			this.Controls.Add(this.Line3);
			this.Controls.Add(this.Line2);
			this.Controls.Add(this.Line1);
			this.Controls.Add(this.chkRotate);
			this.Controls.Add(this.chkNavigate);
			this.Controls.Add(this.Label5);
			this.Controls.Add(this.Label4);
			this.Controls.Add(this.Label3);
			this.Controls.Add(this.Label2);
			this.Controls.Add(this.txtNewBookmarkName);
			this.Controls.Add(this.cmdCaptureBookmark);
			this.Controls.Add(this.lstBookmarks);
			this.Name = "Form1";
			this.Text = "Form1";
			this.Load += new System.EventHandler(this.Form1_Load);
			((System.ComponentModel.ISupportInitialize)(this.axSceneControl1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
			this.ResumeLayout(false);

		}
コード例 #24
0
ファイル: VCT2MDBForm.cs プロジェクト: hy1314200/HyDM
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(VCT2MDBForm));
     this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.textBox2 = new System.Windows.Forms.TextBox();
     this.button1 = new System.Windows.Forms.Button();
     this.button2 = new System.Windows.Forms.Button();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
     this.button3 = new System.Windows.Forms.Button();
     this.radioButton1 = new System.Windows.Forms.RadioButton();
     this.radioButton2 = new System.Windows.Forms.RadioButton();
     this.label3 = new System.Windows.Forms.Label();
     this.radioButton3 = new System.Windows.Forms.RadioButton();
     this.radioButton4 = new System.Windows.Forms.RadioButton();
     this.label4 = new System.Windows.Forms.Label();
     this.radioButton5 = new System.Windows.Forms.RadioButton();
     this.panel1 = new System.Windows.Forms.Panel();
     this.panel2 = new System.Windows.Forms.Panel();
     this.panel3 = new System.Windows.Forms.Panel();
     this.label5 = new System.Windows.Forms.Label();
     this.textBox3 = new System.Windows.Forms.TextBox();
     this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
     this.panel4 = new System.Windows.Forms.Panel();
     this.radioButton7 = new System.Windows.Forms.RadioButton();
     this.radioButton6 = new System.Windows.Forms.RadioButton();
     this.label6 = new System.Windows.Forms.Label();
     this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
     this.splitter1 = new System.Windows.Forms.Splitter();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     this.panel4.SuspendLayout();
     this.SuspendLayout();
     //
     // openFileDialog1
     //
     this.openFileDialog1.FileName = "openFileDialog1";
     //
     // textBox1
     //
     this.textBox1.AccessibleRole = System.Windows.Forms.AccessibleRole.None;
     this.textBox1.Location = new System.Drawing.Point(96, 238);
     this.textBox1.Name = "textBox1";
     this.textBox1.ReadOnly = true;
     this.textBox1.Size = new System.Drawing.Size(378, 21);
     this.textBox1.TabIndex = 0;
     //
     // textBox2
     //
     this.textBox2.Location = new System.Drawing.Point(96, 274);
     this.textBox2.Name = "textBox2";
     this.textBox2.ReadOnly = true;
     this.textBox2.Size = new System.Drawing.Size(378, 21);
     this.textBox2.TabIndex = 1;
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(480, 236);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(75, 23);
     this.button1.TabIndex = 2;
     this.button1.Text = "���";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(480, 273);
     this.button2.Name = "button2";
     this.button2.Size = new System.Drawing.Size(75, 23);
     this.button2.TabIndex = 2;
     this.button2.Text = "���";
     this.button2.UseVisualStyleBackColor = true;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(15, 241);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(71, 12);
     this.label1.TabIndex = 3;
     this.label1.Text = "VCT�ļ�·��";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(15, 278);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(77, 12);
     this.label2.TabIndex = 3;
     this.label2.Text = "����ļ�·��";
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(480, 308);
     this.button3.Name = "button3";
     this.button3.Size = new System.Drawing.Size(75, 23);
     this.button3.TabIndex = 4;
     this.button3.Text = "��ʼת��";
     this.button3.UseVisualStyleBackColor = true;
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // radioButton1
     //
     this.radioButton1.AutoSize = true;
     this.radioButton1.Checked = true;
     this.radioButton1.Location = new System.Drawing.Point(107, 16);
     this.radioButton1.Name = "radioButton1";
     this.radioButton1.Size = new System.Drawing.Size(65, 16);
     this.radioButton1.TabIndex = 5;
     this.radioButton1.TabStop = true;
     this.radioButton1.Text = "����VCT";
     this.radioButton1.UseVisualStyleBackColor = true;
     //
     // radioButton2
     //
     this.radioButton2.AutoSize = true;
     this.radioButton2.Location = new System.Drawing.Point(197, 16);
     this.radioButton2.Name = "radioButton2";
     this.radioButton2.Size = new System.Drawing.Size(65, 16);
     this.radioButton2.TabIndex = 6;
     this.radioButton2.Text = "����VCT";
     this.radioButton2.UseVisualStyleBackColor = true;
     this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(3, 19);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(65, 12);
     this.label3.TabIndex = 7;
     this.label3.Text = "ת����ʽ��";
     //
     // radioButton3
     //
     this.radioButton3.AutoSize = true;
     this.radioButton3.Checked = true;
     this.radioButton3.Location = new System.Drawing.Point(108, 25);
     this.radioButton3.Name = "radioButton3";
     this.radioButton3.Size = new System.Drawing.Size(83, 16);
     this.radioButton3.TabIndex = 5;
     this.radioButton3.TabStop = true;
     this.radioButton3.Text = "���򼶱�׼";
     this.radioButton3.UseVisualStyleBackColor = true;
     //
     // radioButton4
     //
     this.radioButton4.AutoSize = true;
     this.radioButton4.Location = new System.Drawing.Point(198, 25);
     this.radioButton4.Name = "radioButton4";
     this.radioButton4.Size = new System.Drawing.Size(71, 16);
     this.radioButton4.TabIndex = 6;
     this.radioButton4.Text = "�ؼ���׼";
     this.radioButton4.UseVisualStyleBackColor = true;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(3, 27);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(65, 12);
     this.label4.TabIndex = 7;
     this.label4.Text = "ת����׼��";
     //
     // radioButton5
     //
     this.radioButton5.AutoSize = true;
     this.radioButton5.Location = new System.Drawing.Point(282, 25);
     this.radioButton5.Name = "radioButton5";
     this.radioButton5.Size = new System.Drawing.Size(83, 16);
     this.radioButton5.TabIndex = 6;
     this.radioButton5.Text = "�еؼ���׼";
     this.radioButton5.UseVisualStyleBackColor = true;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.radioButton1);
     this.panel1.Controls.Add(this.radioButton2);
     this.panel1.Location = new System.Drawing.Point(18, 3);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(471, 46);
     this.panel1.TabIndex = 8;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.label4);
     this.panel2.Controls.Add(this.radioButton3);
     this.panel2.Controls.Add(this.radioButton4);
     this.panel2.Controls.Add(this.radioButton5);
     this.panel2.Location = new System.Drawing.Point(18, 116);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(471, 59);
     this.panel2.TabIndex = 9;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.label5);
     this.panel3.Controls.Add(this.textBox3);
     this.panel3.Location = new System.Drawing.Point(18, 181);
     this.panel3.Name = "panel3";
     this.panel3.Size = new System.Drawing.Size(471, 39);
     this.panel3.TabIndex = 10;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(3, 15);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(71, 12);
     this.label5.TabIndex = 7;
     this.label5.Text = "���ݼ�����:";
     //
     // textBox3
     //
     this.textBox3.Location = new System.Drawing.Point(78, 9);
     this.textBox3.Name = "textBox3";
     this.textBox3.Size = new System.Drawing.Size(185, 21);
     this.textBox3.TabIndex = 0;
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(475, 116);
     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 = 11;
     //
     // panel4
     //
     this.panel4.Controls.Add(this.radioButton7);
     this.panel4.Controls.Add(this.radioButton6);
     this.panel4.Controls.Add(this.label6);
     this.panel4.Location = new System.Drawing.Point(18, 60);
     this.panel4.Name = "panel4";
     this.panel4.Size = new System.Drawing.Size(471, 42);
     this.panel4.TabIndex = 12;
     //
     // radioButton7
     //
     this.radioButton7.AutoSize = true;
     this.radioButton7.Location = new System.Drawing.Point(198, 13);
     this.radioButton7.Name = "radioButton7";
     this.radioButton7.Size = new System.Drawing.Size(47, 16);
     this.radioButton7.TabIndex = 1;
     this.radioButton7.Text = "FGDB";
     this.radioButton7.UseVisualStyleBackColor = true;
     this.radioButton7.CheckedChanged += new System.EventHandler(this.radioButton7_CheckedChanged);
     //
     // radioButton6
     //
     this.radioButton6.AutoSize = true;
     this.radioButton6.Checked = true;
     this.radioButton6.Location = new System.Drawing.Point(108, 13);
     this.radioButton6.Name = "radioButton6";
     this.radioButton6.Size = new System.Drawing.Size(41, 16);
     this.radioButton6.TabIndex = 1;
     this.radioButton6.TabStop = true;
     this.radioButton6.Text = "MDB";
     this.radioButton6.UseVisualStyleBackColor = true;
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(3, 15);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(83, 12);
     this.label6.TabIndex = 0;
     this.label6.Text = "ת����ʽѡ��:";
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(0, 0);
     this.splitter1.Name = "splitter1";
     this.splitter1.Size = new System.Drawing.Size(3, 353);
     this.splitter1.TabIndex = 13;
     this.splitter1.TabStop = false;
     //
     // VCT2MDBForm
     //
     this.ClientSize = new System.Drawing.Size(577, 353);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.panel4);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.textBox2);
     this.Controls.Add(this.textBox1);
     this.Name = "VCT2MDBForm";
     this.Text = "VCTתMDB";
     this.Load += new System.EventHandler(this.VCT2MDBForm_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     this.panel4.ResumeLayout(false);
     this.panel4.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #25
0
		private void InitializeComponent()
		{
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.chkExtension = new System.Windows.Forms.CheckBox();
            this.Label3 = new System.Windows.Forms.Label();
            this.Label1 = new System.Windows.Forms.Label();
            this.Label2 = new System.Windows.Forms.Label();
            this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
            this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl();
            this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
            ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
            this.SuspendLayout();
            // 
            // chkExtension
            // 
            this.chkExtension.BackColor = System.Drawing.SystemColors.Control;
            this.chkExtension.Cursor = System.Windows.Forms.Cursors.Default;
            this.chkExtension.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chkExtension.ForeColor = System.Drawing.SystemColors.ControlText;
            this.chkExtension.Location = new System.Drawing.Point(592, 8);
            this.chkExtension.Name = "chkExtension";
            this.chkExtension.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.chkExtension.Size = new System.Drawing.Size(113, 25);
            this.chkExtension.TabIndex = 6;
            this.chkExtension.Text = "Enable Extension";
            this.chkExtension.UseVisualStyleBackColor = false;
            this.chkExtension.CheckedChanged += new System.EventHandler(this.chkExtension_CheckedChanged);
            // 
            // Label3
            // 
            this.Label3.BackColor = System.Drawing.SystemColors.Control;
            this.Label3.Cursor = System.Windows.Forms.Cursors.Default;
            this.Label3.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Label3.ForeColor = System.Drawing.SystemColors.ControlText;
            this.Label3.Location = new System.Drawing.Point(592, 136);
            this.Label3.Name = "Label3";
            this.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label3.Size = new System.Drawing.Size(137, 65);
            this.Label3.TabIndex = 9;
            this.Label3.Text = "Enable the extension and navigate around the data using the commands from the ext" +
                "ension.";
            // 
            // Label1
            // 
            this.Label1.BackColor = System.Drawing.SystemColors.Control;
            this.Label1.Cursor = System.Windows.Forms.Cursors.Default;
            this.Label1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Label1.ForeColor = System.Drawing.SystemColors.ControlText;
            this.Label1.Location = new System.Drawing.Point(592, 88);
            this.Label1.Name = "Label1";
            this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label1.Size = new System.Drawing.Size(137, 41);
            this.Label1.TabIndex = 8;
            this.Label1.Text = "Navigate around the data using the commands on the ToolbarControl.";
            // 
            // Label2
            // 
            this.Label2.BackColor = System.Drawing.SystemColors.Control;
            this.Label2.Cursor = System.Windows.Forms.Cursors.Default;
            this.Label2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Label2.ForeColor = System.Drawing.SystemColors.ControlText;
            this.Label2.Location = new System.Drawing.Point(592, 40);
            this.Label2.Name = "Label2";
            this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label2.Size = new System.Drawing.Size(137, 40);
            this.Label2.TabIndex = 7;
            this.Label2.Text = "Browse to a map document to load into the MapControl.";
            // 
            // 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(576, 28);
            this.axToolbarControl1.TabIndex = 10;
            // 
            // axMapControl1
            // 
            this.axMapControl1.Location = new System.Drawing.Point(8, 40);
            this.axMapControl1.Name = "axMapControl1";
            this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState")));
            this.axMapControl1.Size = new System.Drawing.Size(576, 432);
            this.axMapControl1.TabIndex = 11;
            // 
            // axLicenseControl1
            // 
            this.axLicenseControl1.Enabled = true;
            this.axLicenseControl1.Location = new System.Drawing.Point(595, 204);
            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 = 12;
            // 
            // Form1
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(736, 478);
            this.Controls.Add(this.axLicenseControl1);
            this.Controls.Add(this.axMapControl1);
            this.Controls.Add(this.axToolbarControl1);
            this.Controls.Add(this.chkExtension);
            this.Controls.Add(this.Label3);
            this.Controls.Add(this.Label1);
            this.Controls.Add(this.Label2);
            this.Name = "Form1";
            this.Text = "MenuTracking";
            this.Load += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
            this.ResumeLayout(false);

		}
コード例 #26
0
 /// <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(Form1));
     this.button1              = new System.Windows.Forms.Button();
     this.button2              = new System.Windows.Forms.Button();
     this.button3              = new System.Windows.Forms.Button();
     this.button4              = new System.Windows.Forms.Button();
     this.comboBox1            = new System.Windows.Forms.ComboBox();
     this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl();
     this.axLicenseControl1    = new ESRI.ArcGIS.Controls.AxLicenseControl();
     ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(8, 8);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(88, 24);
     this.button1.TabIndex = 1;
     this.button1.Text     = "Open File";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(112, 8);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(88, 24);
     this.button2.TabIndex = 4;
     this.button2.Text     = "Page Setup";
     this.button2.Click   += new System.EventHandler(this.button2_Click);
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(216, 8);
     this.button3.Name     = "button3";
     this.button3.Size     = new System.Drawing.Size(88, 24);
     this.button3.TabIndex = 5;
     this.button3.Text     = "Print Preview";
     this.button3.Click   += new System.EventHandler(this.button3_Click);
     //
     // button4
     //
     this.button4.Location = new System.Drawing.Point(320, 8);
     this.button4.Name     = "button4";
     this.button4.Size     = new System.Drawing.Size(88, 24);
     this.button4.TabIndex = 6;
     this.button4.Text     = "Print";
     this.button4.Click   += new System.EventHandler(this.button4_Click);
     //
     // comboBox1
     //
     this.comboBox1.Location = new System.Drawing.Point(424, 8);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(144, 21);
     this.comboBox1.TabIndex = 8;
     //
     // axPageLayoutControl1
     //
     this.axPageLayoutControl1.Location = new System.Drawing.Point(0, 48);
     this.axPageLayoutControl1.Name     = "axPageLayoutControl1";
     this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState")));
     this.axPageLayoutControl1.Size     = new System.Drawing.Size(680, 520);
     this.axPageLayoutControl1.TabIndex = 9;
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(512, 88);
     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 = 10;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(680, 566);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.axPageLayoutControl1);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.button4);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.button1);
     this.Name  = "Form1";
     this.Text  = "Print Preview / Print dialog Sample";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #27
0
    /// <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(Form1));
      this.button1 = new System.Windows.Forms.Button();
      this.button2 = new System.Windows.Forms.Button();
      this.button3 = new System.Windows.Forms.Button();
      this.button4 = new System.Windows.Forms.Button();
      this.comboBox1 = new System.Windows.Forms.ComboBox();
      this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl();
      this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
      ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit();
      ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
      this.SuspendLayout();
      // 
      // button1
      // 
      this.button1.Location = new System.Drawing.Point(8, 8);
      this.button1.Name = "button1";
      this.button1.Size = new System.Drawing.Size(88, 24);
      this.button1.TabIndex = 1;
      this.button1.Text = "Open File";
      this.button1.Click += new System.EventHandler(this.button1_Click);
      // 
      // button2
      // 
      this.button2.Location = new System.Drawing.Point(112, 8);
      this.button2.Name = "button2";
      this.button2.Size = new System.Drawing.Size(88, 24);
      this.button2.TabIndex = 4;
      this.button2.Text = "Page Setup";
      this.button2.Click += new System.EventHandler(this.button2_Click);
      // 
      // button3
      // 
      this.button3.Location = new System.Drawing.Point(216, 8);
      this.button3.Name = "button3";
      this.button3.Size = new System.Drawing.Size(88, 24);
      this.button3.TabIndex = 5;
      this.button3.Text = "Print Preview";
      this.button3.Click += new System.EventHandler(this.button3_Click);
      // 
      // button4
      // 
      this.button4.Location = new System.Drawing.Point(320, 8);
      this.button4.Name = "button4";
      this.button4.Size = new System.Drawing.Size(88, 24);
      this.button4.TabIndex = 6;
      this.button4.Text = "Print";
      this.button4.Click += new System.EventHandler(this.button4_Click);
      // 
      // comboBox1
      // 
      this.comboBox1.Location = new System.Drawing.Point(424, 8);
      this.comboBox1.Name = "comboBox1";
      this.comboBox1.Size = new System.Drawing.Size(144, 21);
      this.comboBox1.TabIndex = 8;
      // 
      // axPageLayoutControl1
      // 
      this.axPageLayoutControl1.Location = new System.Drawing.Point(0, 48);
      this.axPageLayoutControl1.Name = "axPageLayoutControl1";
      this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState")));
      this.axPageLayoutControl1.Size = new System.Drawing.Size(680, 520);
      this.axPageLayoutControl1.TabIndex = 9;
      // 
      // axLicenseControl1
      // 
      this.axLicenseControl1.Enabled = true;
      this.axLicenseControl1.Location = new System.Drawing.Point(512, 88);
      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 = 10;
      // 
      // Form1
      // 
      this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
      this.ClientSize = new System.Drawing.Size(680, 566);
      this.Controls.Add(this.axLicenseControl1);
      this.Controls.Add(this.axPageLayoutControl1);
      this.Controls.Add(this.comboBox1);
      this.Controls.Add(this.button4);
      this.Controls.Add(this.button3);
      this.Controls.Add(this.button2);
      this.Controls.Add(this.button1);
      this.Name = "Form1";
      this.Text = "Print Preview / Print dialog Sample";
      this.Load += new System.EventHandler(this.Form1_Load);
      ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit();
      ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
      this.ResumeLayout(false);

    }