コード例 #1
0
        //保存地图文档
        public static void SaveMapDocument(ESRI.ArcGIS.Controls.AxMapControl axMapControl)
        {
            if (axMapControl == null)
            {
                return;
            }
            string m_mapDocumentName = axMapControl.DocumentFilename;

            if (axMapControl.CheckMxFile(m_mapDocumentName))
            {
                //新建地图文档接口
                IMapDocument mapDoc = new MapDocumentClass();
                mapDoc.Open(m_mapDocumentName, string.Empty);
                //确定文档非只读文件
                if (mapDoc.get_IsReadOnly(m_mapDocumentName))
                {
                    MessageBox.Show("Map document is read only!");
                    mapDoc.Close();
                    return;
                }
                //用当前地图替换文档内容
                mapDoc.ReplaceContents((IMxdContents)axMapControl.Map);
                //保存文档
                mapDoc.Save(mapDoc.UsesRelativePaths, false);
                //关闭文档
                mapDoc.Close();
            }
        }
コード例 #2
0
 /// <summary>
 /// 根据障碍点和经过点求解最短路径
 /// </summary>
 /// <param name="mapControl"></param>
 /// <param name="featureLayer"></param>
 /// <param name="dbPath"></param>
 /// <param name="featureSetName"></param>
 /// <param name="ndsName"></param>
 /// <param name="stopPoints"></param>
 /// <param name="barryPoints"></param>
 /// <param name="routeLayer"></param>
 /// <returns></returns>
 public bool QueryTheRoue(ESRI.ArcGIS.Controls.AxMapControl mapControl, ESRI.ArcGIS.Carto.IFeatureLayer featureLayer, string dbPath, string featureSetName, string ndsName, List<ESRI.ArcGIS.Geometry.IPoint> stopPoints, List<ESRI.ArcGIS.Geometry.IPoint> barryPoints, ref ILayer routeLayer)
 {
    // List<IPoint>   newStopPoints;
   //  List<IPoint>  newBarryPoints;
 //    UpdatePointsToRouteCore(featureLayer, stopPoints, barryPoints, out newStopPoints, out newBarryPoints);
     //实例化站点和障碍点要素
     IFeatureClass stopFeatureClass =
         FeatureClassUtil.CreateMemorySimpleFeatureClass(esriGeometryType.esriGeometryPoint, mapControl.SpatialReference, "stops");
     IFeatureClass barriesFeatureClass =
         FeatureClassUtil.CreateMemorySimpleFeatureClass(esriGeometryType.esriGeometryPoint, mapControl.SpatialReference, "barries");
     //添加站点
     foreach (var value in stopPoints)
     {
         FeatureClassUtil.InsertSimpleFeature(value, stopFeatureClass);
     }
     //添加障碍
     foreach (var value in barryPoints)
     {
         FeatureClassUtil.InsertSimpleFeature(value, barriesFeatureClass);
     }
     //组装站点和障碍点要素
     IDictionary<string, DecorateRouteFeatureClass> featureClasses = new Dictionary<string, DecorateRouteFeatureClass>();
     featureClasses.Add("Stops", new DecorateRouteFeatureClass(0.2,stopFeatureClass));
     featureClasses.Add("Barriers", new DecorateRouteFeatureClass(0.2,barriesFeatureClass));
     //最短路径分析
     bool result=NormalNetworkUtil.Short_Path(mapControl, dbPath, featureSetName, ndsName, featureClasses, false, false, ref routeLayer);
     //if (result)
    //    {
   //        showRouteShape(routeLayer as IFeatureLayer, mapControl);
   //  }
     return result;
 }
コード例 #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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ChildForm));
     this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
     this.SuspendLayout();
     //
     // axMapControl1
     //
     this.axMapControl1.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.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(376, 272);
     this.axMapControl1.TabIndex       = 0;
     this.axMapControl1.OnMapReplaced += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMapReplacedEventHandler(this.axMapControl1_OnMapReplaced);
     //
     // ChildForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(376, 270);
     this.Controls.Add(this.axMapControl1);
     this.Name          = "ChildForm";
     this.ShowInTaskbar = false;
     this.Text          = "MDIChild";
     this.Load         += new System.EventHandler(this.ChildForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).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(ChildForm));
			this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl();
			((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
			this.SuspendLayout();
			// 
			// axMapControl1
			// 
			this.axMapControl1.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.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(376, 272);
			this.axMapControl1.TabIndex = 0;
			this.axMapControl1.OnMapReplaced += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMapReplacedEventHandler(this.axMapControl1_OnMapReplaced);
			// 
			// ChildForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(376, 270);
			this.Controls.Add(this.axMapControl1);
			this.Name = "ChildForm";
			this.ShowInTaskbar = false;
			this.Text = "MDIChild";
			this.Load += new System.EventHandler(this.ChildForm_Load);
			((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
			this.ResumeLayout(false);

		}
コード例 #5
0
 public MapView(MainForm pMainform, ESRI.ArcGIS.Controls.AxMapControl pMapControl1)
 {
     m_pMainform                  = pMainform;
     axMapControl1                = pMapControl1;
     axMapControl1.OnMouseDown   += new IMapControlEvents2_Ax_OnMouseDownEventHandler(axMapControl1_OnMouseDown);
     axMapControl1.OnMouseUp     += new IMapControlEvents2_Ax_OnMouseUpEventHandler(axMapControl1_OnMouseUp);
     axMapControl1.OnKeyDown     += new IMapControlEvents2_Ax_OnKeyDownEventHandler(axMapControl1_OnKeyDown);
     axMapControl1.OnDoubleClick += new IMapControlEvents2_Ax_OnDoubleClickEventHandler(axMapControl1_OnDoubleClick);
 }
コード例 #6
0
 public void SetBuddyControl(object pCtrl)//设置绑定的地图控件
 {
     if (!(pCtrl is ESRI.ArcGIS.Controls.AxMapControl))
     {
         return;
     }
     m_MapControl = pCtrl as ESRI.ArcGIS.Controls.AxMapControl;
     m_MapControl.OnMapReplaced   += new IMapControlEvents2_Ax_OnMapReplacedEventHandler(Ctrl_MapReplace);
     m_MapControl.OnExtentUpdated += new IMapControlEvents2_Ax_OnExtentUpdatedEventHandler(Ctrl_ExtentUpdated);
 }
コード例 #7
0
        /// <summary>
        /// 设置当前工具为空
        /// </summary>
        /// <param name="axMapControl"></param>
        public static void setNull(ESRI.ArcGIS.Controls.AxMapControl axMapControl)
        {
            if (axMapControl == null)
            {
                return;
            }
            IMapControl2 mapControl = (IMapControl2)axMapControl.Object;

            mapControl.CurrentTool = null;
        }
コード例 #8
0
        //设置当前工具为空
        public static void SetNull(ESRI.ArcGIS.Controls.AxMapControl axMapControl)
        {
            if (axMapControl == null)
            {
                return;
            }
            IMapControl2 mapControl = (IMapControl2)axMapControl.Object;

            mapControl.MousePointer = esriControlsMousePointer.esriPointerArrow;
            mapControl.CurrentTool  = null;
        }
コード例 #9
0
ファイル: TOCEdit.cs プロジェクト: moosexu/GISBase
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="pTOCControl"></param>
 /// <param name="pMapControl"></param>
 public TOCEdit(ESRI.ArcGIS.Controls.AxTOCControl pTOCControl, ESRI.ArcGIS.Controls.AxMapControl pMapControl, MainForm pMain)
 {
     m_pMainForm                  = pMain;
     m_pMapControl                = pMapControl;
     m_pTOCControl                = pTOCControl;
     m_pTOCControl.OnMouseDown   += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnMouseDownEventHandler(m_pTOCControl_OnMouseDown);
     m_pTOCControl.OnKeyDown     += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnKeyDownEventHandler(m_pTOCControl_OnKeyDown);
     m_pTOCControl.OnKeyUp       += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnKeyUpEventHandler(m_pTOCControl_OnKeyUp);
     m_pMapControl.OnMapReplaced += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMapReplacedEventHandler(m_pMapControl_OnMapReplaced);
     m_pMapControl.OnAfterDraw   += new IMapControlEvents2_Ax_OnAfterDrawEventHandler(m_pMapControl_OnAfterDraw);
 }
コード例 #10
0
        //比例缩小
        public static void ZoomOutFixed(ESRI.ArcGIS.Controls.AxMapControl axMapControl)
        {
            if (axMapControl == null)
            {
                return;
            }
            ICommand pCommand;

            pCommand = new ControlsMapZoomOutFixedCommand();
            pCommand.OnCreate(axMapControl.Object);
            pCommand.OnClick();
        }
コード例 #11
0
        //缩小
        public static void ZoomOut(ESRI.ArcGIS.Controls.AxMapControl axMapControl)
        {
            if (axMapControl == null)
            {
                return;
            }
            ICommand pCommand;

            pCommand = new ControlsMapZoomOutToolClass();
            pCommand.OnCreate(axMapControl.Object);
            axMapControl.CurrentTool = (ITool)pCommand;
        }
コード例 #12
0
        //全局显示
        public static void FullExtend(ESRI.ArcGIS.Controls.AxMapControl axMapControl)
        {
            if (axMapControl == null)
            {
                return;
            }
            ICommand pCommand;

            pCommand = new ESRI.ArcGIS.Controls.ControlsMapFullExtentCommand();
            pCommand.OnCreate(axMapControl.Object);
            pCommand.OnClick();
        }
コード例 #13
0
        //上一场景
        public static void ZoomToLastExtentBack(ESRI.ArcGIS.Controls.AxMapControl axMapControl)
        {
            if (axMapControl == null)
            {
                return;
            }
            ICommand pCommand;

            pCommand = new ControlsMapZoomToLastExtentBackCommand();
            pCommand.OnCreate(axMapControl.Object);
            pCommand.OnClick();
        }
コード例 #14
0
        /// <summary>
        /// 添加数据
        /// </summary>
        public static void AddData(ESRI.ArcGIS.Controls.AxMapControl axMapControl)
        {
            if (axMapControl == null)
            {
                return;
            }
            ICommand pCommand;

            pCommand = new ControlsAddDataCommandClass();
            pCommand.OnCreate(axMapControl.Object);
            pCommand.OnClick();
        }
コード例 #15
0
 //新建地图文档
 public static void NewMapDocument(ESRI.ArcGIS.Controls.AxMapControl axMapControl)
 {
     if (axMapControl == null)
     {
         return;
     }
     try
     {
         ICommand command = new CreateNewMapDocument();
         command.OnCreate(axMapControl.Object);
         command.OnClick();
     }
     catch (Exception e)
     {
         MessageBox.Show(e.Message);
     }
 }
コード例 #16
0
 //打开地图文档
 public static void OpenFromFile(ESRI.ArcGIS.Controls.AxMapControl axMapControl)
 {
     if (axMapControl == null)
     {
         return;
     }
     try
     {
         ICommand pCommand;
         pCommand = new ControlsOpenDocCommandClass();
         pCommand.OnCreate(axMapControl.Object);
         pCommand.OnClick();
     }
     catch (Exception e)
     {
         MessageBox.Show(e.Message);
     }
 }
コード例 #17
0
        public static void FlashFeature(ESRI.ArcGIS.Controls.AxMapControl pMapControl1, IGeometry pGeometry)//要素闪烁
        {
            esriGeometryType pGeometryType = pGeometry.GeometryType;
            ISymbol          pSymbol       = null;
            IColor           pColor        = new RgbColorClass();

            pColor.RGB = 255;

            if (pGeometryType == esriGeometryType.esriGeometryPolygon)
            {
                ISimpleFillSymbol pSimpleFillSymbol = new SimpleFillSymbolClass();
                pSimpleFillSymbol.Color = pColor;
                pSymbol = pSimpleFillSymbol as ISymbol;
            }
            else if (pGeometryType == esriGeometryType.esriGeometryPolyline || pGeometryType == esriGeometryType.esriGeometryLine)
            {
                ISimpleLineSymbol pSimpleLineSymbol = new SimpleLineSymbolClass();
                pSimpleLineSymbol.Color = pColor;
                pSimpleLineSymbol.Width = 5;
                pSymbol = pSimpleLineSymbol as ISymbol;
            }
            else if (pGeometryType == esriGeometryType.esriGeometryPoint || pGeometryType == esriGeometryType.esriGeometryMultipoint)
            {
                ISimpleMarkerSymbol pSimpleMarkerSymbol = new SimpleMarkerSymbolClass();
                pSimpleMarkerSymbol.OutlineColor = pColor;
                pSimpleMarkerSymbol.OutlineSize  = 5;
                pSymbol = pSimpleMarkerSymbol as ISymbol;
            }
            else
            {
                ISimpleFillSymbol pSimpleFillSymbol = new SimpleFillSymbolClass();
                pSimpleFillSymbol.Color = pColor;
                pSymbol = pSimpleFillSymbol as ISymbol;
            }
            pMapControl1.FlashShape(pGeometry, 5, 200, pSymbol);
        }
コード例 #18
0
ファイル: Map2DView.cs プロジェクト: wwcc19870805/DIFGIS
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Map2DView));
     this.axMapControl = new ESRI.ArcGIS.Controls.AxMapControl();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl)).BeginInit();
     this.SuspendLayout();
     //
     // axMapControl
     //
     this.axMapControl.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.axMapControl.Location = new System.Drawing.Point(0, 0);
     this.axMapControl.Name     = "axMapControl";
     this.axMapControl.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl.OcxState")));
     this.axMapControl.Size     = new System.Drawing.Size(170, 168);
     this.axMapControl.TabIndex = 0;
     //
     // Map2DView
     //
     this.Controls.Add(this.axMapControl);
     this.Name = "Map2DView";
     this.Size = new System.Drawing.Size(170, 168);
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ShareCommandPool));
     this.chkShare          = new System.Windows.Forms.CheckBox();
     this.Label7            = new System.Windows.Forms.Label();
     this.Label6            = new System.Windows.Forms.Label();
     this.Label3            = new System.Windows.Forms.Label();
     this.Label1            = new System.Windows.Forms.Label();
     this.lstCommandPool2   = new System.Windows.Forms.ListBox();
     this.lstCommandPool1   = new System.Windows.Forms.ListBox();
     this.Label4            = new System.Windows.Forms.Label();
     this.Label2            = new System.Windows.Forms.Label();
     this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
     this.axToolbarControl2 = 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.axToolbarControl2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     this.SuspendLayout();
     //
     // chkShare
     //
     this.chkShare.BackColor               = System.Drawing.SystemColors.Control;
     this.chkShare.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.chkShare.Font                    = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chkShare.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.chkShare.Location                = new System.Drawing.Point(416, 24);
     this.chkShare.Name                    = "chkShare";
     this.chkShare.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.chkShare.Size                    = new System.Drawing.Size(129, 25);
     this.chkShare.TabIndex                = 11;
     this.chkShare.Text                    = "Share CommandPool";
     this.chkShare.UseVisualStyleBackColor = false;
     this.chkShare.Click                  += new System.EventHandler(this.chkShare_Click);
     //
     // Label7
     //
     this.Label7.BackColor   = System.Drawing.SystemColors.Control;
     this.Label7.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label7.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Label7.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label7.Location    = new System.Drawing.Point(408, 112);
     this.Label7.Name        = "Label7";
     this.Label7.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label7.Size        = new System.Drawing.Size(193, 49);
     this.Label7.TabIndex    = 12;
     this.Label7.Text        = "2) Select a ZoomIn, ZoomOut or Pan tool. Notice that only one tool is depressed. " +
                               "";
     //
     // Label6
     //
     this.Label6.BackColor   = System.Drawing.SystemColors.Control;
     this.Label6.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label6.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Label6.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label6.Location    = new System.Drawing.Point(408, 80);
     this.Label6.Name        = "Label6";
     this.Label6.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label6.Size        = new System.Drawing.Size(193, 33);
     this.Label6.TabIndex    = 10;
     this.Label6.Text        = "1) Browse to a map document to load into the MapControl.";
     //
     // 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(408, 160);
     this.Label3.Name        = "Label3";
     this.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label3.Size        = new System.Drawing.Size(193, 49);
     this.Label3.TabIndex    = 9;
     this.Label3.Text        = "3) Share the same CommandPool between both ToolbarControls. Notice that the Usage" +
                               "Count changes.";
     //
     // 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(408, 208);
     this.Label1.Name        = "Label1";
     this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label1.Size        = new System.Drawing.Size(193, 57);
     this.Label1.TabIndex    = 8;
     this.Label1.Text        = "4) Select a ZoomIn, ZoomOut or Pan tool. Notice that the same tool on both Toolba" +
                               "rControls becomes depressed.";
     //
     // lstCommandPool2
     //
     this.lstCommandPool2.BackColor   = System.Drawing.SystemColors.Window;
     this.lstCommandPool2.Cursor      = System.Windows.Forms.Cursors.Default;
     this.lstCommandPool2.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lstCommandPool2.ForeColor   = System.Drawing.SystemColors.WindowText;
     this.lstCommandPool2.ItemHeight  = 14;
     this.lstCommandPool2.Location    = new System.Drawing.Point(304, 296);
     this.lstCommandPool2.Name        = "lstCommandPool2";
     this.lstCommandPool2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.lstCommandPool2.Size        = new System.Drawing.Size(281, 88);
     this.lstCommandPool2.TabIndex    = 15;
     //
     // lstCommandPool1
     //
     this.lstCommandPool1.BackColor   = System.Drawing.SystemColors.Window;
     this.lstCommandPool1.Cursor      = System.Windows.Forms.Cursors.Default;
     this.lstCommandPool1.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lstCommandPool1.ForeColor   = System.Drawing.SystemColors.WindowText;
     this.lstCommandPool1.ItemHeight  = 14;
     this.lstCommandPool1.Location    = new System.Drawing.Point(8, 296);
     this.lstCommandPool1.Name        = "lstCommandPool1";
     this.lstCommandPool1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.lstCommandPool1.Size        = new System.Drawing.Size(281, 88);
     this.lstCommandPool1.TabIndex    = 14;
     //
     // 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, ((byte)(0)));
     this.Label4.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label4.Location    = new System.Drawing.Point(304, 280);
     this.Label4.Name        = "Label4";
     this.Label4.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label4.Size        = new System.Drawing.Size(193, 17);
     this.Label4.TabIndex    = 17;
     this.Label4.Text        = "CommandPool2";
     //
     // 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(8, 280);
     this.Label2.Name        = "Label2";
     this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label2.Size        = new System.Drawing.Size(193, 17);
     this.Label2.TabIndex    = 16;
     this.Label2.Text        = "CommandPool1";
     //
     // 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 = 18;
     //
     // axToolbarControl2
     //
     this.axToolbarControl2.Location = new System.Drawing.Point(8, 40);
     this.axToolbarControl2.Name     = "axToolbarControl2";
     this.axToolbarControl2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl2.OcxState")));
     this.axToolbarControl2.Size     = new System.Drawing.Size(392, 28);
     this.axToolbarControl2.TabIndex = 19;
     //
     // axMapControl1
     //
     this.axMapControl1.Location = new System.Drawing.Point(8, 72);
     this.axMapControl1.Name     = "axMapControl1";
     this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState")));
     this.axMapControl1.Size     = new System.Drawing.Size(392, 200);
     this.axMapControl1.TabIndex = 20;
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(556, 258);
     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 = 21;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(600, 398);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.axMapControl1);
     this.Controls.Add(this.axToolbarControl2);
     this.Controls.Add(this.axToolbarControl1);
     this.Controls.Add(this.lstCommandPool2);
     this.Controls.Add(this.lstCommandPool1);
     this.Controls.Add(this.Label4);
     this.Controls.Add(this.Label2);
     this.Controls.Add(this.chkShare);
     this.Controls.Add(this.Label7);
     this.Controls.Add(this.Label6);
     this.Controls.Add(this.Label3);
     this.Controls.Add(this.Label1);
     this.Name  = "Form1";
     this.Text  = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).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()
		{
			this.components = new System.ComponentModel.Container();
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(GeoEvents));
			this.cmdFullExtent = new System.Windows.Forms.Button();
			this.chkTracking = new System.Windows.Forms.CheckBox();
			this.Label1 = new System.Windows.Forms.Label();
			this.timer1 = new System.Windows.Forms.Timer(this.components);
			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(560, 416);
			this.cmdFullExtent.Name = "cmdFullExtent";
			this.cmdFullExtent.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.cmdFullExtent.Size = new System.Drawing.Size(121, 25);
			this.cmdFullExtent.TabIndex = 4;
			this.cmdFullExtent.Text = "Zoom to Full Extent";
			this.cmdFullExtent.Click += new System.EventHandler(this.cmdFullExtent_Click);
			// 
			// chkTracking
			// 
			this.chkTracking.BackColor = System.Drawing.SystemColors.Control;
			this.chkTracking.Cursor = System.Windows.Forms.Cursors.Default;
			this.chkTracking.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.chkTracking.ForeColor = System.Drawing.SystemColors.ControlText;
			this.chkTracking.Location = new System.Drawing.Point(16, 424);
			this.chkTracking.Name = "chkTracking";
			this.chkTracking.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.chkTracking.Size = new System.Drawing.Size(137, 17);
			this.chkTracking.TabIndex = 3;
			this.chkTracking.Text = "Enable GPS Tracking";
			this.chkTracking.Click += new System.EventHandler(this.chkTracking_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(152, 416);
			this.Label1.Name = "Label1";
			this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Label1.Size = new System.Drawing.Size(353, 33);
			this.Label1.TabIndex = 5;
			this.Label1.Text = "Use the left hand mouse button to zoom in. Use the other mouse buttons to click o" +
				"n an agent and change the symbology.  ";
			// 
			// timer1
			// 
			this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
			// 
			// 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(664, 400);
			this.axMapControl1.TabIndex = 6;
			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, 16);
			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 = 7;
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(680, 454);
			this.Controls.Add(this.axLicenseControl1);
			this.Controls.Add(this.axMapControl1);
			this.Controls.Add(this.cmdFullExtent);
			this.Controls.Add(this.chkTracking);
			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);

		}
コード例 #21
0
		private void InitializeComponent()
		{
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.btnOptions1 = new System.Windows.Forms.Button();
            this.btnOptions2 = new System.Windows.Forms.Button();
            this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
            this.axToolbarControl2 = new ESRI.ArcGIS.Controls.AxToolbarControl();
            this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl();
            this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl();
            this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
            ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
            this.tableLayoutPanel1.SuspendLayout();
            this.SuspendLayout();
            // 
            // btnOptions1
            // 
            this.btnOptions1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnOptions1.Location = new System.Drawing.Point(876, 3);
            this.btnOptions1.Name = "btnOptions1";
            this.btnOptions1.Size = new System.Drawing.Size(90, 23);
            this.btnOptions1.TabIndex = 5;
            this.btnOptions1.Text = "Edit Options1";
            this.btnOptions1.Click += new System.EventHandler(this.btnOptions1_Click);
            // 
            // btnOptions2
            // 
            this.btnOptions2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnOptions2.Location = new System.Drawing.Point(876, 37);
            this.btnOptions2.Name = "btnOptions2";
            this.btnOptions2.Size = new System.Drawing.Size(90, 23);
            this.btnOptions2.TabIndex = 6;
            this.btnOptions2.Text = "Edit Options2";
            this.btnOptions2.Click += new System.EventHandler(this.btnOptions2_Click);
            // 
            // axToolbarControl1
            // 
            this.axToolbarControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.axToolbarControl1.Location = new System.Drawing.Point(159, 37);
            this.axToolbarControl1.Name = "axToolbarControl1";
            this.axToolbarControl1.Size = new System.Drawing.Size(704, 28);
            this.axToolbarControl1.TabIndex = 7;
            // 
            // axToolbarControl2
            // 
            this.axToolbarControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.axToolbarControl2.Location = new System.Drawing.Point(159, 3);
            this.axToolbarControl2.Name = "axToolbarControl2";
            this.axToolbarControl2.Size = new System.Drawing.Size(704, 28);
            this.axToolbarControl2.TabIndex = 8;
            // 
            // 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(3, 66);
            this.axTOCControl1.Name = "axTOCControl1";
            this.axTOCControl1.Size = new System.Drawing.Size(150, 433);
            this.axTOCControl1.TabIndex = 9;
            // 
            // axMapControl1
            // 
            this.axMapControl1.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.axMapControl1.Location = new System.Drawing.Point(159, 66);
            this.axMapControl1.Name = "axMapControl1";
            this.axMapControl1.Size = new System.Drawing.Size(704, 433);
            this.axMapControl1.TabIndex = 10;
            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(3, 3);
            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;
            // 
            // tableLayoutPanel1
            // 
            this.tableLayoutPanel1.ColumnCount = 3;
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 18.02493F));
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 81.97507F));
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 102F));
            this.tableLayoutPanel1.Controls.Add(this.axMapControl1, 1, 2);
            this.tableLayoutPanel1.Controls.Add(this.axTOCControl1, 0, 2);
            this.tableLayoutPanel1.Controls.Add(this.btnOptions1, 2, 0);
            this.tableLayoutPanel1.Controls.Add(this.btnOptions2, 2, 1);
            this.tableLayoutPanel1.Controls.Add(this.axLicenseControl1, 0, 0);
            this.tableLayoutPanel1.Controls.Add(this.axToolbarControl2, 1, 0);
            this.tableLayoutPanel1.Controls.Add(this.axToolbarControl1, 1, 1);
            this.tableLayoutPanel1.Location = new System.Drawing.Point(11, 10);
            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 3;
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 53.42466F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 46.57534F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 438F));
            this.tableLayoutPanel1.Size = new System.Drawing.Size(969, 502);
            this.tableLayoutPanel1.TabIndex = 12;
            // 
            // Form1
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(1188, 599);
            this.Controls.Add(this.tableLayoutPanel1);
            this.KeyPreview = true;
            this.Name = "Form1";
            this.Text = "Feature Editing";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown);
            ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
            this.tableLayoutPanel1.ResumeLayout(false);
            this.ResumeLayout(false);

		}
コード例 #22
0
 public MapHelper(ESRI.ArcGIS.Controls.AxMapControl pMapCtrl)
 {
     this.mapControl = pMapCtrl;
 }
コード例 #23
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.Label4            = new System.Windows.Forms.Label();
     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();
     //
     // 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(456, 192);
     this.Label4.Name        = "Label4";
     this.Label4.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label4.Size        = new System.Drawing.Size(137, 49);
     this.Label4.TabIndex    = 8;
     this.Label4.Text        = "Create a new bookmark based on the current extent of the focus map.";
     //
     // 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(456, 96);
     this.Label3.Name        = "Label3";
     this.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label3.Size        = new System.Drawing.Size(137, 41);
     this.Label3.TabIndex    = 7;
     this.Label3.Text        = "Navigate around the data using the commands on the ToolbarControl.";
     //
     // 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(456, 144);
     this.Label1.Name        = "Label1";
     this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label1.Size        = new System.Drawing.Size(137, 49);
     this.Label1.TabIndex    = 6;
     this.Label1.Text        = "Zoom to any bookmarks listed in the spatial bookmark menu.";
     //
     // 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(456, 48);
     this.Label2.Name        = "Label2";
     this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label2.Size        = new System.Drawing.Size(137, 40);
     this.Label2.TabIndex    = 5;
     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(584, 28);
     this.axToolbarControl1.TabIndex = 9;
     //
     // 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(440, 312);
     this.axMapControl1.TabIndex = 10;
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(360, 264);
     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 = 11;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(600, 358);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.axMapControl1);
     this.Controls.Add(this.axToolbarControl1);
     this.Controls.Add(this.Label4);
     this.Controls.Add(this.Label3);
     this.Controls.Add(this.Label1);
     this.Controls.Add(this.Label2);
     this.Name  = "Form1";
     this.Text  = "Form1";
     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);
 }
コード例 #24
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(frmMain));
     this.mainMenu1            = new System.Windows.Forms.MainMenu(this.components);
     this.menuFile             = new System.Windows.Forms.MenuItem();
     this.menuOpenDoc          = new System.Windows.Forms.MenuItem();
     this.menuNewDoc           = new System.Windows.Forms.MenuItem();
     this.menuSaveDoc          = new System.Windows.Forms.MenuItem();
     this.menuSaveAsDoc        = new System.Windows.Forms.MenuItem();
     this.menuSeparator        = new System.Windows.Forms.MenuItem();
     this.menuAppExit          = new System.Windows.Forms.MenuItem();
     this.statusBar1           = new System.Windows.Forms.StatusBar();
     this.statusBarXYUnits     = new System.Windows.Forms.StatusBarPanel();
     this.axToolbarControl1    = new ESRI.ArcGIS.Controls.AxToolbarControl();
     this.axTOCControl1        = new ESRI.ArcGIS.Controls.AxTOCControl();
     this.tabControl1          = new System.Windows.Forms.TabControl();
     this.tabPage1             = new System.Windows.Forms.TabPage();
     this.axLicenseControl1    = new ESRI.ArcGIS.Controls.AxLicenseControl();
     this.axMapControl1        = new ESRI.ArcGIS.Controls.AxMapControl();
     this.tabPage2             = new System.Windows.Forms.TabPage();
     this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl();
     this.axToolbarControl2    = new ESRI.ArcGIS.Controls.AxToolbarControl();
     this.splitter1            = new System.Windows.Forms.Splitter();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarXYUnits)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
     this.tabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl2)).BeginInit();
     this.SuspendLayout();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuFile
     });
     //
     // menuFile
     //
     this.menuFile.Index = 0;
     this.menuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuOpenDoc,
         this.menuNewDoc,
         this.menuSaveDoc,
         this.menuSaveAsDoc,
         this.menuSeparator,
         this.menuAppExit
     });
     this.menuFile.Text = "File";
     //
     // menuOpenDoc
     //
     this.menuOpenDoc.Index  = 0;
     this.menuOpenDoc.Text   = "Open...";
     this.menuOpenDoc.Click += new System.EventHandler(this.menuOpenDoc_Click);
     //
     // menuNewDoc
     //
     this.menuNewDoc.Index  = 1;
     this.menuNewDoc.Text   = "New...";
     this.menuNewDoc.Click += new System.EventHandler(this.menuNewDoc_Click);
     //
     // menuSaveDoc
     //
     this.menuSaveDoc.Index  = 2;
     this.menuSaveDoc.Text   = "Save";
     this.menuSaveDoc.Click += new System.EventHandler(this.menuSaveDoc_Click);
     //
     // menuSaveAsDoc
     //
     this.menuSaveAsDoc.Index  = 3;
     this.menuSaveAsDoc.Text   = "Save As...";
     this.menuSaveAsDoc.Click += new System.EventHandler(this.menuSaveAsDoc_Click);
     //
     // menuSeparator
     //
     this.menuSeparator.Index = 4;
     this.menuSeparator.Text  = "-";
     //
     // menuAppExit
     //
     this.menuAppExit.Index  = 5;
     this.menuAppExit.Text   = "Exit";
     this.menuAppExit.Click += new System.EventHandler(this.menuAppExit_Click);
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 544);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this.statusBarXYUnits
     });
     this.statusBar1.ShowPanels = true;
     this.statusBar1.Size       = new System.Drawing.Size(784, 22);
     this.statusBar1.TabIndex   = 5;
     //
     // statusBarXYUnits
     //
     this.statusBarXYUnits.Name  = "statusBarXYUnits";
     this.statusBarXYUnits.Width = 200;
     //
     // axToolbarControl1
     //
     this.axToolbarControl1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.axToolbarControl1.Location = new System.Drawing.Point(0, 0);
     this.axToolbarControl1.Name     = "axToolbarControl1";
     this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState")));
     this.axToolbarControl1.Size     = new System.Drawing.Size(784, 28);
     this.axToolbarControl1.TabIndex = 7;
     //
     // axTOCControl1
     //
     this.axTOCControl1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.axTOCControl1.Location = new System.Drawing.Point(0, 28);
     this.axTOCControl1.Name     = "axTOCControl1";
     this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState")));
     this.axTOCControl1.Size     = new System.Drawing.Size(200, 516);
     this.axTOCControl1.TabIndex = 8;
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.tabControl1.Location              = new System.Drawing.Point(200, 28);
     this.tabControl1.Name                  = "tabControl1";
     this.tabControl1.SelectedIndex         = 0;
     this.tabControl1.Size                  = new System.Drawing.Size(584, 488);
     this.tabControl1.TabIndex              = 9;
     this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.axLicenseControl1);
     this.tabPage1.Controls.Add(this.axMapControl1);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Size     = new System.Drawing.Size(576, 462);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "Map";
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(210, 220);
     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 = 1;
     //
     // 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(576, 462);
     this.axMapControl1.TabIndex     = 0;
     this.axMapControl1.OnMouseMove += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseMoveEventHandler(this.axMapControl1_OnMouseMove);
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.axPageLayoutControl1);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Size     = new System.Drawing.Size(576, 462);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "Layout";
     //
     // axPageLayoutControl1
     //
     this.axPageLayoutControl1.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.axPageLayoutControl1.Location     = new System.Drawing.Point(0, 0);
     this.axPageLayoutControl1.Name         = "axPageLayoutControl1";
     this.axPageLayoutControl1.OcxState     = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState")));
     this.axPageLayoutControl1.Size         = new System.Drawing.Size(576, 462);
     this.axPageLayoutControl1.TabIndex     = 0;
     this.axPageLayoutControl1.OnMouseMove += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnMouseMoveEventHandler(this.axPageLayoutControl1_OnMouseMove);
     //
     // axToolbarControl2
     //
     this.axToolbarControl2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.axToolbarControl2.Location = new System.Drawing.Point(200, 516);
     this.axToolbarControl2.Name     = "axToolbarControl2";
     this.axToolbarControl2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl2.OcxState")));
     this.axToolbarControl2.Size     = new System.Drawing.Size(584, 28);
     this.axToolbarControl2.TabIndex = 10;
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(200, 28);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 488);
     this.splitter1.TabIndex = 11;
     this.splitter1.TabStop  = false;
     //
     // frmMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(784, 566);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.axToolbarControl2);
     this.Controls.Add(this.axTOCControl1);
     this.Controls.Add(this.axToolbarControl1);
     this.Controls.Add(this.statusBar1);
     this.Menu  = this.mainMenu1;
     this.Name  = "frmMain";
     this.Text  = "Map & PageLayout synchronization";
     this.Load += new System.EventHandler(this.frmMain_Load);
     ((System.ComponentModel.ISupportInitialize)(this.statusBarXYUnits)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
     this.tabPage2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl2)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #25
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.cmdAddSubMenu = new System.Windows.Forms.Button();
            this.cmdAddMenu = new System.Windows.Forms.Button();
            this.Label4 = new System.Windows.Forms.Label();
            this.Label2 = 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.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl();
            this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
            this.Label5 = new System.Windows.Forms.Label();
            ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
            this.SuspendLayout();
            // 
            // cmdAddSubMenu
            // 
            this.cmdAddSubMenu.BackColor = System.Drawing.SystemColors.Control;
            this.cmdAddSubMenu.Cursor = System.Windows.Forms.Cursors.Default;
            this.cmdAddSubMenu.Enabled = false;
            this.cmdAddSubMenu.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmdAddSubMenu.ForeColor = System.Drawing.SystemColors.ControlText;
            this.cmdAddSubMenu.Location = new System.Drawing.Point(464, 272);
            this.cmdAddSubMenu.Name = "cmdAddSubMenu";
            this.cmdAddSubMenu.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.cmdAddSubMenu.Size = new System.Drawing.Size(97, 33);
            this.cmdAddSubMenu.TabIndex = 12;
            this.cmdAddSubMenu.Text = "Add Sub Menu";
            this.cmdAddSubMenu.UseVisualStyleBackColor = false;
            this.cmdAddSubMenu.Click += new System.EventHandler(this.cmdAddSubMenu_Click);
            // 
            // cmdAddMenu
            // 
            this.cmdAddMenu.BackColor = System.Drawing.SystemColors.Control;
            this.cmdAddMenu.Cursor = System.Windows.Forms.Cursors.Default;
            this.cmdAddMenu.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmdAddMenu.ForeColor = System.Drawing.SystemColors.ControlText;
            this.cmdAddMenu.Location = new System.Drawing.Point(464, 176);
            this.cmdAddMenu.Name = "cmdAddMenu";
            this.cmdAddMenu.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.cmdAddMenu.Size = new System.Drawing.Size(97, 33);
            this.cmdAddMenu.TabIndex = 11;
            this.cmdAddMenu.Text = "Add Menu";
            this.cmdAddMenu.UseVisualStyleBackColor = false;
            this.cmdAddMenu.Click += new System.EventHandler(this.cmdAddMenu_Click);
            // 
            // 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, ((byte)(0)));
            this.Label4.ForeColor = System.Drawing.SystemColors.ControlText;
            this.Label4.Location = new System.Drawing.Point(440, 232);
            this.Label4.Name = "Label4";
            this.Label4.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label4.Size = new System.Drawing.Size(137, 41);
            this.Label4.TabIndex = 13;
            this.Label4.Text = "Add a sub-menu to the Navigation menu.";
            // 
            // 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(440, 40);
            this.Label2.Name = "Label2";
            this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label2.Size = new System.Drawing.Size(144, 33);
            this.Label2.TabIndex = 10;
            this.Label2.Text = "Browse to a map document to load into the MapControl.";
            // 
            // 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(440, 136);
            this.Label3.Name = "Label3";
            this.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label3.Size = new System.Drawing.Size(145, 33);
            this.Label3.TabIndex = 9;
            this.Label3.Text = "Add the Navigation menu onto the ToolbarControl.";
            // 
            // 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(440, 80);
            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.";
            // 
            // 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;
            // 
            // 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(424, 368);
            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(24, 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 = 16;
            // 
            // 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, ((byte)(0)));
            this.Label5.ForeColor = System.Drawing.SystemColors.ControlText;
            this.Label5.Location = new System.Drawing.Point(439, 328);
            this.Label5.Name = "Label5";
            this.Label5.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label5.Size = new System.Drawing.Size(145, 33);
            this.Label5.TabIndex = 17;
            this.Label5.Text = "Right click on the display to popup the Navigation menu";
            // 
            // Form1
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(608, 414);
            this.Controls.Add(this.Label5);
            this.Controls.Add(this.axLicenseControl1);
            this.Controls.Add(this.axMapControl1);
            this.Controls.Add(this.axToolbarControl1);
            this.Controls.Add(this.cmdAddSubMenu);
            this.Controls.Add(this.cmdAddMenu);
            this.Controls.Add(this.Label4);
            this.Controls.Add(this.Label2);
            this.Controls.Add(this.Label3);
            this.Controls.Add(this.Label1);
            this.Name = "Form1";
            this.Text = "Form1";
            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
ファイル: ChildForm.cs プロジェクト: afocusman/PRSS_programYM
 /// <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(ChildForm));
     this.statusStrip1 = new System.Windows.Forms.StatusStrip();
     this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel3 = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel4 = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel5 = new System.Windows.Forms.ToolStripStatusLabel();
     this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.打开属性表ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.自动标注ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.缩放到图层ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.移除图层ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl();
     this.axMapControl2 = new ESRI.ArcGIS.Controls.AxMapControl();
     this.statusStrip1.SuspendLayout();
     this.contextMenuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit();
     this.tabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl2)).BeginInit();
     this.SuspendLayout();
     //
     // statusStrip1
     //
     this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripStatusLabel1,
     this.toolStripStatusLabel2,
     this.toolStripStatusLabel3,
     this.toolStripStatusLabel4,
     this.toolStripStatusLabel5});
     this.statusStrip1.Location = new System.Drawing.Point(0, 379);
     this.statusStrip1.Name = "statusStrip1";
     this.statusStrip1.Size = new System.Drawing.Size(774, 22);
     this.statusStrip1.TabIndex = 1;
     this.statusStrip1.Text = "statusStrip1";
     //
     // toolStripStatusLabel1
     //
     this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
     this.toolStripStatusLabel1.Size = new System.Drawing.Size(131, 17);
     this.toolStripStatusLabel1.Text = "toolStripStatusLabel1";
     //
     // toolStripStatusLabel2
     //
     this.toolStripStatusLabel2.Name = "toolStripStatusLabel2";
     this.toolStripStatusLabel2.Size = new System.Drawing.Size(131, 17);
     this.toolStripStatusLabel2.Text = "toolStripStatusLabel2";
     //
     // toolStripStatusLabel3
     //
     this.toolStripStatusLabel3.Name = "toolStripStatusLabel3";
     this.toolStripStatusLabel3.Size = new System.Drawing.Size(131, 17);
     this.toolStripStatusLabel3.Text = "toolStripStatusLabel3";
     //
     // toolStripStatusLabel4
     //
     this.toolStripStatusLabel4.Name = "toolStripStatusLabel4";
     this.toolStripStatusLabel4.Size = new System.Drawing.Size(131, 17);
     this.toolStripStatusLabel4.Text = "toolStripStatusLabel4";
     //
     // toolStripStatusLabel5
     //
     this.toolStripStatusLabel5.Name = "toolStripStatusLabel5";
     this.toolStripStatusLabel5.Size = new System.Drawing.Size(131, 17);
     this.toolStripStatusLabel5.Text = "toolStripStatusLabel5";
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.打开属性表ToolStripMenuItem,
     this.缩放到图层ToolStripMenuItem,
     this.自动标注ToolStripMenuItem,
     this.移除图层ToolStripMenuItem});
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new System.Drawing.Size(153, 114);
     //
     // 打开属性表ToolStripMenuItem
     //
     this.打开属性表ToolStripMenuItem.Name = "打开属性表ToolStripMenuItem";
     this.打开属性表ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     this.打开属性表ToolStripMenuItem.Text = "打开属性表";
     this.打开属性表ToolStripMenuItem.Click += new System.EventHandler(this.打开属性表ToolStripMenuItem_Click);
     //
     // 自动标注ToolStripMenuItem
     //
     this.自动标注ToolStripMenuItem.Name = "自动标注ToolStripMenuItem";
     this.自动标注ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     this.自动标注ToolStripMenuItem.Text = "标注";
     //
     // 缩放到图层ToolStripMenuItem
     //
     this.缩放到图层ToolStripMenuItem.Name = "缩放到图层ToolStripMenuItem";
     this.缩放到图层ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     this.缩放到图层ToolStripMenuItem.Text = "缩放到图层";
     this.缩放到图层ToolStripMenuItem.Click += new System.EventHandler(this.缩放到图层ToolStripMenuItem_Click);
     //
     // 移除图层ToolStripMenuItem
     //
     this.移除图层ToolStripMenuItem.Name = "移除图层ToolStripMenuItem";
     this.移除图层ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     this.移除图层ToolStripMenuItem.Text = "移除图层";
     this.移除图层ToolStripMenuItem.Click += new System.EventHandler(this.移除图层ToolStripMenuItem_Click);
     //
     // 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(0, 0);
     this.axPageLayoutControl1.Name = "axPageLayoutControl1";
     this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState")));
     this.axPageLayoutControl1.Size = new System.Drawing.Size(541, 352);
     this.axPageLayoutControl1.TabIndex = 3;
     //
     // tabPage2
     //
     this.tabPage2.AutoScroll = true;
     this.tabPage2.Controls.Add(this.axPageLayoutControl1);
     this.tabPage2.Location = new System.Drawing.Point(4, 4);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size = new System.Drawing.Size(541, 352);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "出图";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // 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(2, 1);
     this.axTOCControl1.Name = "axTOCControl1";
     this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState")));
     this.axTOCControl1.Size = new System.Drawing.Size(221, 257);
     this.axTOCControl1.TabIndex = 0;
     this.axTOCControl1.OnMouseDown += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnMouseDownEventHandler(this.axTOCControl1_OnMouseDown);
     //
     // tabControl1
     //
     this.tabControl1.Alignment = System.Windows.Forms.TabAlignment.Bottom;
     this.tabControl1.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.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Location = new System.Drawing.Point(225, 1);
     this.tabControl1.Multiline = true;
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.RightToLeftLayout = true;
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(549, 377);
     this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.FillToRight;
     this.tabControl1.TabIndex = 2;
     this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.axMapControl1);
     this.tabPage1.Location = new System.Drawing.Point(4, 4);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(541, 352);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "工程文件";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // axMapControl1
     //
     this.axMapControl1.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.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(541, 352);
     this.axMapControl1.TabIndex = 1;
     this.axMapControl1.OnExtentUpdated += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnExtentUpdatedEventHandler(this.axMapControl1_OnExtentUpdated);
     this.axMapControl1.OnViewRefreshed += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnViewRefreshedEventHandler(this.axMapControl1_OnViewRefreshed);
     this.axMapControl1.OnAfterScreenDraw += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnAfterScreenDrawEventHandler(this.axMapControl1_OnAfterScreenDraw);
     //
     // axMapControl2
     //
     this.axMapControl2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.axMapControl2.Location = new System.Drawing.Point(2, 257);
     this.axMapControl2.Name = "axMapControl2";
     this.axMapControl2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl2.OcxState")));
     this.axMapControl2.Size = new System.Drawing.Size(221, 119);
     this.axMapControl2.TabIndex = 4;
     this.axMapControl2.OnMouseDown += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseDownEventHandler(this.axMapControl2_OnMouseDown);
     //
     // ChildForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.AutoScroll = true;
     this.AutoSize = true;
     this.ClientSize = new System.Drawing.Size(774, 401);
     this.Controls.Add(this.axMapControl2);
     this.Controls.Add(this.axTOCControl1);
     this.Controls.Add(this.statusStrip1);
     this.Controls.Add(this.tabControl1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "ChildForm";
     this.ShowInTaskbar = false;
     this.Text = "子窗口";
     this.Load += new System.EventHandler(this.ChildForm_Load);
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     this.contextMenuStrip1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit();
     this.tabPage2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl2)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #27
0
ファイル: Mainfrm.cs プロジェクト: chinasio/Control
 /// <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(MainFrm));
     this.statusBar1 = new System.Windows.Forms.StatusBar();
     this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel();
     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.menuItem4 = new System.Windows.Forms.MenuItem();
     this.menuItem17 = new System.Windows.Forms.MenuItem();
     this.menuItem31 = new System.Windows.Forms.MenuItem();
     this.menuItem30 = new System.Windows.Forms.MenuItem();
     this.menuItem25 = new System.Windows.Forms.MenuItem();
     this.menuItem27 = new System.Windows.Forms.MenuItem();
     this.menuItem28 = new System.Windows.Forms.MenuItem();
     this.menuItem29 = new System.Windows.Forms.MenuItem();
     this.menuItem5 = new System.Windows.Forms.MenuItem();
     this.menuItem20 = new System.Windows.Forms.MenuItem();
     this.menuItem11 = new System.Windows.Forms.MenuItem();
     this.menuItem36 = new System.Windows.Forms.MenuItem();
     this.menuItem37 = new System.Windows.Forms.MenuItem();
     this.menuItem38 = new System.Windows.Forms.MenuItem();
     this.menuItem39 = new System.Windows.Forms.MenuItem();
     this.menuItem40 = new System.Windows.Forms.MenuItem();
     this.menuItem15 = new System.Windows.Forms.MenuItem();
     this.menuItem16 = new System.Windows.Forms.MenuItem();
     this.menuItem34 = new System.Windows.Forms.MenuItem();
     this.menuItem41 = new System.Windows.Forms.MenuItem();
     this.menuItem42 = new System.Windows.Forms.MenuItem();
     this.menuItem43 = new System.Windows.Forms.MenuItem();
     this.menuItem44 = new System.Windows.Forms.MenuItem();
     this.menuItem45 = new System.Windows.Forms.MenuItem();
     this.menuItem46 = new System.Windows.Forms.MenuItem();
     this.menuItem47 = new System.Windows.Forms.MenuItem();
     this.menuItem48 = new System.Windows.Forms.MenuItem();
     this.menuItem49 = new System.Windows.Forms.MenuItem();
     this.menuItem52 = new System.Windows.Forms.MenuItem();
     this.menuItem50 = new System.Windows.Forms.MenuItem();
     this.menuItem51 = new System.Windows.Forms.MenuItem();
     this.menuItem53 = new System.Windows.Forms.MenuItem();
     this.menuItem54 = new System.Windows.Forms.MenuItem();
     this.menuItem55 = new System.Windows.Forms.MenuItem();
     this.menuItem56 = new System.Windows.Forms.MenuItem();
     this.menuItem57 = new System.Windows.Forms.MenuItem();
     this.menuItem58 = new System.Windows.Forms.MenuItem();
     this.menuItem59 = new System.Windows.Forms.MenuItem();
     this.menuItem60 = new System.Windows.Forms.MenuItem();
     this.menuItem61 = new System.Windows.Forms.MenuItem();
     this.menuItem12 = new System.Windows.Forms.MenuItem();
     this.menuItem69 = new System.Windows.Forms.MenuItem();
     this.menuItem18 = new System.Windows.Forms.MenuItem();
     this.menuItem19 = new System.Windows.Forms.MenuItem();
     this.menuItem8 = new System.Windows.Forms.MenuItem();
     this.menuItem9 = new System.Windows.Forms.MenuItem();
     this.menuItem10 = new System.Windows.Forms.MenuItem();
     this.menuItem13 = new System.Windows.Forms.MenuItem();
     this.menuItem14 = new System.Windows.Forms.MenuItem();
     this.menuItem64 = new System.Windows.Forms.MenuItem();
     this.menuItem65 = new System.Windows.Forms.MenuItem();
     this.menuItem67 = new System.Windows.Forms.MenuItem();
     this.menuItem70 = new System.Windows.Forms.MenuItem();
     this.menuItem68 = new System.Windows.Forms.MenuItem();
     this.menuItem72 = new System.Windows.Forms.MenuItem();
     this.menuItem71 = new System.Windows.Forms.MenuItem();
     this.menuItem66 = new System.Windows.Forms.MenuItem();
     this.menuItem6 = new System.Windows.Forms.MenuItem();
     this.menuItem7 = new System.Windows.Forms.MenuItem();
     this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
     this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
     this.contextMenu1 = new System.Windows.Forms.ContextMenu();
     this.menuItem23 = new System.Windows.Forms.MenuItem();
     this.menuItem62 = new System.Windows.Forms.MenuItem();
     this.menuItem63 = new System.Windows.Forms.MenuItem();
     this.toolBar1 = new System.Windows.Forms.ToolBar();
     this.toolBarBtnNewMxd = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnOpenMxd = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnSave = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnSeperator = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnUndo = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnRedo = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnSeperator2 = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnAddData = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton1 = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnZoomIn = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnZoomOut = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnPan = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnFull = new System.Windows.Forms.ToolBarButton();
     this.toolBarBFixZoomIn = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnFixZoomOut = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnBack = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnTo = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnRSelect = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnQuery = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnFind = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnMeasure = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2 = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnSelRectangle = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnSelLine = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnSelEcllipse = new System.Windows.Forms.ToolBarButton();
     this.toolBarBtnSelPolygon = new System.Windows.Forms.ToolBarButton();
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.axMapControl2 = new ESRI.ArcGIS.Controls.AxMapControl();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.treeViewListItem = new System.Windows.Forms.TreeView();
     this.comboBoxNetList = new System.Windows.Forms.ComboBox();
     this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl();
     this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
     this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
     this.toolBar2 = new System.Windows.Forms.ToolBar();
     this.toolBarButton3 = new System.Windows.Forms.ToolBarButton();
     this.contextMenu2 = new System.Windows.Forms.ContextMenu();
     this.menuItem21 = new System.Windows.Forms.MenuItem();
     this.menuItem22 = new System.Windows.Forms.MenuItem();
     this.menuItem24 = new System.Windows.Forms.MenuItem();
     this.menuItem26 = new System.Windows.Forms.MenuItem();
     this.menuItem32 = new System.Windows.Forms.MenuItem();
     this.menuItem33 = new System.Windows.Forms.MenuItem();
     this.toolBarButton6 = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonOpen = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton4 = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonAdd = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonMove = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonSolve = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonWin = new System.Windows.Forms.ToolBarButton();
     this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl();
     this.contextMenu3 = new System.Windows.Forms.ContextMenu();
     this.menuItem35 = new System.Windows.Forms.MenuItem();
     this.buttonNetSetting = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl2)).BeginInit();
     this.tabPage2.SuspendLayout();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
     this.SuspendLayout();
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 429);
     this.statusBar1.Name = "statusBar1";
     this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
     this.statusBarPanel1,
     this.statusBarPanel2});
     this.statusBar1.ShowPanels = true;
     this.statusBar1.Size = new System.Drawing.Size(960, 22);
     this.statusBar1.TabIndex = 11;
     //
     // statusBarPanel1
     //
     this.statusBarPanel1.Name = "statusBarPanel1";
     this.statusBarPanel1.Width = 300;
     //
     // statusBarPanel2
     //
     this.statusBarPanel2.Name = "statusBarPanel2";
     this.statusBarPanel2.Width = 436;
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItem1,
     this.menuItem20,
     this.menuItem11,
     this.menuItem18,
     this.menuItem8,
     this.menuItem64,
     this.menuItem6});
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItem2,
     this.menuItem3,
     this.menuItem4,
     this.menuItem17,
     this.menuItem31,
     this.menuItem30,
     this.menuItem25,
     this.menuItem27,
     this.menuItem28,
     this.menuItem29,
     this.menuItem5});
     this.menuItem1.Text = "�ļ�";
     //
     // menuItem2
     //
     this.menuItem2.Index = 0;
     this.menuItem2.Text = "����SDE";
     this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index = 1;
     this.menuItem3.Text = "��Raster";
     this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
     //
     // menuItem4
     //
     this.menuItem4.Index = 2;
     this.menuItem4.Text = "��Shape�ļ�";
     this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click);
     //
     // menuItem17
     //
     this.menuItem17.Index = 3;
     this.menuItem17.Text = "��Tin";
     this.menuItem17.Click += new System.EventHandler(this.menuItem17_Click);
     //
     // menuItem31
     //
     this.menuItem31.Index = 4;
     this.menuItem31.Text = "��Geometric Network";
     this.menuItem31.Click += new System.EventHandler(this.menuItem31_Click);
     //
     // menuItem30
     //
     this.menuItem30.Index = 5;
     this.menuItem30.Text = "-";
     //
     // menuItem25
     //
     this.menuItem25.Index = 6;
     this.menuItem25.Text = "��dataset���featureClass";
     this.menuItem25.Click += new System.EventHandler(this.menuItem25_Click);
     //
     // menuItem27
     //
     this.menuItem27.Index = 7;
     this.menuItem27.Text = "-";
     //
     // menuItem28
     //
     this.menuItem28.Index = 8;
     this.menuItem28.Text = "������JPEG�ļ�";
     this.menuItem28.Click += new System.EventHandler(this.menuItem28_Click);
     //
     // menuItem29
     //
     this.menuItem29.Index = 9;
     this.menuItem29.Text = "-";
     //
     // menuItem5
     //
     this.menuItem5.Index = 10;
     this.menuItem5.Text = "�˳�";
     this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click);
     //
     // menuItem20
     //
     this.menuItem20.Index = 1;
     this.menuItem20.Text = "�༭";
     //
     // menuItem11
     //
     this.menuItem11.Index = 2;
     this.menuItem11.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItem36,
     this.menuItem15,
     this.menuItem16,
     this.menuItem43,
     this.menuItem52,
     this.menuItem50,
     this.menuItem51,
     this.menuItem53,
     this.menuItem54,
     this.menuItem55,
     this.menuItem56,
     this.menuItem57,
     this.menuItem58,
     this.menuItem61,
     this.menuItem12,
     this.menuItem69});
     this.menuItem11.Text = "�ռ����";
     //
     // menuItem36
     //
     this.menuItem36.Index = 0;
     this.menuItem36.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItem37,
     this.menuItem38,
     this.menuItem39,
     this.menuItem40});
     this.menuItem36.Text = "����";
     //
     // menuItem37
     //
     this.menuItem37.Index = 0;
     this.menuItem37.Text = "ֱ��";
     this.menuItem37.Click += new System.EventHandler(this.menuItem37_Click);
     //
     // menuItem38
     //
     this.menuItem38.Index = 1;
     this.menuItem38.Text = "����";
     this.menuItem38.Click += new System.EventHandler(this.menuItem38_Click);
     //
     // menuItem39
     //
     this.menuItem39.Index = 2;
     this.menuItem39.Text = "����Ȩ��";
     this.menuItem39.Click += new System.EventHandler(this.menuItem39_Click);
     //
     // menuItem40
     //
     this.menuItem40.Index = 3;
     this.menuItem40.Text = "���·��";
     this.menuItem40.Click += new System.EventHandler(this.menuItem40_Click);
     //
     // menuItem15
     //
     this.menuItem15.Index = 1;
     this.menuItem15.Text = "�ܶȷ���";
     this.menuItem15.Click += new System.EventHandler(this.menuItem15_Click);
     //
     // menuItem16
     //
     this.menuItem16.Index = 2;
     this.menuItem16.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItem34,
     this.menuItem41,
     this.menuItem42});
     this.menuItem16.Text = "դ���ֵ";
     //
     // menuItem34
     //
     this.menuItem34.Index = 0;
     this.menuItem34.Text = "������Ȩ��";
     this.menuItem34.Click += new System.EventHandler(this.menuItem34_Click_1);
     //
     // menuItem41
     //
     this.menuItem41.Index = 1;
     this.menuItem41.Text = "������ֵ";
     this.menuItem41.Click += new System.EventHandler(this.menuItem41_Click);
     //
     // menuItem42
     //
     this.menuItem42.Index = 2;
     this.menuItem42.Text = "������";
     //
     // menuItem43
     //
     this.menuItem43.Index = 3;
     this.menuItem43.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItem44,
     this.menuItem45,
     this.menuItem46,
     this.menuItem47,
     this.menuItem48,
     this.menuItem49});
     this.menuItem43.Text = "�������";
     //
     // menuItem44
     //
     this.menuItem44.Index = 0;
     this.menuItem44.Text = "��ֵ��";
     this.menuItem44.Click += new System.EventHandler(this.menuItem44_Click);
     //
     // menuItem45
     //
     this.menuItem45.Index = 1;
     this.menuItem45.Text = "�¶�";
     this.menuItem45.Click += new System.EventHandler(this.menuItem45_Click);
     //
     // menuItem46
     //
     this.menuItem46.Index = 2;
     this.menuItem46.Text = "����";
     this.menuItem46.Click += new System.EventHandler(this.menuItem46_Click);
     //
     // menuItem47
     //
     this.menuItem47.Index = 3;
     this.menuItem47.Text = "ɽ����Ӱ";
     this.menuItem47.Click += new System.EventHandler(this.menuItem47_Click);
     //
     // menuItem48
     //
     this.menuItem48.Index = 4;
     this.menuItem48.Text = "ͨ��";
     this.menuItem48.Click += new System.EventHandler(this.menuItem48_Click);
     //
     // menuItem49
     //
     this.menuItem49.Index = 5;
     this.menuItem49.Text = "���ڷ�";
     this.menuItem49.Click += new System.EventHandler(this.menuItem49_Click);
     //
     // menuItem52
     //
     this.menuItem52.Index = 4;
     this.menuItem52.Text = "-";
     //
     // menuItem50
     //
     this.menuItem50.Index = 5;
     this.menuItem50.Text = "����ͳ��";
     this.menuItem50.Click += new System.EventHandler(this.menuItem50_Click);
     //
     // menuItem51
     //
     this.menuItem51.Index = 6;
     this.menuItem51.Text = "�ٽ�ͳ��";
     //
     // menuItem53
     //
     this.menuItem53.Index = 7;
     this.menuItem53.Text = "����ͳ��";
     //
     // menuItem54
     //
     this.menuItem54.Index = 8;
     this.menuItem54.Text = "-";
     //
     // menuItem55
     //
     this.menuItem55.Index = 9;
     this.menuItem55.Text = "դ�����";
     //
     // menuItem56
     //
     this.menuItem56.Index = 10;
     this.menuItem56.Text = "-";
     //
     // menuItem57
     //
     this.menuItem57.Index = 11;
     this.menuItem57.Text = "������";
     this.menuItem57.Click += new System.EventHandler(this.menuItem57_Click);
     //
     // menuItem58
     //
     this.menuItem58.Index = 12;
     this.menuItem58.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItem59,
     this.menuItem60});
     this.menuItem58.Text = "����ת��";
     //
     // menuItem59
     //
     this.menuItem59.Index = 0;
     this.menuItem59.Text = "����תդ��";
     this.menuItem59.Click += new System.EventHandler(this.menuItem59_Click);
     //
     // menuItem60
     //
     this.menuItem60.Index = 1;
     this.menuItem60.Text = "դ��ת����";
     this.menuItem60.Click += new System.EventHandler(this.menuItem60_Click);
     //
     // menuItem61
     //
     this.menuItem61.Index = 13;
     this.menuItem61.Text = "-";
     //
     // menuItem12
     //
     this.menuItem12.Index = 14;
     this.menuItem12.Text = "��������";
     this.menuItem12.Click += new System.EventHandler(this.menuItem12_Click_1);
     //
     // menuItem69
     //
     this.menuItem69.Index = 15;
     this.menuItem69.Text = "��ʼ������";
     this.menuItem69.Click += new System.EventHandler(this.menuItem69_Click);
     //
     // menuItem18
     //
     this.menuItem18.Index = 3;
     this.menuItem18.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItem19});
     this.menuItem18.Text = "3D����";
     //
     // menuItem19
     //
     this.menuItem19.Index = 0;
     this.menuItem19.Text = "��ʾTIN";
     this.menuItem19.Click += new System.EventHandler(this.menuItem19_Click);
     //
     // menuItem8
     //
     this.menuItem8.Index = 4;
     this.menuItem8.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItem9,
     this.menuItem10,
     this.menuItem13,
     this.menuItem14});
     this.menuItem8.Text = "�������";
     //
     // menuItem9
     //
     this.menuItem9.Index = 0;
     this.menuItem9.Text = "�����ʩ����";
     this.menuItem9.Click += new System.EventHandler(this.menuItem9_Click);
     //
     // menuItem10
     //
     this.menuItem10.Index = 1;
     this.menuItem10.Text = "����·������";
     this.menuItem10.Click += new System.EventHandler(this.menuItem10_Click);
     //
     // menuItem13
     //
     this.menuItem13.Index = 2;
     this.menuItem13.Text = "-";
     //
     // menuItem14
     //
     this.menuItem14.Index = 3;
     this.menuItem14.Text = "�����������";
     this.menuItem14.Click += new System.EventHandler(this.menuItem14_Click);
     //
     // menuItem64
     //
     this.menuItem64.Index = 5;
     this.menuItem64.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItem65,
     this.menuItem67,
     this.menuItem70,
     this.menuItem68,
     this.menuItem72,
     this.menuItem71,
     this.menuItem66});
     this.menuItem64.Text = "Utility�������";
     //
     // menuItem65
     //
     this.menuItem65.Index = 0;
     this.menuItem65.Text = "ˮ�ܺͷ��Ź�ͣ";
     this.menuItem65.Click += new System.EventHandler(this.menuItem65_Click);
     //
     // menuItem67
     //
     this.menuItem67.Index = 1;
     this.menuItem67.Text = "��˷׷��";
     this.menuItem67.Click += new System.EventHandler(this.menuItem67_Click);
     //
     // menuItem70
     //
     this.menuItem70.Index = 2;
     this.menuItem70.Text = "����ά����Ƶ���";
     this.menuItem70.Click += new System.EventHandler(this.menuItem70_Click);
     //
     // menuItem68
     //
     this.menuItem68.Index = 3;
     this.menuItem68.Text = "�������";
     this.menuItem68.Click += new System.EventHandler(this.menuItem68_Click);
     //
     // menuItem72
     //
     this.menuItem72.Index = 4;
     this.menuItem72.Text = "��������ͼ";
     this.menuItem72.Click += new System.EventHandler(this.menuItem72_Click);
     //
     // menuItem71
     //
     this.menuItem71.Index = 5;
     this.menuItem71.Text = "���̻�ͼ";
     this.menuItem71.Click += new System.EventHandler(this.menuItem71_Click);
     //
     // menuItem66
     //
     this.menuItem66.Index = 6;
     this.menuItem66.Text = "��ʼ������";
     this.menuItem66.Click += new System.EventHandler(this.menuItem66_Click);
     //
     // menuItem6
     //
     this.menuItem6.Index = 6;
     this.menuItem6.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItem7});
     this.menuItem6.Text = "����";
     //
     // menuItem7
     //
     this.menuItem7.Index = 0;
     this.menuItem7.Text = "����";
     this.menuItem7.Click += new System.EventHandler(this.menuItem7_Click);
     //
     // openFileDialog1
     //
     this.openFileDialog1.Filter = "ͼ���ļ� (*.BMP;*.JPG;*.GIF,*.TIF)|*.BMP;*.JPG;*.GIF,*.tif|Shape�ļ�(*.shp)|*.SHP|�����ļ� " +
         "(*.*)|*.*";
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItem23,
     this.menuItem62,
     this.menuItem63});
     //
     // menuItem23
     //
     this.menuItem23.Index = 0;
     this.menuItem23.Text = "�Ƴ��ò�";
     this.menuItem23.Click += new System.EventHandler(this.menuItem23_Click);
     //
     // menuItem62
     //
     this.menuItem62.Index = 1;
     this.menuItem62.Text = "���Ż�";
     this.menuItem62.Click += new System.EventHandler(this.menuItem62_Click);
     //
     // menuItem63
     //
     this.menuItem63.Index = 2;
     this.menuItem63.Text = "��ͼ��ʾ";
     this.menuItem63.Click += new System.EventHandler(this.menuItem63_Click);
     //
     // toolBar1
     //
     this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
     this.toolBarBtnNewMxd,
     this.toolBarBtnOpenMxd,
     this.toolBarBtnSave,
     this.toolBarBtnSeperator,
     this.toolBarBtnUndo,
     this.toolBarBtnRedo,
     this.toolBarBtnSeperator2,
     this.toolBarBtnAddData,
     this.toolBarButton1,
     this.toolBarBtnZoomIn,
     this.toolBarBtnZoomOut,
     this.toolBarBtnPan,
     this.toolBarBtnFull,
     this.toolBarBFixZoomIn,
     this.toolBarBtnFixZoomOut,
     this.toolBarBtnBack,
     this.toolBarBtnTo,
     this.toolBarBtnRSelect,
     this.toolBarBtnQuery,
     this.toolBarBtnFind,
     this.toolBarBtnMeasure,
     this.toolBarButton2,
     this.toolBarBtnSelRectangle,
     this.toolBarBtnSelLine,
     this.toolBarBtnSelEcllipse,
     this.toolBarBtnSelPolygon});
     this.toolBar1.Divider = false;
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList = this.imageList1;
     this.toolBar1.Location = new System.Drawing.Point(0, 0);
     this.toolBar1.Name = "toolBar1";
     this.toolBar1.ShowToolTips = true;
     this.toolBar1.Size = new System.Drawing.Size(960, 26);
     this.toolBar1.TabIndex = 17;
     this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
     //
     // toolBarBtnNewMxd
     //
     this.toolBarBtnNewMxd.ImageIndex = 0;
     this.toolBarBtnNewMxd.Name = "toolBarBtnNewMxd";
     //
     // toolBarBtnOpenMxd
     //
     this.toolBarBtnOpenMxd.ImageIndex = 1;
     this.toolBarBtnOpenMxd.Name = "toolBarBtnOpenMxd";
     //
     // toolBarBtnSave
     //
     this.toolBarBtnSave.ImageIndex = 18;
     this.toolBarBtnSave.Name = "toolBarBtnSave";
     //
     // toolBarBtnSeperator
     //
     this.toolBarBtnSeperator.Name = "toolBarBtnSeperator";
     this.toolBarBtnSeperator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarBtnUndo
     //
     this.toolBarBtnUndo.ImageIndex = 3;
     this.toolBarBtnUndo.Name = "toolBarBtnUndo";
     //
     // toolBarBtnRedo
     //
     this.toolBarBtnRedo.ImageIndex = 4;
     this.toolBarBtnRedo.Name = "toolBarBtnRedo";
     //
     // toolBarBtnSeperator2
     //
     this.toolBarBtnSeperator2.Name = "toolBarBtnSeperator2";
     this.toolBarBtnSeperator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarBtnAddData
     //
     this.toolBarBtnAddData.ImageIndex = 5;
     this.toolBarBtnAddData.Name = "toolBarBtnAddData";
     //
     // toolBarButton1
     //
     this.toolBarButton1.Name = "toolBarButton1";
     this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarBtnZoomIn
     //
     this.toolBarBtnZoomIn.ImageIndex = 6;
     this.toolBarBtnZoomIn.Name = "toolBarBtnZoomIn";
     //
     // toolBarBtnZoomOut
     //
     this.toolBarBtnZoomOut.ImageIndex = 7;
     this.toolBarBtnZoomOut.Name = "toolBarBtnZoomOut";
     //
     // toolBarBtnPan
     //
     this.toolBarBtnPan.ImageIndex = 8;
     this.toolBarBtnPan.Name = "toolBarBtnPan";
     //
     // toolBarBtnFull
     //
     this.toolBarBtnFull.ImageIndex = 9;
     this.toolBarBtnFull.Name = "toolBarBtnFull";
     //
     // toolBarBFixZoomIn
     //
     this.toolBarBFixZoomIn.ImageIndex = 11;
     this.toolBarBFixZoomIn.Name = "toolBarBFixZoomIn";
     //
     // toolBarBtnFixZoomOut
     //
     this.toolBarBtnFixZoomOut.ImageIndex = 10;
     this.toolBarBtnFixZoomOut.Name = "toolBarBtnFixZoomOut";
     //
     // toolBarBtnBack
     //
     this.toolBarBtnBack.ImageIndex = 12;
     this.toolBarBtnBack.Name = "toolBarBtnBack";
     //
     // toolBarBtnTo
     //
     this.toolBarBtnTo.ImageIndex = 13;
     this.toolBarBtnTo.Name = "toolBarBtnTo";
     //
     // toolBarBtnRSelect
     //
     this.toolBarBtnRSelect.ImageIndex = 14;
     this.toolBarBtnRSelect.Name = "toolBarBtnRSelect";
     this.toolBarBtnRSelect.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarBtnQuery
     //
     this.toolBarBtnQuery.ImageIndex = 15;
     this.toolBarBtnQuery.Name = "toolBarBtnQuery";
     //
     // toolBarBtnFind
     //
     this.toolBarBtnFind.ImageIndex = 16;
     this.toolBarBtnFind.Name = "toolBarBtnFind";
     //
     // toolBarBtnMeasure
     //
     this.toolBarBtnMeasure.ImageIndex = 17;
     this.toolBarBtnMeasure.Name = "toolBarBtnMeasure";
     //
     // toolBarButton2
     //
     this.toolBarButton2.Name = "toolBarButton2";
     this.toolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarBtnSelRectangle
     //
     this.toolBarBtnSelRectangle.ImageIndex = 19;
     this.toolBarBtnSelRectangle.Name = "toolBarBtnSelRectangle";
     //
     // toolBarBtnSelLine
     //
     this.toolBarBtnSelLine.ImageIndex = 21;
     this.toolBarBtnSelLine.Name = "toolBarBtnSelLine";
     //
     // toolBarBtnSelEcllipse
     //
     this.toolBarBtnSelEcllipse.ImageIndex = 20;
     this.toolBarBtnSelEcllipse.Name = "toolBarBtnSelEcllipse";
     //
     // toolBarBtnSelPolygon
     //
     this.toolBarBtnSelPolygon.ImageIndex = 22;
     this.toolBarBtnSelPolygon.Name = "toolBarBtnSelPolygon";
     //
     // imageList1
     //
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     this.imageList1.Images.SetKeyName(3, "");
     this.imageList1.Images.SetKeyName(4, "");
     this.imageList1.Images.SetKeyName(5, "");
     this.imageList1.Images.SetKeyName(6, "");
     this.imageList1.Images.SetKeyName(7, "");
     this.imageList1.Images.SetKeyName(8, "");
     this.imageList1.Images.SetKeyName(9, "");
     this.imageList1.Images.SetKeyName(10, "");
     this.imageList1.Images.SetKeyName(11, "");
     this.imageList1.Images.SetKeyName(12, "");
     this.imageList1.Images.SetKeyName(13, "");
     this.imageList1.Images.SetKeyName(14, "");
     this.imageList1.Images.SetKeyName(15, "");
     this.imageList1.Images.SetKeyName(16, "");
     this.imageList1.Images.SetKeyName(17, "");
     this.imageList1.Images.SetKeyName(18, "");
     this.imageList1.Images.SetKeyName(19, "");
     this.imageList1.Images.SetKeyName(20, "");
     this.imageList1.Images.SetKeyName(21, "");
     this.imageList1.Images.SetKeyName(22, "");
     this.imageList1.Images.SetKeyName(23, "openNetworkWindow.bmp");
     this.imageList1.Images.SetKeyName(24, "AddNetFlags.bmp");
     this.imageList1.Images.SetKeyName(25, "moveNetFalgs.bmp");
     this.imageList1.Images.SetKeyName(26, "Solve.bmp");
     this.imageList1.Images.SetKeyName(27, "openwindow.bmp");
     this.imageList1.Images.SetKeyName(28, "openNetSeetingWin.bmp");
     //
     // splitContainer1
     //
     this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location = new System.Drawing.Point(0, 26);
     this.splitContainer1.Name = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.tabControl1);
     this.splitContainer1.Panel1.Controls.Add(this.axTOCControl1);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.axLicenseControl1);
     this.splitContainer1.Panel2.Controls.Add(this.axToolbarControl1);
     this.splitContainer1.Panel2.Controls.Add(this.toolBar2);
     this.splitContainer1.Panel2.Controls.Add(this.axMapControl1);
     this.splitContainer1.Size = new System.Drawing.Size(960, 403);
     this.splitContainer1.SplitterDistance = 196;
     this.splitContainer1.TabIndex = 18;
     //
     // tabControl1
     //
     this.tabControl1.Alignment = System.Windows.Forms.TabAlignment.Bottom;
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabControl1.Location = new System.Drawing.Point(0, 226);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(196, 177);
     this.tabControl1.TabIndex = 2;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.axMapControl2);
     this.tabPage1.Location = new System.Drawing.Point(4, 4);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(188, 152);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "ӥ��";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // axMapControl2
     //
     this.axMapControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.axMapControl2.Location = new System.Drawing.Point(3, 3);
     this.axMapControl2.Name = "axMapControl2";
     this.axMapControl2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl2.OcxState")));
     this.axMapControl2.Size = new System.Drawing.Size(182, 146);
     this.axMapControl2.TabIndex = 1;
     this.axMapControl2.OnFullExtentUpdated += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnFullExtentUpdatedEventHandler(this.axMapControl2_OnFullExtentUpdated);
     this.axMapControl2.OnMouseDown += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseDownEventHandler(this.axMapControl2_OnMouseDown);
     this.axMapControl2.OnMouseMove += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseMoveEventHandler(this.axMapControl2_OnMouseMove);
     this.axMapControl2.OnAfterDraw += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnAfterDrawEventHandler(this.axMapControl2_OnAfterDraw);
     this.axMapControl2.OnMouseUp += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseUpEventHandler(this.axMapControl2_OnMouseUp);
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.groupBox1);
     this.tabPage2.Location = new System.Drawing.Point(4, 4);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size = new System.Drawing.Size(188, 152);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "�������";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.treeViewListItem);
     this.groupBox1.Controls.Add(this.comboBoxNetList);
     this.groupBox1.Controls.Add(this.buttonNetSetting);
     this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupBox1.Location = new System.Drawing.Point(3, 3);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(182, 146);
     this.groupBox1.TabIndex = 3;
     this.groupBox1.TabStop = false;
     //
     // treeViewListItem
     //
     this.treeViewListItem.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.treeViewListItem.Location = new System.Drawing.Point(3, 46);
     this.treeViewListItem.Name = "treeViewListItem";
     this.treeViewListItem.Size = new System.Drawing.Size(176, 97);
     this.treeViewListItem.TabIndex = 4;
     this.treeViewListItem.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewListItem_AfterSelect);
     this.treeViewListItem.MouseDown += new System.Windows.Forms.MouseEventHandler(this.treeViewListItem_MouseDown);
     //
     // comboBoxNetList
     //
     this.comboBoxNetList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxNetList.FormattingEnabled = true;
     this.comboBoxNetList.Location = new System.Drawing.Point(3, 20);
     this.comboBoxNetList.Name = "comboBoxNetList";
     this.comboBoxNetList.Size = new System.Drawing.Size(146, 20);
     this.comboBoxNetList.TabIndex = 0;
     //
     // axTOCControl1
     //
     this.axTOCControl1.Dock = System.Windows.Forms.DockStyle.Top;
     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(196, 226);
     this.axTOCControl1.TabIndex = 0;
     this.axTOCControl1.OnMouseDown += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnMouseDownEventHandler(this.axTOCControl1_OnMouseDown);
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(112, 53);
     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;
     //
     // axToolbarControl1
     //
     this.axToolbarControl1.Location = new System.Drawing.Point(20, 103);
     this.axToolbarControl1.Name = "axToolbarControl1";
     this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState")));
     this.axToolbarControl1.Size = new System.Drawing.Size(645, 28);
     this.axToolbarControl1.TabIndex = 19;
     //
     // toolBar2
     //
     this.toolBar2.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBar2.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
     this.toolBarButton3,
     this.toolBarButton6,
     this.toolBarButtonOpen,
     this.toolBarButton4,
     this.toolBarButtonAdd,
     this.toolBarButtonMove,
     this.toolBarButtonSolve,
     this.toolBarButtonWin});
     this.toolBar2.Divider = false;
     this.toolBar2.Dock = System.Windows.Forms.DockStyle.None;
     this.toolBar2.DropDownArrows = true;
     this.toolBar2.Font = new System.Drawing.Font("����", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.toolBar2.ImageList = this.imageList1;
     this.toolBar2.Location = new System.Drawing.Point(294, 51);
     this.toolBar2.Name = "toolBar2";
     this.toolBar2.ShowToolTips = true;
     this.toolBar2.Size = new System.Drawing.Size(300, 34);
     this.toolBar2.TabIndex = 1;
     this.toolBar2.TextAlign = System.Windows.Forms.ToolBarTextAlign.Right;
     this.toolBar2.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar2_ButtonClick);
     //
     // toolBarButton3
     //
     this.toolBarButton3.DropDownMenu = this.contextMenu2;
     this.toolBarButton3.Name = "toolBarButton3";
     this.toolBarButton3.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
     this.toolBarButton3.Text = "�������";
     //
     // contextMenu2
     //
     this.contextMenu2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItem21,
     this.menuItem22,
     this.menuItem24,
     this.menuItem26,
     this.menuItem32,
     this.menuItem33});
     //
     // menuItem21
     //
     this.menuItem21.Index = 0;
     this.menuItem21.Text = "����·��";
     this.menuItem21.Click += new System.EventHandler(this.menuItem21_Click);
     //
     // menuItem22
     //
     this.menuItem22.Index = 1;
     this.menuItem22.Text = "��������";
     this.menuItem22.Click += new System.EventHandler(this.menuItem22_Click);
     //
     // menuItem24
     //
     this.menuItem24.Index = 2;
     this.menuItem24.Text = "�����ʩ";
     this.menuItem24.Click += new System.EventHandler(this.menuItem24_Click);
     //
     // menuItem26
     //
     this.menuItem26.Index = 3;
     this.menuItem26.Text = "���þ���";
     this.menuItem26.Click += new System.EventHandler(this.menuItem26_Click_1);
     //
     // menuItem32
     //
     this.menuItem32.Index = 4;
     this.menuItem32.Text = "-";
     //
     // menuItem33
     //
     this.menuItem33.Index = 5;
     this.menuItem33.Text = "ѡ��";
     //
     // toolBarButton6
     //
     this.toolBarButton6.Name = "toolBarButton6";
     this.toolBarButton6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButtonOpen
     //
     this.toolBarButtonOpen.ImageIndex = 23;
     this.toolBarButtonOpen.Name = "toolBarButtonOpen";
     //
     // toolBarButton4
     //
     this.toolBarButton4.Name = "toolBarButton4";
     this.toolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButtonAdd
     //
     this.toolBarButtonAdd.ImageIndex = 24;
     this.toolBarButtonAdd.Name = "toolBarButtonAdd";
     //
     // toolBarButtonMove
     //
     this.toolBarButtonMove.ImageIndex = 25;
     this.toolBarButtonMove.Name = "toolBarButtonMove";
     //
     // toolBarButtonSolve
     //
     this.toolBarButtonSolve.ImageIndex = 26;
     this.toolBarButtonSolve.Name = "toolBarButtonSolve";
     //
     // toolBarButtonWin
     //
     this.toolBarButtonWin.ImageIndex = 27;
     this.toolBarButtonWin.Name = "toolBarButtonWin";
     //
     // 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(760, 403);
     this.axMapControl1.TabIndex = 0;
     this.axMapControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseDownEventHandler(this.axMapControl1_OnMouseDown);
     this.axMapControl1.OnMouseMove += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseMoveEventHandler(this.axMapControl1_OnMouseMove);
     this.axMapControl1.OnExtentUpdated += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnExtentUpdatedEventHandler(this.axMapControl1_OnExtentUpdated);
     this.axMapControl1.OnMouseUp += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseUpEventHandler(this.axMapControl1_OnMouseUp);
     //
     // contextMenu3
     //
     this.contextMenu3.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItem35});
     //
     // menuItem35
     //
     this.menuItem35.Index = 0;
     this.menuItem35.Text = "װ������";
     this.menuItem35.Click += new System.EventHandler(this.menuItem35_Click);
     //
     // buttonNetSetting
     //
     this.buttonNetSetting.ImageIndex = 28;
     this.buttonNetSetting.ImageList = this.imageList1;
     this.buttonNetSetting.Location = new System.Drawing.Point(152, 20);
     this.buttonNetSetting.Name = "buttonNetSetting";
     this.buttonNetSetting.Size = new System.Drawing.Size(27, 21);
     this.buttonNetSetting.TabIndex = 1;
     this.buttonNetSetting.UseVisualStyleBackColor = true;
     this.buttonNetSetting.Click += new System.EventHandler(this.buttonNetSetting_Click);
     //
     // MainFrm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize = new System.Drawing.Size(960, 451);
     this.ContextMenu = this.contextMenu1;
     this.Controls.Add(this.splitContainer1);
     this.Controls.Add(this.toolBar1);
     this.Controls.Add(this.statusBar1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu = this.mainMenu1;
     this.Name = "MainFrm";
     this.Text = "ArcGIS Engine .Net ��ʾ����";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing);
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.Panel2.PerformLayout();
     this.splitContainer1.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl2)).EndInit();
     this.tabPage2.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #28
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.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl();
			this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
			this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
			this.splitter1 = new System.Windows.Forms.Splitter();
			this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl();
			this.contextMenu1 = new System.Windows.Forms.ContextMenu();
			this.miLoadLocations = new System.Windows.Forms.MenuItem();
			this.miClearLocations = new System.Windows.Forms.MenuItem();
			this.miAddItem = new System.Windows.Forms.MenuItem();
			((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
			this.SuspendLayout();
			// 
			// axMapControl1
			// 
			this.axMapControl1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.axMapControl1.Location = new System.Drawing.Point(227, 28);
			this.axMapControl1.Name = "axMapControl1";
			this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState")));
			this.axMapControl1.Size = new System.Drawing.Size(645, 472);
			this.axMapControl1.TabIndex = 2;
			// 
			// axLicenseControl1
			// 
			this.axLicenseControl1.Enabled = true;
			this.axLicenseControl1.Location = new System.Drawing.Point(664, 0);
			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 = 1;
			// 
			// axToolbarControl1
			// 
			this.axToolbarControl1.Dock = System.Windows.Forms.DockStyle.Top;
			this.axToolbarControl1.Location = new System.Drawing.Point(0, 0);
			this.axToolbarControl1.Name = "axToolbarControl1";
			this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState")));
			this.axToolbarControl1.Size = new System.Drawing.Size(872, 28);
			this.axToolbarControl1.TabIndex = 0;
			// 
			// splitter1
			// 
			this.splitter1.Location = new System.Drawing.Point(224, 28);
			this.splitter1.Name = "splitter1";
			this.splitter1.Size = new System.Drawing.Size(3, 472);
			this.splitter1.TabIndex = 4;
			this.splitter1.TabStop = false;
			// 
			// axTOCControl1
			// 
			this.axTOCControl1.Dock = System.Windows.Forms.DockStyle.Left;
			this.axTOCControl1.Location = new System.Drawing.Point(0, 28);
			this.axTOCControl1.Name = "axTOCControl1";
			this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState")));
			this.axTOCControl1.Size = new System.Drawing.Size(224, 472);
			this.axTOCControl1.TabIndex = 1;
			this.axTOCControl1.OnMouseDown += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnMouseDownEventHandler(this.axTOCControl1_OnMouseDown);
			// 
			// contextMenu1
			// 
			this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
            this.miLoadLocations,
            this.miClearLocations});
			// 
			// miLoadLocations
			// 
			this.miLoadLocations.Index = 0;
			this.miLoadLocations.Text = "Load Locations...";
			this.miLoadLocations.Click += new System.EventHandler(this.miLoadLocations_Click);
			// 
			// miClearLocations
			// 
			this.miClearLocations.Index = 1;
			this.miClearLocations.Text = "Clear Locations";
			this.miClearLocations.Click += new System.EventHandler(this.miClearLocations_Click);
			// 
			// miAddItem
			// 
			this.miAddItem.Index = -1;
			this.miAddItem.Text = "Add Item";
			this.miAddItem.Click += new System.EventHandler(this.miAddItem_Click);
			// 
			// frmMain
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(872, 500);
			this.Controls.Add(this.axLicenseControl1);
			this.Controls.Add(this.axMapControl1);
			this.Controls.Add(this.splitter1);
			this.Controls.Add(this.axTOCControl1);
			this.Controls.Add(this.axToolbarControl1);
			this.Name = "frmMain";
			this.Text = "Network Analyst Engine Application";
			this.Load += new System.EventHandler(this.frmMain_Load);
			((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
			this.ResumeLayout(false);

		}
コード例 #29
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(Customization));
            this.chkCustomization = new System.Windows.Forms.CheckBox();
            this.Label1 = new System.Windows.Forms.Label();
            this.Label3 = 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();
            this.Label4 = new System.Windows.Forms.Label();
            ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
            this.SuspendLayout();
            // 
            // chkCustomization
            // 
            this.chkCustomization.BackColor = System.Drawing.SystemColors.Control;
            this.chkCustomization.Cursor = System.Windows.Forms.Cursors.Default;
            this.chkCustomization.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chkCustomization.ForeColor = System.Drawing.SystemColors.ControlText;
            this.chkCustomization.Location = new System.Drawing.Point(416, 48);
            this.chkCustomization.Name = "chkCustomization";
            this.chkCustomization.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.chkCustomization.Size = new System.Drawing.Size(121, 17);
            this.chkCustomization.TabIndex = 6;
            this.chkCustomization.Text = "Customize";
            this.chkCustomization.UseVisualStyleBackColor = false;
            this.chkCustomization.Click += new System.EventHandler(this.chkCustomization_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, ((byte)(0)));
            this.Label1.ForeColor = System.Drawing.SystemColors.ControlText;
            this.Label1.Location = new System.Drawing.Point(416, 144);
            this.Label1.Name = "Label1";
            this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label1.Size = new System.Drawing.Size(185, 73);
            this.Label1.TabIndex = 9;
            this.Label1.Text = "To delete an item, either select it with the left mouse button and drag it off th" +
                "e ToolbarControl or select it with the right mouse button and choose delete from" +
                " the customize menu.";
            // 
            // 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(416, 224);
            this.Label3.Name = "Label3";
            this.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label3.Size = new System.Drawing.Size(185, 57);
            this.Label3.TabIndex = 8;
            this.Label3.Text = "To change the group, group spacing or style of an item, select it with the right " +
                "mouse button to display the customize menu.";
            // 
            // 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(416, 80);
            this.Label2.Name = "Label2";
            this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label2.Size = new System.Drawing.Size(185, 57);
            this.Label2.TabIndex = 7;
            this.Label2.Text = "To move an item, select it with the left mouse button and drag and drop it to the" +
                " location indicated by the black vertical bar. ";
            // 
            // 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 = 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(400, 389);
            this.axMapControl1.TabIndex = 11;
            // 
            // axLicenseControl1
            // 
            this.axLicenseControl1.Enabled = true;
            this.axLicenseControl1.Location = new System.Drawing.Point(564, 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 = 12;
            // 
            // 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, ((byte)(0)));
            this.Label4.ForeColor = System.Drawing.SystemColors.ControlText;
            this.Label4.Location = new System.Drawing.Point(414, 283);
            this.Label4.Name = "Label4";
            this.Label4.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label4.Size = new System.Drawing.Size(185, 93);
            this.Label4.TabIndex = 13;
            this.Label4.Text = "To add additional command, menu  and palette items either double click on them wi" +
                "thin the customize dialog or drag and drop them from the customize dialog onto th" +
                "e ToolbarControl.";
            // 
            // Customization
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(608, 441);
            this.Controls.Add(this.Label4);
            this.Controls.Add(this.axLicenseControl1);
            this.Controls.Add(this.axMapControl1);
            this.Controls.Add(this.axToolbarControl1);
            this.Controls.Add(this.chkCustomization);
            this.Controls.Add(this.Label1);
            this.Controls.Add(this.Label3);
            this.Controls.Add(this.Label2);
            this.Name = "Customization";
            this.Text = "Form1";
            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);

		}
コード例 #30
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.Text1             = new System.Windows.Forms.TextBox();
     this.Label1            = new System.Windows.Forms.Label();
     this.cmdReset          = new System.Windows.Forms.Button();
     this.cmdFullExtent     = new System.Windows.Forms.Button();
     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();
     //
     // Text1
     //
     this.Text1.AcceptsReturn = true;
     this.Text1.BackColor     = System.Drawing.SystemColors.Window;
     this.Text1.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.Text1.Font          = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Text1.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.Text1.Location      = new System.Drawing.Point(10, 302);
     this.Text1.MaxLength     = 0;
     this.Text1.Name          = "Text1";
     this.Text1.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.Text1.Size          = new System.Drawing.Size(385, 20);
     this.Text1.TabIndex      = 4;
     this.Text1.Text          = "Put a map in your app...";
     //
     // 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(10, 284);
     this.Label1.Name        = "Label1";
     this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label1.Size        = new System.Drawing.Size(154, 19);
     this.Label1.TabIndex    = 5;
     this.Label1.Text        = "Enter text:";
     //
     // cmdReset
     //
     this.cmdReset.BackColor               = System.Drawing.SystemColors.Control;
     this.cmdReset.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.cmdReset.Font                    = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmdReset.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.cmdReset.Location                = new System.Drawing.Point(400, 59);
     this.cmdReset.Name                    = "cmdReset";
     this.cmdReset.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.cmdReset.Size                    = new System.Drawing.Size(87, 27);
     this.cmdReset.TabIndex                = 7;
     this.cmdReset.Text                    = "Clear Text";
     this.cmdReset.UseVisualStyleBackColor = false;
     this.cmdReset.Click                  += new System.EventHandler(this.cmdReset_Click);
     //
     // cmdFullExtent
     //
     this.cmdFullExtent.BackColor               = System.Drawing.SystemColors.Control;
     this.cmdFullExtent.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.cmdFullExtent.Font                    = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmdFullExtent.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.cmdFullExtent.Location                = new System.Drawing.Point(400, 119);
     this.cmdFullExtent.Name                    = "cmdFullExtent";
     this.cmdFullExtent.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.cmdFullExtent.Size                    = new System.Drawing.Size(87, 27);
     this.cmdFullExtent.TabIndex                = 6;
     this.cmdFullExtent.Text                    = "Full Extent";
     this.cmdFullExtent.UseVisualStyleBackColor = false;
     this.cmdFullExtent.Click                  += new System.EventHandler(this.cmdFullExtent_Click);
     //
     // axMapControl1
     //
     this.axMapControl1.Location     = new System.Drawing.Point(10, 9);
     this.axMapControl1.Name         = "axMapControl1";
     this.axMapControl1.OcxState     = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState")));
     this.axMapControl1.Size         = new System.Drawing.Size(384, 267);
     this.axMapControl1.TabIndex     = 10;
     this.axMapControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseDownEventHandler(this.axMapControl1_OnMouseDown);
     this.axMapControl1.OnAfterDraw += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnAfterDrawEventHandler(this.axMapControl1_OnAfterDraw);
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(400, 9);
     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;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(740, 421);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.axMapControl1);
     this.Controls.Add(this.cmdReset);
     this.Controls.Add(this.cmdFullExtent);
     this.Controls.Add(this.Text1);
     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();
 }
コード例 #31
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.Label4 = new System.Windows.Forms.Label();
			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();
			// 
			// 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(456, 192);
			this.Label4.Name = "Label4";
			this.Label4.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Label4.Size = new System.Drawing.Size(137, 49);
			this.Label4.TabIndex = 8;
			this.Label4.Text = "Create a new bookmark based on the current extent of the focus map.";
			// 
			// 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(456, 96);
			this.Label3.Name = "Label3";
			this.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Label3.Size = new System.Drawing.Size(137, 41);
			this.Label3.TabIndex = 7;
			this.Label3.Text = "Navigate around the data using the commands on the ToolbarControl.";
			// 
			// 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(456, 144);
			this.Label1.Name = "Label1";
			this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Label1.Size = new System.Drawing.Size(137, 49);
			this.Label1.TabIndex = 6;
			this.Label1.Text = "Zoom to any bookmarks listed in the spatial bookmark menu.";
			// 
			// 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(456, 48);
			this.Label2.Name = "Label2";
			this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Label2.Size = new System.Drawing.Size(137, 40);
			this.Label2.TabIndex = 5;
			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(584, 28);
			this.axToolbarControl1.TabIndex = 9;
			// 
			// 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(440, 312);
			this.axMapControl1.TabIndex = 10;
			// 
			// axLicenseControl1
			// 
			this.axLicenseControl1.Enabled = true;
			this.axLicenseControl1.Location = new System.Drawing.Point(360, 264);
			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 = 11;
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(600, 358);
			this.Controls.Add(this.axLicenseControl1);
			this.Controls.Add(this.axMapControl1);
			this.Controls.Add(this.axToolbarControl1);
			this.Controls.Add(this.Label4);
			this.Controls.Add(this.Label3);
			this.Controls.Add(this.Label1);
			this.Controls.Add(this.Label2);
			this.Name = "Form1";
			this.Text = "Form1";
			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);

		}
コード例 #32
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.cboMaps              = new System.Windows.Forms.ComboBox();
     this.txbPath              = new System.Windows.Forms.TextBox();
     this.cmdLoad              = new System.Windows.Forms.Button();
     this.Label4               = new System.Windows.Forms.Label();
     this.cmdZoomPage          = new System.Windows.Forms.Button();
     this.cmdFullExtent        = new System.Windows.Forms.Button();
     this.Label2               = new System.Windows.Forms.Label();
     this.Label1               = new System.Windows.Forms.Label();
     this.openFileDialog1      = new System.Windows.Forms.OpenFileDialog();
     this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl();
     this.axMapControl1        = new ESRI.ArcGIS.Controls.AxMapControl();
     this.axLicenseControl1    = new ESRI.ArcGIS.Controls.AxLicenseControl();
     ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     this.SuspendLayout();
     //
     // cboMaps
     //
     this.cboMaps.BackColor             = System.Drawing.SystemColors.Window;
     this.cboMaps.Cursor                = System.Windows.Forms.Cursors.Default;
     this.cboMaps.Font                  = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.cboMaps.ForeColor             = System.Drawing.SystemColors.WindowText;
     this.cboMaps.Location              = new System.Drawing.Point(72, 48);
     this.cboMaps.Name                  = "cboMaps";
     this.cboMaps.RightToLeft           = System.Windows.Forms.RightToLeft.No;
     this.cboMaps.Size                  = new System.Drawing.Size(161, 22);
     this.cboMaps.TabIndex              = 11;
     this.cboMaps.SelectedIndexChanged += new System.EventHandler(this.cboMaps_SelectedIndexChanged);
     //
     // txbPath
     //
     this.txbPath.AcceptsReturn = true;
     this.txbPath.AutoSize      = false;
     this.txbPath.BackColor     = System.Drawing.SystemColors.Window;
     this.txbPath.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.txbPath.Enabled       = false;
     this.txbPath.Font          = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txbPath.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.txbPath.Location      = new System.Drawing.Point(136, 8);
     this.txbPath.MaxLength     = 0;
     this.txbPath.Name          = "txbPath";
     this.txbPath.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.txbPath.Size          = new System.Drawing.Size(369, 19);
     this.txbPath.TabIndex      = 10;
     this.txbPath.Text          = "";
     //
     // 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, 8);
     this.cmdLoad.Name        = "cmdLoad";
     this.cmdLoad.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.cmdLoad.Size        = new System.Drawing.Size(121, 25);
     this.cmdLoad.TabIndex    = 9;
     this.cmdLoad.Text        = "Load Map Document";
     this.cmdLoad.Click      += new System.EventHandler(this.cmdLoad_Click);
     //
     // 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(8, 48);
     this.Label4.Name        = "Label4";
     this.Label4.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label4.Size        = new System.Drawing.Size(65, 17);
     this.Label4.TabIndex    = 12;
     this.Label4.Text        = "Focus Map:";
     //
     // cmdZoomPage
     //
     this.cmdZoomPage.BackColor   = System.Drawing.SystemColors.Control;
     this.cmdZoomPage.Cursor      = System.Windows.Forms.Cursors.Default;
     this.cmdZoomPage.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.cmdZoomPage.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.cmdZoomPage.Location    = new System.Drawing.Point(12, 352);
     this.cmdZoomPage.Name        = "cmdZoomPage";
     this.cmdZoomPage.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.cmdZoomPage.Size        = new System.Drawing.Size(97, 25);
     this.cmdZoomPage.TabIndex    = 16;
     this.cmdZoomPage.Text        = "Zoom to Page";
     this.cmdZoomPage.Click      += new System.EventHandler(this.cmdZoomPage_Click);
     //
     // cmdFullExtent
     //
     this.cmdFullExtent.BackColor   = System.Drawing.SystemColors.Control;
     this.cmdFullExtent.Cursor      = System.Windows.Forms.Cursors.Default;
     this.cmdFullExtent.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.cmdFullExtent.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.cmdFullExtent.Location    = new System.Drawing.Point(356, 352);
     this.cmdFullExtent.Name        = "cmdFullExtent";
     this.cmdFullExtent.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.cmdFullExtent.Size        = new System.Drawing.Size(153, 25);
     this.cmdFullExtent.TabIndex    = 13;
     this.cmdFullExtent.Text        = "Zoom to Full Data 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(124, 352);
     this.Label2.Name        = "Label2";
     this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label2.Size        = new System.Drawing.Size(257, 17);
     this.Label2.TabIndex    = 15;
     this.Label2.Text        = "Right mouse button to pan page or data.";
     //
     // 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(124, 368);
     this.Label1.Name        = "Label1";
     this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label1.Size        = new System.Drawing.Size(249, 17);
     this.Label1.TabIndex    = 14;
     this.Label1.Text        = "Left mouse button to zoom in on page or data.";
     //
     // axPageLayoutControl1
     //
     this.axPageLayoutControl1.Location              = new System.Drawing.Point(8, 72);
     this.axPageLayoutControl1.Name                  = "axPageLayoutControl1";
     this.axPageLayoutControl1.OcxState              = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState")));
     this.axPageLayoutControl1.Size                  = new System.Drawing.Size(224, 272);
     this.axPageLayoutControl1.TabIndex              = 17;
     this.axPageLayoutControl1.OnMouseDown          += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnMouseDownEventHandler(this.axPageLayoutControl1_OnMouseDown);
     this.axPageLayoutControl1.OnPageLayoutReplaced += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnPageLayoutReplacedEventHandler(this.axPageLayoutControl1_OnPageLayoutReplaced);
     this.axPageLayoutControl1.OnAfterScreenDraw    += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnAfterScreenDrawEventHandler(this.axPageLayoutControl1_OnAfterScreenDraw);
     this.axPageLayoutControl1.OnFocusMapChanged    += new System.EventHandler(this.axPageLayoutControl1_OnFocusMapChanged);
     this.axPageLayoutControl1.OnBeforeScreenDraw   += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnBeforeScreenDrawEventHandler(this.axPageLayoutControl1_OnBeforeScreenDraw);
     //
     // axMapControl1
     //
     this.axMapControl1.Location            = new System.Drawing.Point(240, 48);
     this.axMapControl1.Name                = "axMapControl1";
     this.axMapControl1.OcxState            = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState")));
     this.axMapControl1.Size                = new System.Drawing.Size(272, 296);
     this.axMapControl1.TabIndex            = 18;
     this.axMapControl1.OnMouseDown        += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseDownEventHandler(this.axMapControl1_OnMouseDown);
     this.axMapControl1.OnAfterScreenDraw  += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnAfterScreenDrawEventHandler(this.axMapControl1_OnAfterScreenDraw);
     this.axMapControl1.OnBeforeScreenDraw += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnBeforeScreenDrawEventHandler(this.axMapControl1_OnBeforeScreenDraw);
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(160, 96);
     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 = 19;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(520, 390);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.axMapControl1);
     this.Controls.Add(this.axPageLayoutControl1);
     this.Controls.Add(this.cmdZoomPage);
     this.Controls.Add(this.cmdFullExtent);
     this.Controls.Add(this.Label2);
     this.Controls.Add(this.Label1);
     this.Controls.Add(this.cboMaps);
     this.Controls.Add(this.txbPath);
     this.Controls.Add(this.cmdLoad);
     this.Controls.Add(this.Label4);
     this.Name  = "Form1";
     this.Text  = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #33
0
 public Position(ESRI.ArcGIS.Controls.AxMapControl mapControl)
 {
     InitializeComponent();
     this.m_mapControl = mapControl;
 }
コード例 #34
0
 public frmAttributeTable(ESRI.ArcGIS.Controls.AxMapControl axMapControl)
 {
     InitializeComponent();
     m_axMapControl = axMapControl;
 }
コード例 #35
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.btnOptions1       = new System.Windows.Forms.Button();
     this.btnOptions2       = new System.Windows.Forms.Button();
     this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
     this.axToolbarControl2 = new ESRI.ArcGIS.Controls.AxToolbarControl();
     this.axTOCControl1     = new ESRI.ArcGIS.Controls.AxTOCControl();
     this.axMapControl1     = new ESRI.ArcGIS.Controls.AxMapControl();
     this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // btnOptions1
     //
     this.btnOptions1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOptions1.Location = new System.Drawing.Point(876, 3);
     this.btnOptions1.Name     = "btnOptions1";
     this.btnOptions1.Size     = new System.Drawing.Size(90, 23);
     this.btnOptions1.TabIndex = 5;
     this.btnOptions1.Text     = "Edit Options1";
     this.btnOptions1.Click   += new System.EventHandler(this.btnOptions1_Click);
     //
     // btnOptions2
     //
     this.btnOptions2.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOptions2.Location = new System.Drawing.Point(876, 37);
     this.btnOptions2.Name     = "btnOptions2";
     this.btnOptions2.Size     = new System.Drawing.Size(90, 23);
     this.btnOptions2.TabIndex = 6;
     this.btnOptions2.Text     = "Edit Options2";
     this.btnOptions2.Click   += new System.EventHandler(this.btnOptions2_Click);
     //
     // axToolbarControl1
     //
     this.axToolbarControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this.axToolbarControl1.Location = new System.Drawing.Point(159, 37);
     this.axToolbarControl1.Name     = "axToolbarControl1";
     this.axToolbarControl1.Size     = new System.Drawing.Size(704, 28);
     this.axToolbarControl1.TabIndex = 7;
     //
     // axToolbarControl2
     //
     this.axToolbarControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this.axToolbarControl2.Location = new System.Drawing.Point(159, 3);
     this.axToolbarControl2.Name     = "axToolbarControl2";
     this.axToolbarControl2.Size     = new System.Drawing.Size(704, 28);
     this.axToolbarControl2.TabIndex = 8;
     //
     // 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(3, 66);
     this.axTOCControl1.Name     = "axTOCControl1";
     this.axTOCControl1.Size     = new System.Drawing.Size(150, 433);
     this.axTOCControl1.TabIndex = 9;
     //
     // axMapControl1
     //
     this.axMapControl1.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.axMapControl1.Location     = new System.Drawing.Point(159, 66);
     this.axMapControl1.Name         = "axMapControl1";
     this.axMapControl1.Size         = new System.Drawing.Size(704, 433);
     this.axMapControl1.TabIndex     = 10;
     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(3, 3);
     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;
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 3;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 18.02493F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 81.97507F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 102F));
     this.tableLayoutPanel1.Controls.Add(this.axMapControl1, 1, 2);
     this.tableLayoutPanel1.Controls.Add(this.axTOCControl1, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.btnOptions1, 2, 0);
     this.tableLayoutPanel1.Controls.Add(this.btnOptions2, 2, 1);
     this.tableLayoutPanel1.Controls.Add(this.axLicenseControl1, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.axToolbarControl2, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.axToolbarControl1, 1, 1);
     this.tableLayoutPanel1.Location = new System.Drawing.Point(11, 10);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 3;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 53.42466F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 46.57534F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 438F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(969, 502);
     this.tableLayoutPanel1.TabIndex = 12;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(1188, 599);
     this.Controls.Add(this.tableLayoutPanel1);
     this.KeyPreview = true;
     this.Name       = "Form1";
     this.Text       = "Feature Editing";
     this.Load      += new System.EventHandler(this.Form1_Load);
     this.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #36
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.cboMaps = new System.Windows.Forms.ComboBox();
			this.txbPath = new System.Windows.Forms.TextBox();
			this.cmdLoad = new System.Windows.Forms.Button();
			this.Label4 = new System.Windows.Forms.Label();
			this.cmdZoomPage = new System.Windows.Forms.Button();
			this.cmdFullExtent = new System.Windows.Forms.Button();
			this.Label2 = new System.Windows.Forms.Label();
			this.Label1 = new System.Windows.Forms.Label();
			this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
			this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl();
			this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl();
			this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
			((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
			this.SuspendLayout();
			// 
			// cboMaps
			// 
			this.cboMaps.BackColor = System.Drawing.SystemColors.Window;
			this.cboMaps.Cursor = System.Windows.Forms.Cursors.Default;
			this.cboMaps.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.cboMaps.ForeColor = System.Drawing.SystemColors.WindowText;
			this.cboMaps.Location = new System.Drawing.Point(72, 48);
			this.cboMaps.Name = "cboMaps";
			this.cboMaps.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.cboMaps.Size = new System.Drawing.Size(161, 22);
			this.cboMaps.TabIndex = 11;
			this.cboMaps.SelectedIndexChanged += new System.EventHandler(this.cboMaps_SelectedIndexChanged);
			// 
			// txbPath
			// 
			this.txbPath.AcceptsReturn = true;
			this.txbPath.AutoSize = false;
			this.txbPath.BackColor = System.Drawing.SystemColors.Window;
			this.txbPath.Cursor = System.Windows.Forms.Cursors.IBeam;
			this.txbPath.Enabled = false;
			this.txbPath.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txbPath.ForeColor = System.Drawing.SystemColors.WindowText;
			this.txbPath.Location = new System.Drawing.Point(136, 8);
			this.txbPath.MaxLength = 0;
			this.txbPath.Name = "txbPath";
			this.txbPath.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.txbPath.Size = new System.Drawing.Size(369, 19);
			this.txbPath.TabIndex = 10;
			this.txbPath.Text = "";
			// 
			// 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, 8);
			this.cmdLoad.Name = "cmdLoad";
			this.cmdLoad.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.cmdLoad.Size = new System.Drawing.Size(121, 25);
			this.cmdLoad.TabIndex = 9;
			this.cmdLoad.Text = "Load Map Document";
			this.cmdLoad.Click += new System.EventHandler(this.cmdLoad_Click);
			// 
			// 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(8, 48);
			this.Label4.Name = "Label4";
			this.Label4.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Label4.Size = new System.Drawing.Size(65, 17);
			this.Label4.TabIndex = 12;
			this.Label4.Text = "Focus Map:";
			// 
			// cmdZoomPage
			// 
			this.cmdZoomPage.BackColor = System.Drawing.SystemColors.Control;
			this.cmdZoomPage.Cursor = System.Windows.Forms.Cursors.Default;
			this.cmdZoomPage.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.cmdZoomPage.ForeColor = System.Drawing.SystemColors.ControlText;
			this.cmdZoomPage.Location = new System.Drawing.Point(12, 352);
			this.cmdZoomPage.Name = "cmdZoomPage";
			this.cmdZoomPage.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.cmdZoomPage.Size = new System.Drawing.Size(97, 25);
			this.cmdZoomPage.TabIndex = 16;
			this.cmdZoomPage.Text = "Zoom to Page";
			this.cmdZoomPage.Click += new System.EventHandler(this.cmdZoomPage_Click);
			// 
			// cmdFullExtent
			// 
			this.cmdFullExtent.BackColor = System.Drawing.SystemColors.Control;
			this.cmdFullExtent.Cursor = System.Windows.Forms.Cursors.Default;
			this.cmdFullExtent.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.cmdFullExtent.ForeColor = System.Drawing.SystemColors.ControlText;
			this.cmdFullExtent.Location = new System.Drawing.Point(356, 352);
			this.cmdFullExtent.Name = "cmdFullExtent";
			this.cmdFullExtent.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.cmdFullExtent.Size = new System.Drawing.Size(153, 25);
			this.cmdFullExtent.TabIndex = 13;
			this.cmdFullExtent.Text = "Zoom to Full Data 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(124, 352);
			this.Label2.Name = "Label2";
			this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Label2.Size = new System.Drawing.Size(257, 17);
			this.Label2.TabIndex = 15;
			this.Label2.Text = "Right mouse button to pan page or data.";
			// 
			// 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(124, 368);
			this.Label1.Name = "Label1";
			this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.Label1.Size = new System.Drawing.Size(249, 17);
			this.Label1.TabIndex = 14;
			this.Label1.Text = "Left mouse button to zoom in on page or data.";
			// 
			// axPageLayoutControl1
			// 
			this.axPageLayoutControl1.Location = new System.Drawing.Point(8, 72);
			this.axPageLayoutControl1.Name = "axPageLayoutControl1";
			this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState")));
			this.axPageLayoutControl1.Size = new System.Drawing.Size(224, 272);
			this.axPageLayoutControl1.TabIndex = 17;
			this.axPageLayoutControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnMouseDownEventHandler(this.axPageLayoutControl1_OnMouseDown);
			this.axPageLayoutControl1.OnPageLayoutReplaced += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnPageLayoutReplacedEventHandler(this.axPageLayoutControl1_OnPageLayoutReplaced);
			this.axPageLayoutControl1.OnAfterScreenDraw += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnAfterScreenDrawEventHandler(this.axPageLayoutControl1_OnAfterScreenDraw);
			this.axPageLayoutControl1.OnFocusMapChanged += new System.EventHandler(this.axPageLayoutControl1_OnFocusMapChanged);
			this.axPageLayoutControl1.OnBeforeScreenDraw += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnBeforeScreenDrawEventHandler(this.axPageLayoutControl1_OnBeforeScreenDraw);
			// 
			// axMapControl1
			// 
			this.axMapControl1.Location = new System.Drawing.Point(240, 48);
			this.axMapControl1.Name = "axMapControl1";
			this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState")));
			this.axMapControl1.Size = new System.Drawing.Size(272, 296);
			this.axMapControl1.TabIndex = 18;
			this.axMapControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseDownEventHandler(this.axMapControl1_OnMouseDown);
			this.axMapControl1.OnAfterScreenDraw += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnAfterScreenDrawEventHandler(this.axMapControl1_OnAfterScreenDraw);
			this.axMapControl1.OnBeforeScreenDraw += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnBeforeScreenDrawEventHandler(this.axMapControl1_OnBeforeScreenDraw);
			// 
			// axLicenseControl1
			// 
			this.axLicenseControl1.Enabled = true;
			this.axLicenseControl1.Location = new System.Drawing.Point(160, 96);
			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 = 19;
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(520, 390);
			this.Controls.Add(this.axLicenseControl1);
			this.Controls.Add(this.axMapControl1);
			this.Controls.Add(this.axPageLayoutControl1);
			this.Controls.Add(this.cmdZoomPage);
			this.Controls.Add(this.cmdFullExtent);
			this.Controls.Add(this.Label2);
			this.Controls.Add(this.Label1);
			this.Controls.Add(this.cboMaps);
			this.Controls.Add(this.txbPath);
			this.Controls.Add(this.cmdLoad);
			this.Controls.Add(this.Label4);
			this.Name = "Form1";
			this.Text = "Form1";
			this.Load += new System.EventHandler(this.Form1_Load);
			((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
			this.ResumeLayout(false);

		}
コード例 #37
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.cmdAddSubMenu     = new System.Windows.Forms.Button();
     this.cmdAddMenu        = new System.Windows.Forms.Button();
     this.Label4            = new System.Windows.Forms.Label();
     this.Label2            = 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.axMapControl1     = new ESRI.ArcGIS.Controls.AxMapControl();
     this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
     this.Label5            = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     this.SuspendLayout();
     //
     // cmdAddSubMenu
     //
     this.cmdAddSubMenu.BackColor               = System.Drawing.SystemColors.Control;
     this.cmdAddSubMenu.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.cmdAddSubMenu.Enabled                 = false;
     this.cmdAddSubMenu.Font                    = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmdAddSubMenu.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.cmdAddSubMenu.Location                = new System.Drawing.Point(464, 272);
     this.cmdAddSubMenu.Name                    = "cmdAddSubMenu";
     this.cmdAddSubMenu.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.cmdAddSubMenu.Size                    = new System.Drawing.Size(97, 33);
     this.cmdAddSubMenu.TabIndex                = 12;
     this.cmdAddSubMenu.Text                    = "Add Sub Menu";
     this.cmdAddSubMenu.UseVisualStyleBackColor = false;
     this.cmdAddSubMenu.Click                  += new System.EventHandler(this.cmdAddSubMenu_Click);
     //
     // cmdAddMenu
     //
     this.cmdAddMenu.BackColor               = System.Drawing.SystemColors.Control;
     this.cmdAddMenu.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.cmdAddMenu.Font                    = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmdAddMenu.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.cmdAddMenu.Location                = new System.Drawing.Point(464, 176);
     this.cmdAddMenu.Name                    = "cmdAddMenu";
     this.cmdAddMenu.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.cmdAddMenu.Size                    = new System.Drawing.Size(97, 33);
     this.cmdAddMenu.TabIndex                = 11;
     this.cmdAddMenu.Text                    = "Add Menu";
     this.cmdAddMenu.UseVisualStyleBackColor = false;
     this.cmdAddMenu.Click                  += new System.EventHandler(this.cmdAddMenu_Click);
     //
     // 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, ((byte)(0)));
     this.Label4.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label4.Location    = new System.Drawing.Point(440, 232);
     this.Label4.Name        = "Label4";
     this.Label4.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label4.Size        = new System.Drawing.Size(137, 41);
     this.Label4.TabIndex    = 13;
     this.Label4.Text        = "Add a sub-menu to the Navigation menu.";
     //
     // 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(440, 40);
     this.Label2.Name        = "Label2";
     this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label2.Size        = new System.Drawing.Size(144, 33);
     this.Label2.TabIndex    = 10;
     this.Label2.Text        = "Browse to a map document to load into the MapControl.";
     //
     // 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(440, 136);
     this.Label3.Name        = "Label3";
     this.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label3.Size        = new System.Drawing.Size(145, 33);
     this.Label3.TabIndex    = 9;
     this.Label3.Text        = "Add the Navigation menu onto the ToolbarControl.";
     //
     // 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(440, 80);
     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.";
     //
     // 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;
     //
     // 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(424, 368);
     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(24, 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 = 16;
     //
     // 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, ((byte)(0)));
     this.Label5.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label5.Location    = new System.Drawing.Point(439, 328);
     this.Label5.Name        = "Label5";
     this.Label5.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label5.Size        = new System.Drawing.Size(145, 33);
     this.Label5.TabIndex    = 17;
     this.Label5.Text        = "Right click on the display to popup the Navigation menu";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(608, 414);
     this.Controls.Add(this.Label5);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.axMapControl1);
     this.Controls.Add(this.axToolbarControl1);
     this.Controls.Add(this.cmdAddSubMenu);
     this.Controls.Add(this.cmdAddMenu);
     this.Controls.Add(this.Label4);
     this.Controls.Add(this.Label2);
     this.Controls.Add(this.Label3);
     this.Controls.Add(this.Label1);
     this.Name  = "Form1";
     this.Text  = "Form1";
     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);
 }
コード例 #38
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(ShareCommandPool));
            this.chkShare = new System.Windows.Forms.CheckBox();
            this.Label7 = new System.Windows.Forms.Label();
            this.Label6 = new System.Windows.Forms.Label();
            this.Label3 = new System.Windows.Forms.Label();
            this.Label1 = new System.Windows.Forms.Label();
            this.lstCommandPool2 = new System.Windows.Forms.ListBox();
            this.lstCommandPool1 = new System.Windows.Forms.ListBox();
            this.Label4 = new System.Windows.Forms.Label();
            this.Label2 = new System.Windows.Forms.Label();
            this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
            this.axToolbarControl2 = 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.axToolbarControl2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
            this.SuspendLayout();
            // 
            // chkShare
            // 
            this.chkShare.BackColor = System.Drawing.SystemColors.Control;
            this.chkShare.Cursor = System.Windows.Forms.Cursors.Default;
            this.chkShare.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chkShare.ForeColor = System.Drawing.SystemColors.ControlText;
            this.chkShare.Location = new System.Drawing.Point(416, 24);
            this.chkShare.Name = "chkShare";
            this.chkShare.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.chkShare.Size = new System.Drawing.Size(129, 25);
            this.chkShare.TabIndex = 11;
            this.chkShare.Text = "Share CommandPool";
            this.chkShare.UseVisualStyleBackColor = false;
            this.chkShare.Click += new System.EventHandler(this.chkShare_Click);
            // 
            // Label7
            // 
            this.Label7.BackColor = System.Drawing.SystemColors.Control;
            this.Label7.Cursor = System.Windows.Forms.Cursors.Default;
            this.Label7.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Label7.ForeColor = System.Drawing.SystemColors.ControlText;
            this.Label7.Location = new System.Drawing.Point(408, 112);
            this.Label7.Name = "Label7";
            this.Label7.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label7.Size = new System.Drawing.Size(193, 49);
            this.Label7.TabIndex = 12;
            this.Label7.Text = "2) Select a ZoomIn, ZoomOut or Pan tool. Notice that only one tool is depressed. " +
                "";
            // 
            // Label6
            // 
            this.Label6.BackColor = System.Drawing.SystemColors.Control;
            this.Label6.Cursor = System.Windows.Forms.Cursors.Default;
            this.Label6.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Label6.ForeColor = System.Drawing.SystemColors.ControlText;
            this.Label6.Location = new System.Drawing.Point(408, 80);
            this.Label6.Name = "Label6";
            this.Label6.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label6.Size = new System.Drawing.Size(193, 33);
            this.Label6.TabIndex = 10;
            this.Label6.Text = "1) Browse to a map document to load into the MapControl.";
            // 
            // 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(408, 160);
            this.Label3.Name = "Label3";
            this.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label3.Size = new System.Drawing.Size(193, 49);
            this.Label3.TabIndex = 9;
            this.Label3.Text = "3) Share the same CommandPool between both ToolbarControls. Notice that the Usage" +
                "Count changes.";
            // 
            // 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(408, 208);
            this.Label1.Name = "Label1";
            this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label1.Size = new System.Drawing.Size(193, 57);
            this.Label1.TabIndex = 8;
            this.Label1.Text = "4) Select a ZoomIn, ZoomOut or Pan tool. Notice that the same tool on both Toolba" +
                "rControls becomes depressed.";
            // 
            // lstCommandPool2
            // 
            this.lstCommandPool2.BackColor = System.Drawing.SystemColors.Window;
            this.lstCommandPool2.Cursor = System.Windows.Forms.Cursors.Default;
            this.lstCommandPool2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lstCommandPool2.ForeColor = System.Drawing.SystemColors.WindowText;
            this.lstCommandPool2.ItemHeight = 14;
            this.lstCommandPool2.Location = new System.Drawing.Point(304, 296);
            this.lstCommandPool2.Name = "lstCommandPool2";
            this.lstCommandPool2.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.lstCommandPool2.Size = new System.Drawing.Size(281, 88);
            this.lstCommandPool2.TabIndex = 15;
            // 
            // lstCommandPool1
            // 
            this.lstCommandPool1.BackColor = System.Drawing.SystemColors.Window;
            this.lstCommandPool1.Cursor = System.Windows.Forms.Cursors.Default;
            this.lstCommandPool1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lstCommandPool1.ForeColor = System.Drawing.SystemColors.WindowText;
            this.lstCommandPool1.ItemHeight = 14;
            this.lstCommandPool1.Location = new System.Drawing.Point(8, 296);
            this.lstCommandPool1.Name = "lstCommandPool1";
            this.lstCommandPool1.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.lstCommandPool1.Size = new System.Drawing.Size(281, 88);
            this.lstCommandPool1.TabIndex = 14;
            // 
            // 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, ((byte)(0)));
            this.Label4.ForeColor = System.Drawing.SystemColors.ControlText;
            this.Label4.Location = new System.Drawing.Point(304, 280);
            this.Label4.Name = "Label4";
            this.Label4.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label4.Size = new System.Drawing.Size(193, 17);
            this.Label4.TabIndex = 17;
            this.Label4.Text = "CommandPool2";
            // 
            // 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(8, 280);
            this.Label2.Name = "Label2";
            this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label2.Size = new System.Drawing.Size(193, 17);
            this.Label2.TabIndex = 16;
            this.Label2.Text = "CommandPool1";
            // 
            // 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 = 18;
            // 
            // axToolbarControl2
            // 
            this.axToolbarControl2.Location = new System.Drawing.Point(8, 40);
            this.axToolbarControl2.Name = "axToolbarControl2";
            this.axToolbarControl2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl2.OcxState")));
            this.axToolbarControl2.Size = new System.Drawing.Size(392, 28);
            this.axToolbarControl2.TabIndex = 19;
            // 
            // axMapControl1
            // 
            this.axMapControl1.Location = new System.Drawing.Point(8, 72);
            this.axMapControl1.Name = "axMapControl1";
            this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState")));
            this.axMapControl1.Size = new System.Drawing.Size(392, 200);
            this.axMapControl1.TabIndex = 20;
            // 
            // axLicenseControl1
            // 
            this.axLicenseControl1.Enabled = true;
            this.axLicenseControl1.Location = new System.Drawing.Point(556, 258);
            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 = 21;
            // 
            // Form1
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(600, 398);
            this.Controls.Add(this.axLicenseControl1);
            this.Controls.Add(this.axMapControl1);
            this.Controls.Add(this.axToolbarControl2);
            this.Controls.Add(this.axToolbarControl1);
            this.Controls.Add(this.lstCommandPool2);
            this.Controls.Add(this.lstCommandPool1);
            this.Controls.Add(this.Label4);
            this.Controls.Add(this.Label2);
            this.Controls.Add(this.chkShare);
            this.Controls.Add(this.Label7);
            this.Controls.Add(this.Label6);
            this.Controls.Add(this.Label3);
            this.Controls.Add(this.Label1);
            this.Name = "Form1";
            this.Text = "Form1";
            this.Load += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
            this.ResumeLayout(false);

		}
コード例 #39
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(frmMain));
      this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components);
      this.menuFile = new System.Windows.Forms.MenuItem();
      this.menuOpenDoc = new System.Windows.Forms.MenuItem();
      this.menuNewDoc = new System.Windows.Forms.MenuItem();
      this.menuSaveDoc = new System.Windows.Forms.MenuItem();
      this.menuSaveAsDoc = new System.Windows.Forms.MenuItem();
      this.menuSeparator = new System.Windows.Forms.MenuItem();
      this.menuAppExit = new System.Windows.Forms.MenuItem();
      this.statusBar1 = new System.Windows.Forms.StatusBar();
      this.statusBarXYUnits = new System.Windows.Forms.StatusBarPanel();
      this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
      this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl();
      this.tabControl1 = new System.Windows.Forms.TabControl();
      this.tabPage1 = new System.Windows.Forms.TabPage();
      this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
      this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl();
      this.tabPage2 = new System.Windows.Forms.TabPage();
      this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl();
      this.axToolbarControl2 = new ESRI.ArcGIS.Controls.AxToolbarControl();
      this.splitter1 = new System.Windows.Forms.Splitter();
      ((System.ComponentModel.ISupportInitialize)(this.statusBarXYUnits)).BeginInit();
      ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
      ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
      this.tabControl1.SuspendLayout();
      this.tabPage1.SuspendLayout();
      ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
      ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
      this.tabPage2.SuspendLayout();
      ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit();
      ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl2)).BeginInit();
      this.SuspendLayout();
      // 
      // mainMenu1
      // 
      this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
            this.menuFile});
      // 
      // menuFile
      // 
      this.menuFile.Index = 0;
      this.menuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
            this.menuOpenDoc,
            this.menuNewDoc,
            this.menuSaveDoc,
            this.menuSaveAsDoc,
            this.menuSeparator,
            this.menuAppExit});
      this.menuFile.Text = "File";
      // 
      // menuOpenDoc
      // 
      this.menuOpenDoc.Index = 0;
      this.menuOpenDoc.Text = "Open...";
      this.menuOpenDoc.Click += new System.EventHandler(this.menuOpenDoc_Click);
      // 
      // menuNewDoc
      // 
      this.menuNewDoc.Index = 1;
      this.menuNewDoc.Text = "New...";
      this.menuNewDoc.Click += new System.EventHandler(this.menuNewDoc_Click);
      // 
      // menuSaveDoc
      // 
      this.menuSaveDoc.Index = 2;
      this.menuSaveDoc.Text = "Save";
      this.menuSaveDoc.Click += new System.EventHandler(this.menuSaveDoc_Click);
      // 
      // menuSaveAsDoc
      // 
      this.menuSaveAsDoc.Index = 3;
      this.menuSaveAsDoc.Text = "Save As...";
      this.menuSaveAsDoc.Click += new System.EventHandler(this.menuSaveAsDoc_Click);
      // 
      // menuSeparator
      // 
      this.menuSeparator.Index = 4;
      this.menuSeparator.Text = "-";
      // 
      // menuAppExit
      // 
      this.menuAppExit.Index = 5;
      this.menuAppExit.Text = "Exit";
      this.menuAppExit.Click += new System.EventHandler(this.menuAppExit_Click);
      // 
      // statusBar1
      // 
      this.statusBar1.Location = new System.Drawing.Point(0, 544);
      this.statusBar1.Name = "statusBar1";
      this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
            this.statusBarXYUnits});
      this.statusBar1.ShowPanels = true;
      this.statusBar1.Size = new System.Drawing.Size(784, 22);
      this.statusBar1.TabIndex = 5;
      // 
      // statusBarXYUnits
      // 
      this.statusBarXYUnits.Name = "statusBarXYUnits";
      this.statusBarXYUnits.Width = 200;
      // 
      // axToolbarControl1
      // 
      this.axToolbarControl1.Dock = System.Windows.Forms.DockStyle.Top;
      this.axToolbarControl1.Location = new System.Drawing.Point(0, 0);
      this.axToolbarControl1.Name = "axToolbarControl1";
      this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState")));
      this.axToolbarControl1.Size = new System.Drawing.Size(784, 28);
      this.axToolbarControl1.TabIndex = 7;
      // 
      // axTOCControl1
      // 
      this.axTOCControl1.Dock = System.Windows.Forms.DockStyle.Left;
      this.axTOCControl1.Location = new System.Drawing.Point(0, 28);
      this.axTOCControl1.Name = "axTOCControl1";
      this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState")));
      this.axTOCControl1.Size = new System.Drawing.Size(200, 516);
      this.axTOCControl1.TabIndex = 8;
      // 
      // tabControl1
      // 
      this.tabControl1.Controls.Add(this.tabPage1);
      this.tabControl1.Controls.Add(this.tabPage2);
      this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
      this.tabControl1.Location = new System.Drawing.Point(200, 28);
      this.tabControl1.Name = "tabControl1";
      this.tabControl1.SelectedIndex = 0;
      this.tabControl1.Size = new System.Drawing.Size(584, 488);
      this.tabControl1.TabIndex = 9;
      this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
      // 
      // tabPage1
      // 
      this.tabPage1.Controls.Add(this.axLicenseControl1);
      this.tabPage1.Controls.Add(this.axMapControl1);
      this.tabPage1.Location = new System.Drawing.Point(4, 22);
      this.tabPage1.Name = "tabPage1";
      this.tabPage1.Size = new System.Drawing.Size(576, 462);
      this.tabPage1.TabIndex = 0;
      this.tabPage1.Text = "Map";
      // 
      // axLicenseControl1
      // 
      this.axLicenseControl1.Enabled = true;
      this.axLicenseControl1.Location = new System.Drawing.Point(210, 220);
      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 = 1;
      // 
      // 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(576, 462);
      this.axMapControl1.TabIndex = 0;
      this.axMapControl1.OnMouseMove += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseMoveEventHandler(this.axMapControl1_OnMouseMove);
      // 
      // tabPage2
      // 
      this.tabPage2.Controls.Add(this.axPageLayoutControl1);
      this.tabPage2.Location = new System.Drawing.Point(4, 22);
      this.tabPage2.Name = "tabPage2";
      this.tabPage2.Size = new System.Drawing.Size(576, 462);
      this.tabPage2.TabIndex = 1;
      this.tabPage2.Text = "Layout";
      // 
      // axPageLayoutControl1
      // 
      this.axPageLayoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
      this.axPageLayoutControl1.Location = new System.Drawing.Point(0, 0);
      this.axPageLayoutControl1.Name = "axPageLayoutControl1";
      this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState")));
      this.axPageLayoutControl1.Size = new System.Drawing.Size(576, 462);
      this.axPageLayoutControl1.TabIndex = 0;
      this.axPageLayoutControl1.OnMouseMove += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnMouseMoveEventHandler(this.axPageLayoutControl1_OnMouseMove);
      // 
      // axToolbarControl2
      // 
      this.axToolbarControl2.Dock = System.Windows.Forms.DockStyle.Bottom;
      this.axToolbarControl2.Location = new System.Drawing.Point(200, 516);
      this.axToolbarControl2.Name = "axToolbarControl2";
      this.axToolbarControl2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl2.OcxState")));
      this.axToolbarControl2.Size = new System.Drawing.Size(584, 28);
      this.axToolbarControl2.TabIndex = 10;
      // 
      // splitter1
      // 
      this.splitter1.Location = new System.Drawing.Point(200, 28);
      this.splitter1.Name = "splitter1";
      this.splitter1.Size = new System.Drawing.Size(3, 488);
      this.splitter1.TabIndex = 11;
      this.splitter1.TabStop = false;
      // 
      // frmMain
      // 
      this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
      this.ClientSize = new System.Drawing.Size(784, 566);
      this.Controls.Add(this.splitter1);
      this.Controls.Add(this.tabControl1);
      this.Controls.Add(this.axToolbarControl2);
      this.Controls.Add(this.axTOCControl1);
      this.Controls.Add(this.axToolbarControl1);
      this.Controls.Add(this.statusBar1);
      this.Menu = this.mainMenu1;
      this.Name = "frmMain";
      this.Text = "Map & PageLayout synchronization";
      this.Load += new System.EventHandler(this.frmMain_Load);
      ((System.ComponentModel.ISupportInitialize)(this.statusBarXYUnits)).EndInit();
      ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
      ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
      this.tabControl1.ResumeLayout(false);
      this.tabPage1.ResumeLayout(false);
      ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
      ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
      this.tabPage2.ResumeLayout(false);
      ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit();
      ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl2)).EndInit();
      this.ResumeLayout(false);

    }
コード例 #40
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(frmMain));
     this.statusBar1        = new System.Windows.Forms.StatusBar();
     this.statusBarXY       = new System.Windows.Forms.StatusBarPanel();
     this.mainMenu1         = new System.Windows.Forms.MainMenu(this.components);
     this.menuFile          = new System.Windows.Forms.MenuItem();
     this.menuNewDoc        = new System.Windows.Forms.MenuItem();
     this.menuOpenDoc       = new System.Windows.Forms.MenuItem();
     this.menuSaveDoc       = new System.Windows.Forms.MenuItem();
     this.menuSaveAsDoc     = new System.Windows.Forms.MenuItem();
     this.menuSeparator     = new System.Windows.Forms.MenuItem();
     this.menuExitApp       = new System.Windows.Forms.MenuItem();
     this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
     this.axMapControl1     = new ESRI.ArcGIS.Controls.AxMapControl();
     this.axTOCControl1     = new ESRI.ArcGIS.Controls.AxTOCControl();
     this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
     this.splitter1         = new System.Windows.Forms.Splitter();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarXY)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
     this.SuspendLayout();
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 512);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this.statusBarXY
     });
     this.statusBar1.ShowPanels = true;
     this.statusBar1.Size       = new System.Drawing.Size(784, 22);
     this.statusBar1.TabIndex   = 4;
     //
     // statusBarXY
     //
     this.statusBarXY.Name  = "statusBarXY";
     this.statusBarXY.Width = 210;
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuFile
     });
     //
     // menuFile
     //
     this.menuFile.Index = 0;
     this.menuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuNewDoc,
         this.menuOpenDoc,
         this.menuSaveDoc,
         this.menuSaveAsDoc,
         this.menuSeparator,
         this.menuExitApp
     });
     this.menuFile.Text = "File";
     //
     // menuNewDoc
     //
     this.menuNewDoc.Index  = 0;
     this.menuNewDoc.Text   = "New Document";
     this.menuNewDoc.Click += new System.EventHandler(this.menuNewDoc_Click);
     //
     // menuOpenDoc
     //
     this.menuOpenDoc.Index  = 1;
     this.menuOpenDoc.Text   = "Open Document...";
     this.menuOpenDoc.Click += new System.EventHandler(this.menuOpenDoc_Click);
     //
     // menuSaveDoc
     //
     this.menuSaveDoc.Index  = 2;
     this.menuSaveDoc.Text   = "SaveDocuement";
     this.menuSaveDoc.Click += new System.EventHandler(this.menuSaveDoc_Click);
     //
     // menuSaveAsDoc
     //
     this.menuSaveAsDoc.Index  = 3;
     this.menuSaveAsDoc.Text   = "Save As...";
     this.menuSaveAsDoc.Click += new System.EventHandler(this.menuSaveAsDoc_Click);
     //
     // menuSeparator
     //
     this.menuSeparator.Index = 4;
     this.menuSeparator.Text  = "-";
     //
     // menuExitApp
     //
     this.menuExitApp.Index  = 5;
     this.menuExitApp.Text   = "Exit";
     this.menuExitApp.Click += new System.EventHandler(this.menuExitApp_Click);
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(320, 176);
     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 = 5;
     //
     // axMapControl1
     //
     this.axMapControl1.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.axMapControl1.Location       = new System.Drawing.Point(0, 28);
     this.axMapControl1.Name           = "axMapControl1";
     this.axMapControl1.OcxState       = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState")));
     this.axMapControl1.Size           = new System.Drawing.Size(784, 484);
     this.axMapControl1.TabIndex       = 6;
     this.axMapControl1.OnMouseMove   += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseMoveEventHandler(this.axMapControl1_OnMouseMove);
     this.axMapControl1.OnMapReplaced += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMapReplacedEventHandler(this.axMapControl1_OnMapReplaced);
     //
     // axTOCControl1
     //
     this.axTOCControl1.Dock         = System.Windows.Forms.DockStyle.Left;
     this.axTOCControl1.Location     = new System.Drawing.Point(3, 28);
     this.axTOCControl1.Name         = "axTOCControl1";
     this.axTOCControl1.OcxState     = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState")));
     this.axTOCControl1.Size         = new System.Drawing.Size(209, 484);
     this.axTOCControl1.TabIndex     = 7;
     this.axTOCControl1.OnMouseDown += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnMouseDownEventHandler(this.axTOCControl1_OnMouseDown);
     //
     // axToolbarControl1
     //
     this.axToolbarControl1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.axToolbarControl1.Location = new System.Drawing.Point(0, 0);
     this.axToolbarControl1.Name     = "axToolbarControl1";
     this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState")));
     this.axToolbarControl1.Size     = new System.Drawing.Size(784, 28);
     this.axToolbarControl1.TabIndex = 8;
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(0, 28);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 484);
     this.splitter1.TabIndex = 9;
     this.splitter1.TabStop  = false;
     //
     // frmMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(784, 534);
     this.Controls.Add(this.axTOCControl1);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.axMapControl1);
     this.Controls.Add(this.axToolbarControl1);
     this.Controls.Add(this.statusBar1);
     this.Icon  = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu  = this.mainMenu1;
     this.Name  = "frmMain";
     this.Text  = "ArcEngine Controls Application";
     this.Load += new System.EventHandler(this.frmMain_Load);
     ((System.ComponentModel.ISupportInitialize)(this.statusBarXY)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #41
0
 private void DrawPolygon(ESRI.ArcGIS.Geometry.IPointCollection pPointCollection, ESRI.ArcGIS.Controls.AxMapControl axMapControl)
 {
     ESRI.ArcGIS.Geometry.IPolygon pPolygon;
     pPolygon = (ESRI.ArcGIS.Geometry.IPolygon)pPointCollection;
     axMapControl.DrawShape(pPolygon);
 }
コード例 #42
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.Text1 = new System.Windows.Forms.TextBox();
            this.Label1 = new System.Windows.Forms.Label();
            this.cmdReset = new System.Windows.Forms.Button();
            this.cmdFullExtent = new System.Windows.Forms.Button();
            this.Label3 = new System.Windows.Forms.Label();
            this.Label2 = 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();
            // 
            // Text1
            // 
            this.Text1.AcceptsReturn = true;
            this.Text1.BackColor = System.Drawing.SystemColors.Window;
            this.Text1.Cursor = System.Windows.Forms.Cursors.IBeam;
            this.Text1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Text1.ForeColor = System.Drawing.SystemColors.WindowText;
            this.Text1.Location = new System.Drawing.Point(8, 280);
            this.Text1.MaxLength = 0;
            this.Text1.Name = "Text1";
            this.Text1.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Text1.Size = new System.Drawing.Size(321, 25);
            this.Text1.TabIndex = 4;
            this.Text1.Text = "Put a map in your app...";
            // 
            // 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(8, 264);
            this.Label1.Name = "Label1";
            this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label1.Size = new System.Drawing.Size(129, 17);
            this.Label1.TabIndex = 5;
            this.Label1.Text = "Enter text:";
            // 
            // cmdReset
            // 
            this.cmdReset.BackColor = System.Drawing.SystemColors.Control;
            this.cmdReset.Cursor = System.Windows.Forms.Cursors.Default;
            this.cmdReset.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmdReset.ForeColor = System.Drawing.SystemColors.ControlText;
            this.cmdReset.Location = new System.Drawing.Point(344, 208);
            this.cmdReset.Name = "cmdReset";
            this.cmdReset.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.cmdReset.Size = new System.Drawing.Size(73, 25);
            this.cmdReset.TabIndex = 7;
            this.cmdReset.Text = "Clear Text";
            this.cmdReset.UseVisualStyleBackColor = false;
            this.cmdReset.Click += new System.EventHandler(this.cmdReset_Click);
            // 
            // cmdFullExtent
            // 
            this.cmdFullExtent.BackColor = System.Drawing.SystemColors.Control;
            this.cmdFullExtent.Cursor = System.Windows.Forms.Cursors.Default;
            this.cmdFullExtent.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmdFullExtent.ForeColor = System.Drawing.SystemColors.ControlText;
            this.cmdFullExtent.Location = new System.Drawing.Point(344, 240);
            this.cmdFullExtent.Name = "cmdFullExtent";
            this.cmdFullExtent.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.cmdFullExtent.Size = new System.Drawing.Size(73, 25);
            this.cmdFullExtent.TabIndex = 6;
            this.cmdFullExtent.Text = "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(344, 72);
            this.Label3.Name = "Label3";
            this.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label3.Size = new System.Drawing.Size(81, 65);
            this.Label3.TabIndex = 8;
            this.Label3.Text = "Right mouse button to drag a rectangle to zoom in.";
            // 
            // 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(344, 8);
            this.Label2.Name = "Label2";
            this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Label2.Size = new System.Drawing.Size(81, 65);
            this.Label2.TabIndex = 9;
            this.Label2.Text = "Left mouse button to trace a line to draw text along. ";
            // 
            // 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(320, 248);
            this.axMapControl1.TabIndex = 10;
            this.axMapControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseDownEventHandler(this.axMapControl1_OnMouseDown);
            this.axMapControl1.OnAfterDraw += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnAfterDrawEventHandler(this.axMapControl1_OnAfterDraw);
            // 
            // axLicenseControl1
            // 
            this.axLicenseControl1.Enabled = true;
            this.axLicenseControl1.Location = new System.Drawing.Point(347, 140);
            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;
            // 
            // Form1
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(432, 310);
            this.Controls.Add(this.axLicenseControl1);
            this.Controls.Add(this.axMapControl1);
            this.Controls.Add(this.cmdReset);
            this.Controls.Add(this.cmdFullExtent);
            this.Controls.Add(this.Label3);
            this.Controls.Add(this.Label2);
            this.Controls.Add(this.Text1);
            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);

		}
コード例 #43
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.Text1             = new System.Windows.Forms.TextBox();
     this.Label1            = new System.Windows.Forms.Label();
     this.cmdReset          = new System.Windows.Forms.Button();
     this.cmdFullExtent     = new System.Windows.Forms.Button();
     this.Label3            = new System.Windows.Forms.Label();
     this.Label2            = 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();
     //
     // Text1
     //
     this.Text1.AcceptsReturn = true;
     this.Text1.BackColor     = System.Drawing.SystemColors.Window;
     this.Text1.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.Text1.Font          = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Text1.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.Text1.Location      = new System.Drawing.Point(8, 280);
     this.Text1.MaxLength     = 0;
     this.Text1.Name          = "Text1";
     this.Text1.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.Text1.Size          = new System.Drawing.Size(321, 25);
     this.Text1.TabIndex      = 4;
     this.Text1.Text          = "Put a map in your app...";
     //
     // 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(8, 264);
     this.Label1.Name        = "Label1";
     this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label1.Size        = new System.Drawing.Size(129, 17);
     this.Label1.TabIndex    = 5;
     this.Label1.Text        = "Enter text:";
     //
     // cmdReset
     //
     this.cmdReset.BackColor               = System.Drawing.SystemColors.Control;
     this.cmdReset.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.cmdReset.Font                    = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmdReset.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.cmdReset.Location                = new System.Drawing.Point(344, 208);
     this.cmdReset.Name                    = "cmdReset";
     this.cmdReset.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.cmdReset.Size                    = new System.Drawing.Size(73, 25);
     this.cmdReset.TabIndex                = 7;
     this.cmdReset.Text                    = "Clear Text";
     this.cmdReset.UseVisualStyleBackColor = false;
     this.cmdReset.Click                  += new System.EventHandler(this.cmdReset_Click);
     //
     // cmdFullExtent
     //
     this.cmdFullExtent.BackColor               = System.Drawing.SystemColors.Control;
     this.cmdFullExtent.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.cmdFullExtent.Font                    = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmdFullExtent.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.cmdFullExtent.Location                = new System.Drawing.Point(344, 240);
     this.cmdFullExtent.Name                    = "cmdFullExtent";
     this.cmdFullExtent.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.cmdFullExtent.Size                    = new System.Drawing.Size(73, 25);
     this.cmdFullExtent.TabIndex                = 6;
     this.cmdFullExtent.Text                    = "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(344, 72);
     this.Label3.Name        = "Label3";
     this.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label3.Size        = new System.Drawing.Size(81, 65);
     this.Label3.TabIndex    = 8;
     this.Label3.Text        = "Right mouse button to drag a rectangle to zoom in.";
     //
     // 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(344, 8);
     this.Label2.Name        = "Label2";
     this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label2.Size        = new System.Drawing.Size(81, 65);
     this.Label2.TabIndex    = 9;
     this.Label2.Text        = "Left mouse button to trace a line to draw text along. ";
     //
     // 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(320, 248);
     this.axMapControl1.TabIndex     = 10;
     this.axMapControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseDownEventHandler(this.axMapControl1_OnMouseDown);
     this.axMapControl1.OnAfterDraw += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnAfterDrawEventHandler(this.axMapControl1_OnAfterDraw);
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(347, 140);
     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;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(432, 310);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.axMapControl1);
     this.Controls.Add(this.cmdReset);
     this.Controls.Add(this.cmdFullExtent);
     this.Controls.Add(this.Label3);
     this.Controls.Add(this.Label2);
     this.Controls.Add(this.Text1);
     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);
 }
コード例 #44
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(frmMain));
      this.statusBar1 = new System.Windows.Forms.StatusBar();
      this.statusBarXY = new System.Windows.Forms.StatusBarPanel();
      this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components);
      this.menuFile = new System.Windows.Forms.MenuItem();
      this.menuNewDoc = new System.Windows.Forms.MenuItem();
      this.menuOpenDoc = new System.Windows.Forms.MenuItem();
      this.menuSaveDoc = new System.Windows.Forms.MenuItem();
      this.menuSaveAsDoc = new System.Windows.Forms.MenuItem();
      this.menuSeparator = new System.Windows.Forms.MenuItem();
      this.menuExitApp = new System.Windows.Forms.MenuItem();
      this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
      this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl();
      this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl();
      this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
      this.splitter1 = new System.Windows.Forms.Splitter();
      ((System.ComponentModel.ISupportInitialize)(this.statusBarXY)).BeginInit();
      ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
      ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit();
      ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
      ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
      this.SuspendLayout();
      // 
      // statusBar1
      // 
      this.statusBar1.Location = new System.Drawing.Point(0, 512);
      this.statusBar1.Name = "statusBar1";
      this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
            this.statusBarXY});
      this.statusBar1.ShowPanels = true;
      this.statusBar1.Size = new System.Drawing.Size(784, 22);
      this.statusBar1.TabIndex = 4;
      // 
      // statusBarXY
      // 
      this.statusBarXY.Name = "statusBarXY";
      this.statusBarXY.Width = 210;
      // 
      // mainMenu1
      // 
      this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
            this.menuFile});
      // 
      // menuFile
      // 
      this.menuFile.Index = 0;
      this.menuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
            this.menuNewDoc,
            this.menuOpenDoc,
            this.menuSaveDoc,
            this.menuSaveAsDoc,
            this.menuSeparator,
            this.menuExitApp});
      this.menuFile.Text = "File";
      // 
      // menuNewDoc
      // 
      this.menuNewDoc.Index = 0;
      this.menuNewDoc.Text = "New Document";
      this.menuNewDoc.Click += new System.EventHandler(this.menuNewDoc_Click);
      // 
      // menuOpenDoc
      // 
      this.menuOpenDoc.Index = 1;
      this.menuOpenDoc.Text = "Open Document...";
      this.menuOpenDoc.Click += new System.EventHandler(this.menuOpenDoc_Click);
      // 
      // menuSaveDoc
      // 
      this.menuSaveDoc.Index = 2;
      this.menuSaveDoc.Text = "SaveDocuement";
      this.menuSaveDoc.Click += new System.EventHandler(this.menuSaveDoc_Click);
      // 
      // menuSaveAsDoc
      // 
      this.menuSaveAsDoc.Index = 3;
      this.menuSaveAsDoc.Text = "Save As...";
      this.menuSaveAsDoc.Click += new System.EventHandler(this.menuSaveAsDoc_Click);
      // 
      // menuSeparator
      // 
      this.menuSeparator.Index = 4;
      this.menuSeparator.Text = "-";
      // 
      // menuExitApp
      // 
      this.menuExitApp.Index = 5;
      this.menuExitApp.Text = "Exit";
      this.menuExitApp.Click += new System.EventHandler(this.menuExitApp_Click);
      // 
      // axLicenseControl1
      // 
      this.axLicenseControl1.Enabled = true;
      this.axLicenseControl1.Location = new System.Drawing.Point(320, 176);
      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 = 5;
      // 
      // axMapControl1
      // 
      this.axMapControl1.Dock = System.Windows.Forms.DockStyle.Fill;
      this.axMapControl1.Location = new System.Drawing.Point(0, 28);
      this.axMapControl1.Name = "axMapControl1";
      this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState")));
      this.axMapControl1.Size = new System.Drawing.Size(784, 484);
      this.axMapControl1.TabIndex = 6;
      this.axMapControl1.OnMouseMove += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseMoveEventHandler(this.axMapControl1_OnMouseMove);
      this.axMapControl1.OnMapReplaced += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMapReplacedEventHandler(this.axMapControl1_OnMapReplaced);
      // 
      // axTOCControl1
      // 
      this.axTOCControl1.Dock = System.Windows.Forms.DockStyle.Left;
      this.axTOCControl1.Location = new System.Drawing.Point(3, 28);
      this.axTOCControl1.Name = "axTOCControl1";
      this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState")));
      this.axTOCControl1.Size = new System.Drawing.Size(209, 484);
      this.axTOCControl1.TabIndex = 7;
      this.axTOCControl1.OnMouseDown += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnMouseDownEventHandler(this.axTOCControl1_OnMouseDown);
      // 
      // axToolbarControl1
      // 
      this.axToolbarControl1.Dock = System.Windows.Forms.DockStyle.Top;
      this.axToolbarControl1.Location = new System.Drawing.Point(0, 0);
      this.axToolbarControl1.Name = "axToolbarControl1";
      this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState")));
      this.axToolbarControl1.Size = new System.Drawing.Size(784, 28);
      this.axToolbarControl1.TabIndex = 8;
      // 
      // splitter1
      // 
      this.splitter1.Location = new System.Drawing.Point(0, 28);
      this.splitter1.Name = "splitter1";
      this.splitter1.Size = new System.Drawing.Size(3, 484);
      this.splitter1.TabIndex = 9;
      this.splitter1.TabStop = false;
      // 
      // frmMain
      // 
      this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
      this.ClientSize = new System.Drawing.Size(784, 534);
      this.Controls.Add(this.axTOCControl1);
      this.Controls.Add(this.axLicenseControl1);
      this.Controls.Add(this.splitter1);
      this.Controls.Add(this.axMapControl1);
      this.Controls.Add(this.axToolbarControl1);
      this.Controls.Add(this.statusBar1);
      this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
      this.Menu = this.mainMenu1;
      this.Name = "frmMain";
      this.Text = "ArcEngine Controls Application";
      this.Load += new System.EventHandler(this.frmMain_Load);
      ((System.ComponentModel.ISupportInitialize)(this.statusBarXY)).EndInit();
      ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
      ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();
      ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
      ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
      this.ResumeLayout(false);

    }