/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mapControl1 = new MapInfo.Windows.Controls.MapControl(); this.panel1 = new System.Windows.Forms.Panel(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.mapToolBar1 = new MapInfo.Windows.Controls.MapToolBar(); this.mapToolBarButtonOpenTable = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonLayerControl = new MapInfo.Windows.Controls.MapToolBarButton(); this.toolBarButtonSeparator = new System.Windows.Forms.ToolBarButton(); this.mapToolBarButtonSelect = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomIn = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomOut = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonPan = new MapInfo.Windows.Controls.MapToolBarButton(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl1.IgnoreLostFocusEvent = false; this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(594, 340); this.mapControl1.TabIndex = 0; this.mapControl1.Text = "mapControl1"; this.mapControl1.Tools.MiddleButtonTool = null; // // panel1 // this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.mapControl1); this.panel1.Location = new System.Drawing.Point(5, 43); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(598, 344); this.panel1.TabIndex = 1; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 385); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(608, 20); this.statusBar1.TabIndex = 2; // // mapToolBar1 // this.mapToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.mapToolBarButtonOpenTable, this.mapToolBarButtonLayerControl, this.toolBarButtonSeparator, this.mapToolBarButtonSelect, this.mapToolBarButtonZoomIn, this.mapToolBarButtonZoomOut, this.mapToolBarButtonPan}); this.mapToolBar1.Divider = false; this.mapToolBar1.Dock = System.Windows.Forms.DockStyle.None; this.mapToolBar1.DropDownArrows = true; this.mapToolBar1.Location = new System.Drawing.Point(7, 9); this.mapToolBar1.MapControl = this.mapControl1; this.mapToolBar1.Name = "mapToolBar1"; this.mapToolBar1.ShowToolTips = true; this.mapToolBar1.Size = new System.Drawing.Size(192, 26); this.mapToolBar1.TabIndex = 8; // // mapToolBarButtonOpenTable // this.mapToolBarButtonOpenTable.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.OpenTable; this.mapToolBarButtonOpenTable.Name = "mapToolBarButtonOpenTable"; this.mapToolBarButtonOpenTable.ToolTipText = "Open Table"; // // mapToolBarButtonLayerControl // this.mapToolBarButtonLayerControl.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.LayerControl; this.mapToolBarButtonLayerControl.Name = "mapToolBarButtonLayerControl"; this.mapToolBarButtonLayerControl.ToolTipText = "Layer Control"; // // toolBarButtonSeparator // this.toolBarButtonSeparator.Name = "toolBarButtonSeparator"; this.toolBarButtonSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // mapToolBarButtonSelect // this.mapToolBarButtonSelect.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Select; this.mapToolBarButtonSelect.Name = "mapToolBarButtonSelect"; this.mapToolBarButtonSelect.ToolTipText = "Select"; // // mapToolBarButtonZoomIn // this.mapToolBarButtonZoomIn.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomIn; this.mapToolBarButtonZoomIn.Name = "mapToolBarButtonZoomIn"; this.mapToolBarButtonZoomIn.ToolTipText = "Zoom-in"; // // mapToolBarButtonZoomOut // this.mapToolBarButtonZoomOut.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomOut; this.mapToolBarButtonZoomOut.Name = "mapToolBarButtonZoomOut"; this.mapToolBarButtonZoomOut.ToolTipText = "Zoom-out"; // // mapToolBarButtonPan // this.mapToolBarButtonPan.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Pan; this.mapToolBarButtonPan.Name = "mapToolBarButtonPan"; this.mapToolBarButtonPan.ToolTipText = "Pan"; // // MapForm1 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(608, 405); this.Controls.Add(this.mapToolBar1); this.Controls.Add(this.statusBar1); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(300, 215); this.Name = "MapForm1"; this.Text = "MapForm1"; this.Load += new System.EventHandler(this.MapForm1_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mapControl1 = new MapInfo.Windows.Controls.MapControl(); this.panel1 = new System.Windows.Forms.Panel(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.btnBarTheme = new System.Windows.Forms.Button(); this.btnStacked = new System.Windows.Forms.Button(); this.mapToolBar1 = new MapInfo.Windows.Controls.MapToolBar(); this.mapToolBarButtonOpenTable = new MapInfo.Windows.Controls.MapToolBarButton(); this.toolBarButtonSeparator = new System.Windows.Forms.ToolBarButton(); this.mapToolBarButtonSelect = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomIn = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomOut = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonPan = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonLayerControl = new MapInfo.Windows.Controls.MapToolBarButton(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(394, 245); this.mapControl1.TabIndex = 0; this.mapControl1.Text = "mapControl1"; this.mapControl1.Tools.MiddleButtonTool = null; // // panel1 // this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.mapControl1); this.panel1.Location = new System.Drawing.Point(4, 40); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(398, 249); this.panel1.TabIndex = 1; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 287); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(406, 19); this.statusBar1.TabIndex = 2; // // btnBarTheme // this.btnBarTheme.Location = new System.Drawing.Point(200, 8); this.btnBarTheme.Name = "btnBarTheme"; this.btnBarTheme.Size = new System.Drawing.Size(88, 23); this.btnBarTheme.TabIndex = 4; this.btnBarTheme.Text = "BarTheme"; this.btnBarTheme.Click += new System.EventHandler(this.btnBarTheme_Click); // // btnStacked // this.btnStacked.Location = new System.Drawing.Point(312, 8); this.btnStacked.Name = "btnStacked"; this.btnStacked.Size = new System.Drawing.Size(88, 23); this.btnStacked.TabIndex = 5; this.btnStacked.Text = "Stacked"; this.btnStacked.Click += new System.EventHandler(this.btnStacked_Click); // // mapToolBar1 // this.mapToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.mapToolBarButtonOpenTable, this.mapToolBarButtonLayerControl, this.toolBarButtonSeparator, this.mapToolBarButtonSelect, this.mapToolBarButtonZoomIn, this.mapToolBarButtonZoomOut, this.mapToolBarButtonPan}); this.mapToolBar1.Divider = false; this.mapToolBar1.Dock = System.Windows.Forms.DockStyle.None; this.mapToolBar1.DropDownArrows = true; this.mapToolBar1.Location = new System.Drawing.Point(8, 8); this.mapToolBar1.MapControl = this.mapControl1; this.mapToolBar1.Name = "mapToolBar1"; this.mapToolBar1.ShowToolTips = true; this.mapToolBar1.Size = new System.Drawing.Size(160, 26); this.mapToolBar1.TabIndex = 7; // // mapToolBarButtonOpenTable // this.mapToolBarButtonOpenTable.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.OpenTable; this.mapToolBarButtonOpenTable.ToolTipText = "Open Table"; // // toolBarButtonSeparator // this.toolBarButtonSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // mapToolBarButtonSelect // this.mapToolBarButtonSelect.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Select; this.mapToolBarButtonSelect.ToolTipText = "Select"; // // mapToolBarButtonZoomIn // this.mapToolBarButtonZoomIn.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomIn; this.mapToolBarButtonZoomIn.ToolTipText = "Zoom-in"; // // mapToolBarButtonZoomOut // this.mapToolBarButtonZoomOut.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomOut; this.mapToolBarButtonZoomOut.ToolTipText = "Zoom-out"; // // mapToolBarButtonPan // this.mapToolBarButtonPan.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Pan; this.mapToolBarButtonPan.ToolTipText = "Pan"; // // mapToolBarButtonLayerControl // this.mapToolBarButtonLayerControl.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.LayerControl; this.mapToolBarButtonLayerControl.ToolTipText = "Layer Control"; // // MapForm1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(406, 306); this.Controls.Add(this.mapToolBar1); this.Controls.Add(this.btnStacked); this.Controls.Add(this.btnBarTheme); this.Controls.Add(this.statusBar1); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(250, 200); this.Name = "MapForm1"; this.Text = "MapForm1"; this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mapControl1 = new MapInfo.Windows.Controls.MapControl(); this.panel1 = new System.Windows.Forms.Panel(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.comboBoxMaps = new System.Windows.Forms.ComboBox(); this.RemoveMap = new System.Windows.Forms.Button(); this.BtnNewMap = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.MapFromFile = new System.Windows.Forms.Button(); this.ClearMaps = new System.Windows.Forms.Button(); this.NewEmptyMap = new System.Windows.Forms.Button(); this.mapToolBar1 = new MapInfo.Windows.Controls.MapToolBar(); this.mapToolBarButtonOpenTable = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonLayerControl = new MapInfo.Windows.Controls.MapToolBarButton(); this.toolBarButtonSeparator = new System.Windows.Forms.ToolBarButton(); this.mapToolBarButtonSelect = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomIn = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomOut = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonPan = new MapInfo.Windows.Controls.MapToolBarButton(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(408, 284); this.mapControl1.TabIndex = 0; this.mapControl1.Text = "mapControl1"; this.mapControl1.Tools.MiddleButtonTool = null; // // panel1 // this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.mapControl1); this.panel1.Location = new System.Drawing.Point(4, 32); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(412, 288); this.panel1.TabIndex = 1; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 322); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(584, 19); this.statusBar1.TabIndex = 2; // // comboBoxMaps // this.comboBoxMaps.Location = new System.Drawing.Point(200, 8); this.comboBoxMaps.Name = "comboBoxMaps"; this.comboBoxMaps.Size = new System.Drawing.Size(121, 21); this.comboBoxMaps.TabIndex = 4; this.comboBoxMaps.Text = "comboBoxMaps"; this.comboBoxMaps.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // RemoveMap // this.RemoveMap.Location = new System.Drawing.Point(328, 7); this.RemoveMap.Name = "RemoveMap"; this.RemoveMap.Size = new System.Drawing.Size(80, 23); this.RemoveMap.TabIndex = 5; this.RemoveMap.Text = "Remove Map"; this.RemoveMap.Click += new System.EventHandler(this.RemoveMap_Click); // // BtnNewMap // this.BtnNewMap.Location = new System.Drawing.Point(16, 32); this.BtnNewMap.Name = "BtnNewMap"; this.BtnNewMap.Size = new System.Drawing.Size(120, 23); this.BtnNewMap.TabIndex = 6; this.BtnNewMap.Text = "New Map Dialog"; this.BtnNewMap.Click += new System.EventHandler(this.button2_Click); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.MapFromFile); this.groupBox1.Controls.Add(this.ClearMaps); this.groupBox1.Controls.Add(this.NewEmptyMap); this.groupBox1.Controls.Add(this.BtnNewMap); this.groupBox1.Location = new System.Drawing.Point(424, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(152, 312); this.groupBox1.TabIndex = 7; this.groupBox1.TabStop = false; this.groupBox1.Text = "MapFactory Methods"; // // MapFromFile // this.MapFromFile.Location = new System.Drawing.Point(16, 112); this.MapFromFile.Name = "MapFromFile"; this.MapFromFile.Size = new System.Drawing.Size(120, 23); this.MapFromFile.TabIndex = 9; this.MapFromFile.Text = "New Map From File"; this.MapFromFile.Click += new System.EventHandler(this.MapFromFile_Click); // // ClearMaps // this.ClearMaps.Location = new System.Drawing.Point(16, 152); this.ClearMaps.Name = "ClearMaps"; this.ClearMaps.Size = new System.Drawing.Size(120, 23); this.ClearMaps.TabIndex = 8; this.ClearMaps.Text = "Clear Maps"; this.ClearMaps.Click += new System.EventHandler(this.ClearMaps_Click); // // NewEmptyMap // this.NewEmptyMap.Location = new System.Drawing.Point(16, 72); this.NewEmptyMap.Name = "NewEmptyMap"; this.NewEmptyMap.Size = new System.Drawing.Size(120, 23); this.NewEmptyMap.TabIndex = 7; this.NewEmptyMap.Text = "New Empty Map"; this.NewEmptyMap.Click += new System.EventHandler(this.NewEmptyMap_Click); // // mapToolBar1 // this.mapToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.mapToolBarButtonOpenTable, this.mapToolBarButtonLayerControl, this.toolBarButtonSeparator, this.mapToolBarButtonSelect, this.mapToolBarButtonZoomIn, this.mapToolBarButtonZoomOut, this.mapToolBarButtonPan }); this.mapToolBar1.Divider = false; this.mapToolBar1.Dock = System.Windows.Forms.DockStyle.None; this.mapToolBar1.DropDownArrows = true; this.mapToolBar1.Location = new System.Drawing.Point(6, 6); this.mapToolBar1.MapControl = this.mapControl1; this.mapToolBar1.Name = "mapToolBar1"; this.mapToolBar1.ShowToolTips = true; this.mapToolBar1.Size = new System.Drawing.Size(187, 26); this.mapToolBar1.TabIndex = 9; // // mapToolBarButtonOpenTable // this.mapToolBarButtonOpenTable.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.OpenTable; this.mapToolBarButtonOpenTable.ToolTipText = "Open Table"; // // mapToolBarButtonLayerControl // this.mapToolBarButtonLayerControl.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.LayerControl; this.mapToolBarButtonLayerControl.ToolTipText = "Layer Control"; // // toolBarButtonSeparator // this.toolBarButtonSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // mapToolBarButtonSelect // this.mapToolBarButtonSelect.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Select; this.mapToolBarButtonSelect.ToolTipText = "Select"; // // mapToolBarButtonZoomIn // this.mapToolBarButtonZoomIn.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomIn; this.mapToolBarButtonZoomIn.ToolTipText = "Zoom-in"; // // mapToolBarButtonZoomOut // this.mapToolBarButtonZoomOut.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomOut; this.mapToolBarButtonZoomOut.ToolTipText = "Zoom-out"; // // mapToolBarButtonPan // this.mapToolBarButtonPan.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Pan; this.mapToolBarButtonPan.ToolTipText = "Pan"; // // MapForm1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(584, 341); this.Controls.Add(this.mapToolBar1); this.Controls.Add(this.RemoveMap); this.Controls.Add(this.comboBoxMaps); this.Controls.Add(this.statusBar1); this.Controls.Add(this.panel1); this.Controls.Add(this.groupBox1); this.MinimumSize = new System.Drawing.Size(592, 248); this.Name = "MapForm1"; this.Text = "MapForm1"; this.panel1.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mapControl1 = new MapInfo.Windows.Controls.MapControl(); this.panel1 = new System.Windows.Forms.Panel(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.mapToolBar1 = new MapInfo.Windows.Controls.MapToolBar(); this.mapToolBarButtonOpenTable = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonLayerControl = new MapInfo.Windows.Controls.MapToolBarButton(); this.toolBarButtonSeparator = new System.Windows.Forms.ToolBarButton(); this.mapToolBarButtonSelect = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomIn = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomOut = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonPan = new MapInfo.Windows.Controls.MapToolBarButton(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl1.IgnoreLostFocusEvent = false; this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(594, 340); this.mapControl1.TabIndex = 0; this.mapControl1.Text = "mapControl1"; this.mapControl1.Tools.MiddleButtonTool = null; // // panel1 // this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.mapControl1); this.panel1.Location = new System.Drawing.Point(5, 43); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(598, 344); this.panel1.TabIndex = 1; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 385); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(608, 20); this.statusBar1.TabIndex = 2; // // mapToolBar1 // this.mapToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.mapToolBarButtonOpenTable, this.mapToolBarButtonLayerControl, this.toolBarButtonSeparator, this.mapToolBarButtonSelect, this.mapToolBarButtonZoomIn, this.mapToolBarButtonZoomOut, this.mapToolBarButtonPan }); this.mapToolBar1.Divider = false; this.mapToolBar1.Dock = System.Windows.Forms.DockStyle.None; this.mapToolBar1.DropDownArrows = true; this.mapToolBar1.Location = new System.Drawing.Point(7, 9); this.mapToolBar1.MapControl = this.mapControl1; this.mapToolBar1.Name = "mapToolBar1"; this.mapToolBar1.ShowToolTips = true; this.mapToolBar1.Size = new System.Drawing.Size(192, 26); this.mapToolBar1.TabIndex = 8; // // mapToolBarButtonOpenTable // this.mapToolBarButtonOpenTable.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.OpenTable; this.mapToolBarButtonOpenTable.Name = "mapToolBarButtonOpenTable"; this.mapToolBarButtonOpenTable.ToolTipText = "Open Table"; // // mapToolBarButtonLayerControl // this.mapToolBarButtonLayerControl.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.LayerControl; this.mapToolBarButtonLayerControl.Name = "mapToolBarButtonLayerControl"; this.mapToolBarButtonLayerControl.ToolTipText = "Layer Control"; // // toolBarButtonSeparator // this.toolBarButtonSeparator.Name = "toolBarButtonSeparator"; this.toolBarButtonSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // mapToolBarButtonSelect // this.mapToolBarButtonSelect.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Select; this.mapToolBarButtonSelect.Name = "mapToolBarButtonSelect"; this.mapToolBarButtonSelect.ToolTipText = "Select"; // // mapToolBarButtonZoomIn // this.mapToolBarButtonZoomIn.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomIn; this.mapToolBarButtonZoomIn.Name = "mapToolBarButtonZoomIn"; this.mapToolBarButtonZoomIn.ToolTipText = "Zoom-in"; // // mapToolBarButtonZoomOut // this.mapToolBarButtonZoomOut.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomOut; this.mapToolBarButtonZoomOut.Name = "mapToolBarButtonZoomOut"; this.mapToolBarButtonZoomOut.ToolTipText = "Zoom-out"; // // mapToolBarButtonPan // this.mapToolBarButtonPan.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Pan; this.mapToolBarButtonPan.Name = "mapToolBarButtonPan"; this.mapToolBarButtonPan.ToolTipText = "Pan"; // // MapForm1 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(608, 405); this.Controls.Add(this.mapToolBar1); this.Controls.Add(this.statusBar1); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(300, 215); this.Name = "MapForm1"; this.Text = "MapForm1"; this.Load += new System.EventHandler(this.MapForm1_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(); this.mapControl1 = new MapInfo.Windows.Controls.MapControl(); this.panel1 = new System.Windows.Forms.Panel(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.menuItem19 = new System.Windows.Forms.MenuItem(); this.menuFileExit = new System.Windows.Forms.MenuItem(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItemSearchWhere = new System.Windows.Forms.MenuItem(); this.menuItemSearchWithinFeature = new System.Windows.Forms.MenuItem(); this.menuItemSearchWithinRect = new System.Windows.Forms.MenuItem(); this.menuItemSearchIntersectsFeature = new System.Windows.Forms.MenuItem(); this.menuItemSearchWithinDistance = new System.Windows.Forms.MenuItem(); this.menuItemSearchNearest = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.menuItemSearchMultipleTables = new System.Windows.Forms.MenuItem(); this.menuItem11 = new System.Windows.Forms.MenuItem(); this.menuItemCustomProcessor = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItemMapSearchWithinScreenRect = new System.Windows.Forms.MenuItem(); this.menuItemMapSearchWithinScreenRadius = new System.Windows.Forms.MenuItem(); this.menuItemMapSearchNearest = new System.Windows.Forms.MenuItem(); this.menuItem5 = new System.Windows.Forms.MenuItem(); this.menuItemSqlExpressionFilter = new System.Windows.Forms.MenuItem(); this.menuItemContainsFilter = new System.Windows.Forms.MenuItem(); this.menuItemIntersectFeature = new System.Windows.Forms.MenuItem(); this.menuItemCustomQueryFilter = new System.Windows.Forms.MenuItem(); this.menuItemLogicalFilter = new System.Windows.Forms.MenuItem(); this.menuItem7 = new System.Windows.Forms.MenuItem(); this.menuItemSetColumns = new System.Windows.Forms.MenuItem(); this.mapToolBar1 = new MapInfo.Windows.Controls.MapToolBar(); this.mapToolBarButtonOpenTable = new MapInfo.Windows.Controls.MapToolBarButton(); this.toolBarButtonSeparator = new System.Windows.Forms.ToolBarButton(); this.mapToolBarButtonSelect = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomIn = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomOut = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonPan = new MapInfo.Windows.Controls.MapToolBarButton(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl1.IgnoreLostFocusEvent = false; this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(392, 241); this.mapControl1.TabIndex = 0; this.mapControl1.Text = "mapControl1"; this.mapControl1.Tools.LeftButtonTool = null; this.mapControl1.Tools.MiddleButtonTool = null; this.mapControl1.Tools.RightButtonTool = null; // // panel1 // this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.mapControl1); this.panel1.Location = new System.Drawing.Point(5, 34); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(396, 245); this.panel1.TabIndex = 1; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 285); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(406, 20); this.statusBar1.TabIndex = 2; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem19, this.menuItem1, this.menuItem2, this.menuItem5 }); // // menuItem19 // this.menuItem19.Index = 0; this.menuItem19.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFileExit }); this.menuItem19.Text = "&File"; // // menuFileExit // this.menuFileExit.Index = 0; this.menuFileExit.Text = "E&xit"; this.menuFileExit.Click += new System.EventHandler(this.menuFileExit_Click); // // menuItem1 // this.menuItem1.Index = 1; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemSearchWhere, this.menuItemSearchWithinFeature, this.menuItemSearchWithinRect, this.menuItemSearchIntersectsFeature, this.menuItemSearchWithinDistance, this.menuItemSearchNearest, this.menuItem4, this.menuItemSearchMultipleTables, this.menuItem11, this.menuItemCustomProcessor }); this.menuItem1.Text = "Search"; // // menuItemSearchWhere // this.menuItemSearchWhere.Index = 0; this.menuItemSearchWhere.Text = "SearchWhere"; this.menuItemSearchWhere.Click += new System.EventHandler(this.menuItemSearchWhere_Click); // // menuItemSearchWithinFeature // this.menuItemSearchWithinFeature.Index = 1; this.menuItemSearchWithinFeature.Text = "SearchWithinGeometry"; this.menuItemSearchWithinFeature.Click += new System.EventHandler(this.menuItemSearchWithinGeometry_Click); // // menuItemSearchWithinRect // this.menuItemSearchWithinRect.Index = 2; this.menuItemSearchWithinRect.Text = "SearchWithinRect"; this.menuItemSearchWithinRect.Click += new System.EventHandler(this.menuItemSearchWithinRect_Click); // // menuItemSearchIntersectsFeature // this.menuItemSearchIntersectsFeature.Index = 3; this.menuItemSearchIntersectsFeature.Text = "SearchIntersectsFeature"; this.menuItemSearchIntersectsFeature.Click += new System.EventHandler(this.menuItemSearchIntersectsFeature_Click); // // menuItemSearchWithinDistance // this.menuItemSearchWithinDistance.Index = 4; this.menuItemSearchWithinDistance.Text = "SearchWithinDistance"; this.menuItemSearchWithinDistance.Click += new System.EventHandler(this.menuItemSearchWithinDistance_Click); // // menuItemSearchNearest // this.menuItemSearchNearest.Index = 5; this.menuItemSearchNearest.Text = "SearchNearest"; this.menuItemSearchNearest.Click += new System.EventHandler(this.menuItemSearchNearest_Click); // // menuItem4 // this.menuItem4.Index = 6; this.menuItem4.Text = "-"; // // menuItemSearchMultipleTables // this.menuItemSearchMultipleTables.Index = 7; this.menuItemSearchMultipleTables.Text = "Search Multiple Tables"; this.menuItemSearchMultipleTables.Click += new System.EventHandler(this.menuItemSearchMultipleTables_Click); // // menuItem11 // this.menuItem11.Index = 8; this.menuItem11.Text = "-"; // // menuItemCustomProcessor // this.menuItemCustomProcessor.Index = 9; this.menuItemCustomProcessor.Text = "CustomSearchResultProcessor"; this.menuItemCustomProcessor.Click += new System.EventHandler(this.menuItemCustomProcessor_Click); // // menuItem2 // this.menuItem2.Index = 2; this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemMapSearchWithinScreenRect, this.menuItemMapSearchWithinScreenRadius, this.menuItemMapSearchNearest }); this.menuItem2.Text = "MapSearch"; // // menuItemMapSearchWithinScreenRect // this.menuItemMapSearchWithinScreenRect.Index = 0; this.menuItemMapSearchWithinScreenRect.Text = "SearchWithinScreenRect"; this.menuItemMapSearchWithinScreenRect.Click += new System.EventHandler(this.menuItemMapSearchWithinScreenRect_Click); // // menuItemMapSearchWithinScreenRadius // this.menuItemMapSearchWithinScreenRadius.Index = 1; this.menuItemMapSearchWithinScreenRadius.Text = "SearchWithinScreenRadius"; this.menuItemMapSearchWithinScreenRadius.Click += new System.EventHandler(this.menuItemMapSearchWithinScreenRadius_Click); // // menuItemMapSearchNearest // this.menuItemMapSearchNearest.Index = 2; this.menuItemMapSearchNearest.Text = "SearchNearest"; this.menuItemMapSearchNearest.Click += new System.EventHandler(this.menuItemMapSearchNearest_Click); // // menuItem5 // this.menuItem5.Index = 3; this.menuItem5.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemSqlExpressionFilter, this.menuItemContainsFilter, this.menuItemIntersectFeature, this.menuItemCustomQueryFilter, this.menuItemLogicalFilter, this.menuItem7, this.menuItemSetColumns }); this.menuItem5.Text = "QueryDefinition"; // // menuItemSqlExpressionFilter // this.menuItemSqlExpressionFilter.Index = 0; this.menuItemSqlExpressionFilter.Text = "SqlExpressionFilter"; this.menuItemSqlExpressionFilter.Click += new System.EventHandler(this.menuItemSqlExpressionFilter_Click); // // menuItemContainsFilter // this.menuItemContainsFilter.Index = 1; this.menuItemContainsFilter.Text = "ContainsFilter"; this.menuItemContainsFilter.Click += new System.EventHandler(this.menuItemContainsFilter_Click); // // menuItemIntersectFeature // this.menuItemIntersectFeature.Index = 2; this.menuItemIntersectFeature.Text = "IntersectFilter"; this.menuItemIntersectFeature.Click += new System.EventHandler(this.menuItemIntersectFeature_Click); // // menuItemCustomQueryFilter // this.menuItemCustomQueryFilter.Index = 3; this.menuItemCustomQueryFilter.Text = "CustomQueryFilter"; this.menuItemCustomQueryFilter.Click += new System.EventHandler(this.menuItemCustomQueryFilter_Click); // // menuItemLogicalFilter // this.menuItemLogicalFilter.Index = 4; this.menuItemLogicalFilter.Text = "LogicalFilter"; this.menuItemLogicalFilter.Click += new System.EventHandler(this.menuItemLogicalFilter_Click); // // menuItem7 // this.menuItem7.Index = 5; this.menuItem7.Text = "-"; // // menuItemSetColumns // this.menuItemSetColumns.Index = 6; this.menuItemSetColumns.Text = "Setting Columns"; this.menuItemSetColumns.Click += new System.EventHandler(this.menuItemSetColumns_Click); // // mapToolBar1 // this.mapToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.mapToolBarButtonOpenTable, this.toolBarButtonSeparator, this.mapToolBarButtonSelect, this.mapToolBarButtonZoomIn, this.mapToolBarButtonZoomOut, this.mapToolBarButtonPan }); this.mapToolBar1.ButtonSize = new System.Drawing.Size(25, 22); this.mapToolBar1.Divider = false; this.mapToolBar1.Dock = System.Windows.Forms.DockStyle.None; this.mapToolBar1.DropDownArrows = true; this.mapToolBar1.Location = new System.Drawing.Point(10, 0); this.mapToolBar1.MapControl = this.mapControl1; this.mapToolBar1.Name = "mapToolBar1"; this.mapToolBar1.ShowToolTips = true; this.mapToolBar1.Size = new System.Drawing.Size(192, 26); this.mapToolBar1.TabIndex = 3; this.mapToolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.mapToolBar1_ButtonClick); // // mapToolBarButtonOpenTable // this.mapToolBarButtonOpenTable.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.OpenTable; this.mapToolBarButtonOpenTable.Name = "mapToolBarButtonOpenTable"; this.mapToolBarButtonOpenTable.ToolTipText = "Open Table"; // // toolBarButtonSeparator // this.toolBarButtonSeparator.Name = "toolBarButtonSeparator"; this.toolBarButtonSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // mapToolBarButtonSelect // this.mapToolBarButtonSelect.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Select; this.mapToolBarButtonSelect.Name = "mapToolBarButtonSelect"; this.mapToolBarButtonSelect.ToolTipText = "Select"; // // mapToolBarButtonZoomIn // this.mapToolBarButtonZoomIn.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomIn; this.mapToolBarButtonZoomIn.Name = "mapToolBarButtonZoomIn"; this.mapToolBarButtonZoomIn.ToolTipText = "Zoom-in"; // // mapToolBarButtonZoomOut // this.mapToolBarButtonZoomOut.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomOut; this.mapToolBarButtonZoomOut.Name = "mapToolBarButtonZoomOut"; this.mapToolBarButtonZoomOut.ToolTipText = "Zoom-out"; // // mapToolBarButtonPan // this.mapToolBarButtonPan.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Pan; this.mapToolBarButtonPan.Name = "mapToolBarButtonPan"; this.mapToolBarButtonPan.ToolTipText = "Pan"; // // MapForm1 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(406, 305); this.Controls.Add(this.mapToolBar1); this.Controls.Add(this.statusBar1); this.Controls.Add(this.panel1); this.Menu = this.mainMenu1; this.MinimumSize = new System.Drawing.Size(300, 215); this.Name = "MapForm1"; this.Text = "Search Sample"; this.Load += new System.EventHandler(this.MapForm1_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mapControl1 = new MapInfo.Windows.Controls.MapControl(); this.panel1 = new System.Windows.Forms.Panel(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.comboBoxMaps = new System.Windows.Forms.ComboBox(); this.RemoveMap = new System.Windows.Forms.Button(); this.BtnNewMap = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.MapFromFile = new System.Windows.Forms.Button(); this.ClearMaps = new System.Windows.Forms.Button(); this.NewEmptyMap = new System.Windows.Forms.Button(); this.mapToolBar1 = new MapInfo.Windows.Controls.MapToolBar(); this.mapToolBarButtonOpenTable = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonLayerControl = new MapInfo.Windows.Controls.MapToolBarButton(); this.toolBarButtonSeparator = new System.Windows.Forms.ToolBarButton(); this.mapToolBarButtonSelect = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomIn = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomOut = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonPan = new MapInfo.Windows.Controls.MapToolBarButton(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(408, 284); this.mapControl1.TabIndex = 0; this.mapControl1.Text = "mapControl1"; this.mapControl1.Tools.MiddleButtonTool = null; // // panel1 // this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.mapControl1); this.panel1.Location = new System.Drawing.Point(4, 32); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(412, 288); this.panel1.TabIndex = 1; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 322); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(584, 19); this.statusBar1.TabIndex = 2; // // comboBoxMaps // this.comboBoxMaps.Location = new System.Drawing.Point(200, 8); this.comboBoxMaps.Name = "comboBoxMaps"; this.comboBoxMaps.Size = new System.Drawing.Size(121, 21); this.comboBoxMaps.TabIndex = 4; this.comboBoxMaps.Text = "comboBoxMaps"; this.comboBoxMaps.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // RemoveMap // this.RemoveMap.Location = new System.Drawing.Point(328, 7); this.RemoveMap.Name = "RemoveMap"; this.RemoveMap.Size = new System.Drawing.Size(80, 23); this.RemoveMap.TabIndex = 5; this.RemoveMap.Text = "Remove Map"; this.RemoveMap.Click += new System.EventHandler(this.RemoveMap_Click); // // BtnNewMap // this.BtnNewMap.Location = new System.Drawing.Point(16, 32); this.BtnNewMap.Name = "BtnNewMap"; this.BtnNewMap.Size = new System.Drawing.Size(120, 23); this.BtnNewMap.TabIndex = 6; this.BtnNewMap.Text = "New Map Dialog"; this.BtnNewMap.Click += new System.EventHandler(this.button2_Click); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.MapFromFile); this.groupBox1.Controls.Add(this.ClearMaps); this.groupBox1.Controls.Add(this.NewEmptyMap); this.groupBox1.Controls.Add(this.BtnNewMap); this.groupBox1.Location = new System.Drawing.Point(424, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(152, 312); this.groupBox1.TabIndex = 7; this.groupBox1.TabStop = false; this.groupBox1.Text = "MapFactory Methods"; // // MapFromFile // this.MapFromFile.Location = new System.Drawing.Point(16, 112); this.MapFromFile.Name = "MapFromFile"; this.MapFromFile.Size = new System.Drawing.Size(120, 23); this.MapFromFile.TabIndex = 9; this.MapFromFile.Text = "New Map From File"; this.MapFromFile.Click += new System.EventHandler(this.MapFromFile_Click); // // ClearMaps // this.ClearMaps.Location = new System.Drawing.Point(16, 152); this.ClearMaps.Name = "ClearMaps"; this.ClearMaps.Size = new System.Drawing.Size(120, 23); this.ClearMaps.TabIndex = 8; this.ClearMaps.Text = "Clear Maps"; this.ClearMaps.Click += new System.EventHandler(this.ClearMaps_Click); // // NewEmptyMap // this.NewEmptyMap.Location = new System.Drawing.Point(16, 72); this.NewEmptyMap.Name = "NewEmptyMap"; this.NewEmptyMap.Size = new System.Drawing.Size(120, 23); this.NewEmptyMap.TabIndex = 7; this.NewEmptyMap.Text = "New Empty Map"; this.NewEmptyMap.Click += new System.EventHandler(this.NewEmptyMap_Click); // // mapToolBar1 // this.mapToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.mapToolBarButtonOpenTable, this.mapToolBarButtonLayerControl, this.toolBarButtonSeparator, this.mapToolBarButtonSelect, this.mapToolBarButtonZoomIn, this.mapToolBarButtonZoomOut, this.mapToolBarButtonPan}); this.mapToolBar1.Divider = false; this.mapToolBar1.Dock = System.Windows.Forms.DockStyle.None; this.mapToolBar1.DropDownArrows = true; this.mapToolBar1.Location = new System.Drawing.Point(6, 6); this.mapToolBar1.MapControl = this.mapControl1; this.mapToolBar1.Name = "mapToolBar1"; this.mapToolBar1.ShowToolTips = true; this.mapToolBar1.Size = new System.Drawing.Size(187, 26); this.mapToolBar1.TabIndex = 9; // // mapToolBarButtonOpenTable // this.mapToolBarButtonOpenTable.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.OpenTable; this.mapToolBarButtonOpenTable.ToolTipText = "Open Table"; // // mapToolBarButtonLayerControl // this.mapToolBarButtonLayerControl.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.LayerControl; this.mapToolBarButtonLayerControl.ToolTipText = "Layer Control"; // // toolBarButtonSeparator // this.toolBarButtonSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // mapToolBarButtonSelect // this.mapToolBarButtonSelect.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Select; this.mapToolBarButtonSelect.ToolTipText = "Select"; // // mapToolBarButtonZoomIn // this.mapToolBarButtonZoomIn.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomIn; this.mapToolBarButtonZoomIn.ToolTipText = "Zoom-in"; // // mapToolBarButtonZoomOut // this.mapToolBarButtonZoomOut.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomOut; this.mapToolBarButtonZoomOut.ToolTipText = "Zoom-out"; // // mapToolBarButtonPan // this.mapToolBarButtonPan.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Pan; this.mapToolBarButtonPan.ToolTipText = "Pan"; // // MapForm1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(584, 341); this.Controls.Add(this.mapToolBar1); this.Controls.Add(this.RemoveMap); this.Controls.Add(this.comboBoxMaps); this.Controls.Add(this.statusBar1); this.Controls.Add(this.panel1); this.Controls.Add(this.groupBox1); this.MinimumSize = new System.Drawing.Size(592, 248); this.Name = "MapForm1"; this.Text = "MapForm1"; this.panel1.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mapControl1 = new MapInfo.Windows.Controls.MapControl(); this.panel1 = new System.Windows.Forms.Panel(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.mapToolBar1 = new MapInfo.Windows.Controls.MapToolBar(); this.mapToolBarButtonLayerControl = new MapInfo.Windows.Controls.MapToolBarButton(); this.toolBarButtonSep1 = new System.Windows.Forms.ToolBarButton(); this.mapToolBarButtonSelect = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomIn = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomOut = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonPan = new MapInfo.Windows.Controls.MapToolBarButton(); this.toolBarButtonSep2 = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonAddContinentTheme = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonAddCountryTheme = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonThemeInfo = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonClear = new System.Windows.Forms.ToolBarButton(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(420, 252); this.mapControl1.TabIndex = 0; this.mapControl1.Text = "mapControl1"; this.mapControl1.Tools.MiddleButtonTool = null; // // panel1 // this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.mapControl1); this.panel1.Location = new System.Drawing.Point(4, 32); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(424, 256); this.panel1.TabIndex = 1; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 287); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(432, 19); this.statusBar1.TabIndex = 2; // // mapToolBar1 // this.mapToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.mapToolBarButtonLayerControl, this.toolBarButtonSep1, this.mapToolBarButtonSelect, this.mapToolBarButtonZoomIn, this.mapToolBarButtonZoomOut, this.mapToolBarButtonPan, this.toolBarButtonSep2, this.toolBarButtonAddContinentTheme, this.toolBarButtonAddCountryTheme, this.toolBarButtonThemeInfo, this.toolBarButtonClear }); this.mapToolBar1.Divider = false; this.mapToolBar1.Dock = System.Windows.Forms.DockStyle.None; this.mapToolBar1.DropDownArrows = true; this.mapToolBar1.Location = new System.Drawing.Point(0, 0); this.mapToolBar1.MapControl = this.mapControl1; this.mapToolBar1.Name = "mapToolBar1"; this.mapToolBar1.ShowToolTips = true; this.mapToolBar1.Size = new System.Drawing.Size(280, 26); this.mapToolBar1.TabIndex = 3; this.mapToolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.mapToolBar1_ButtonClick); // // mapToolBarButtonLayerControl // this.mapToolBarButtonLayerControl.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.LayerControl; this.mapToolBarButtonLayerControl.ToolTipText = "Layer Control"; // // toolBarButtonSep1 // this.toolBarButtonSep1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // mapToolBarButtonSelect // this.mapToolBarButtonSelect.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Select; this.mapToolBarButtonSelect.ToolTipText = "Select"; // // mapToolBarButtonZoomIn // this.mapToolBarButtonZoomIn.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomIn; this.mapToolBarButtonZoomIn.ToolTipText = "Zoom-in"; // // mapToolBarButtonZoomOut // this.mapToolBarButtonZoomOut.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomOut; this.mapToolBarButtonZoomOut.ToolTipText = "Zoom-out"; // // mapToolBarButtonPan // this.mapToolBarButtonPan.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Pan; this.mapToolBarButtonPan.ToolTipText = "Pan"; // // toolBarButtonSep2 // this.toolBarButtonSep2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarButtonAddContinentTheme // this.toolBarButtonAddContinentTheme.ImageIndex = 34; this.toolBarButtonAddContinentTheme.ToolTipText = "Add \'Continent\' Individual Value Theme"; // // toolBarButtonAddCountryTheme // this.toolBarButtonAddCountryTheme.ImageIndex = 34; this.toolBarButtonAddCountryTheme.ToolTipText = "Add \'Country\' Individual Value Theme"; // // toolBarButtonThemeInfo // this.toolBarButtonThemeInfo.ImageIndex = 8; this.toolBarButtonThemeInfo.ToolTipText = "Show Information about Theme"; // // toolBarButtonClear // this.toolBarButtonClear.ImageIndex = 42; this.toolBarButtonClear.ToolTipText = "Clear all IndividualValueThemes"; // // IndividualValueThematic // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(432, 306); this.Controls.Add(this.mapToolBar1); this.Controls.Add(this.statusBar1); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(250, 200); this.Name = "IndividualValueThematic"; this.Text = "Individual Value Theme demo"; this.Load += new System.EventHandler(this.MapForm1_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mapControl1 = new MapInfo.Windows.Controls.MapControl(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.MainMenu1 = new System.Windows.Forms.MainMenu(); this.MenuItem13 = new System.Windows.Forms.MenuItem(); this.menuFileOpen = new System.Windows.Forms.MenuItem(); this.menuItemFileCloseTables = new System.Windows.Forms.MenuItem(); this.MenuItem20 = new System.Windows.Forms.MenuItem(); this.menuClearMap = new System.Windows.Forms.MenuItem(); this.menuTableSearchPath = new System.Windows.Forms.MenuItem(); this.MenuItem18 = new System.Windows.Forms.MenuItem(); this.menuFileExit = new System.Windows.Forms.MenuItem(); this.MenuItem1 = new System.Windows.Forms.MenuItem(); this.menuTableLoaderOptions = new System.Windows.Forms.MenuItem(); this.MenuItem7 = new System.Windows.Forms.MenuItem(); this.menuTableLoaderOneFile = new System.Windows.Forms.MenuItem(); this.menuTableLoaderMultipleFiles = new System.Windows.Forms.MenuItem(); this.menuTableLoaderFileArray = new System.Windows.Forms.MenuItem(); this.menuItemPickFiles = new System.Windows.Forms.MenuItem(); this.MenuItem10 = new System.Windows.Forms.MenuItem(); this.menuTableLoaderMultipleTables = new System.Windows.Forms.MenuItem(); this.menuTableLoaderTableEnumerator = new System.Windows.Forms.MenuItem(); this.menuTableLoaderTableInfo = new System.Windows.Forms.MenuItem(); this.MenuItem6 = new System.Windows.Forms.MenuItem(); this.menuGeosetLoaderOptions = new System.Windows.Forms.MenuItem(); this.menuGeosetLoaderLoadGeoset = new System.Windows.Forms.MenuItem(); this.menuWorkspaceLoader = new System.Windows.Forms.MenuItem(); this.menuWorkspaceLoaderOptions = new System.Windows.Forms.MenuItem(); this.LoadNamedConnectionMenuItem = new System.Windows.Forms.MenuItem(); this.AddNamedConnectionMenuItem = new System.Windows.Forms.MenuItem(); this.SaveNamedConnectionMenuItem = new System.Windows.Forms.MenuItem(); this.menuWorkspaceLoaderLoadWorkspace = new System.Windows.Forms.MenuItem(); this.panel1 = new System.Windows.Forms.Panel(); this.mapToolBar1 = new MapInfo.Windows.Controls.MapToolBar(); this.mapToolBarButtonOpenTable = new MapInfo.Windows.Controls.MapToolBarButton(); this.toolBarButtonSeparator = new System.Windows.Forms.ToolBarButton(); this.mapToolBarButtonSelect = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomIn = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomOut = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonPan = new MapInfo.Windows.Controls.MapToolBarButton(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(375, 242); this.mapControl1.TabIndex = 1; this.mapControl1.Tools.LeftButtonTool = null; this.mapControl1.Tools.MiddleButtonTool = null; this.mapControl1.Tools.RightButtonTool = null; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 284); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(392, 19); this.statusBar1.TabIndex = 2; // // MainMenu1 // this.MainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.MenuItem13, this.MenuItem1, this.MenuItem6, this.menuWorkspaceLoader }); // // MenuItem13 // this.MenuItem13.Index = 0; this.MenuItem13.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFileOpen, this.menuItemFileCloseTables, this.MenuItem20, this.menuClearMap, this.menuTableSearchPath, this.MenuItem18, this.menuFileExit }); this.MenuItem13.Text = "File"; // // menuFileOpen // this.menuFileOpen.Index = 0; this.menuFileOpen.Text = "&Open..."; this.menuFileOpen.Click += new System.EventHandler(this.menuFileOpen_Click); // // menuItemFileCloseTables // this.menuItemFileCloseTables.Enabled = false; this.menuItemFileCloseTables.Index = 1; this.menuItemFileCloseTables.Text = "Close &Tables..."; this.menuItemFileCloseTables.Click += new System.EventHandler(this.menuItemFileCloseTables_Click); // // MenuItem20 // this.MenuItem20.Index = 2; this.MenuItem20.Text = "-"; // // menuClearMap // this.menuClearMap.Index = 3; this.menuClearMap.Text = "&Clear Map"; this.menuClearMap.Click += new System.EventHandler(this.menuClearMap_Click); // // menuTableSearchPath // this.menuTableSearchPath.Index = 4; this.menuTableSearchPath.Text = "Table Search Path..."; this.menuTableSearchPath.Click += new System.EventHandler(this.menuTableSearchPath_Click); // // MenuItem18 // this.MenuItem18.Index = 5; this.MenuItem18.Text = "-"; // // menuFileExit // this.menuFileExit.Index = 6; this.menuFileExit.Text = "E&xit"; this.menuFileExit.Click += new System.EventHandler(this.menuFileExit_Click); // // MenuItem1 // this.MenuItem1.Index = 1; this.MenuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuTableLoaderOptions, this.MenuItem7, this.menuTableLoaderOneFile, this.menuTableLoaderMultipleFiles, this.menuTableLoaderFileArray, this.menuItemPickFiles, this.MenuItem10, this.menuTableLoaderMultipleTables, this.menuTableLoaderTableEnumerator, this.menuTableLoaderTableInfo }); this.MenuItem1.Text = "&Table Loader"; // // menuTableLoaderOptions // this.menuTableLoaderOptions.Index = 0; this.menuTableLoaderOptions.Text = "&Options..."; this.menuTableLoaderOptions.Click += new System.EventHandler(this.menuTableLoaderOptions_Click); // // MenuItem7 // this.MenuItem7.Index = 1; this.MenuItem7.Text = "-"; // // menuTableLoaderOneFile // this.menuTableLoaderOneFile.Index = 2; this.menuTableLoaderOneFile.Text = "One File"; this.menuTableLoaderOneFile.Click += new System.EventHandler(this.menuTableLoaderOneFile_Click); // // menuTableLoaderMultipleFiles // this.menuTableLoaderMultipleFiles.Index = 3; this.menuTableLoaderMultipleFiles.Text = "Multiple Files"; this.menuTableLoaderMultipleFiles.Click += new System.EventHandler(this.menuTableLoaderMultipleFiles_Click); // // menuTableLoaderFileArray // this.menuTableLoaderFileArray.Index = 4; this.menuTableLoaderFileArray.Text = "File Array"; this.menuTableLoaderFileArray.Click += new System.EventHandler(this.menuTableLoaderFileArray_Click); // // menuItemPickFiles // this.menuItemPickFiles.Index = 5; this.menuItemPickFiles.Text = "Pick Files..."; this.menuItemPickFiles.Click += new System.EventHandler(this.menuItemPickFiles_Click); // // MenuItem10 // this.MenuItem10.Index = 6; this.MenuItem10.Text = "-"; // // menuTableLoaderMultipleTables // this.menuTableLoaderMultipleTables.Index = 7; this.menuTableLoaderMultipleTables.Text = "Multiple Tables"; this.menuTableLoaderMultipleTables.Click += new System.EventHandler(this.menuTableLoaderMultipleTables_Click); // // menuTableLoaderTableEnumerator // this.menuTableLoaderTableEnumerator.Index = 8; this.menuTableLoaderTableEnumerator.Text = "Table Enumerator"; this.menuTableLoaderTableEnumerator.Click += new System.EventHandler(this.menuTableLoaderTableEnumerator_Click); // // menuTableLoaderTableInfo // this.menuTableLoaderTableInfo.Index = 9; this.menuTableLoaderTableInfo.Text = "TableInfo"; this.menuTableLoaderTableInfo.Click += new System.EventHandler(this.menuTableLoaderTableInfo_Click); // // MenuItem6 // this.MenuItem6.Index = 2; this.MenuItem6.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuGeosetLoaderOptions, this.menuGeosetLoaderLoadGeoset }); this.MenuItem6.Text = "&Geoset Loader"; // // menuGeosetLoaderOptions // this.menuGeosetLoaderOptions.Index = 0; this.menuGeosetLoaderOptions.Text = "&Options..."; this.menuGeosetLoaderOptions.Click += new System.EventHandler(this.menuGeosetLoaderOptions_Click); // // menuGeosetLoaderLoadGeoset // this.menuGeosetLoaderLoadGeoset.Index = 1; this.menuGeosetLoaderLoadGeoset.Text = "Load Geoset..."; this.menuGeosetLoaderLoadGeoset.Click += new System.EventHandler(this.menuGeosetLoaderLoadGeoset_Click); // // menuWorkspaceLoader // this.menuWorkspaceLoader.Index = 3; this.menuWorkspaceLoader.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuWorkspaceLoaderOptions, this.LoadNamedConnectionMenuItem, this.AddNamedConnectionMenuItem, this.SaveNamedConnectionMenuItem, this.menuWorkspaceLoaderLoadWorkspace }); this.menuWorkspaceLoader.Text = "&Workspace Loader"; // // menuWorkspaceLoaderOptions // this.menuWorkspaceLoaderOptions.Index = 0; this.menuWorkspaceLoaderOptions.Text = "&Options..."; this.menuWorkspaceLoaderOptions.Click += new System.EventHandler(this.menuWorkspaceLoaderOptions_Click); // // LoadNamedConnectionMenuItem // this.LoadNamedConnectionMenuItem.Index = 1; this.LoadNamedConnectionMenuItem.Text = "Load Named Connection..."; this.LoadNamedConnectionMenuItem.Click += new System.EventHandler(this.LoadNamedConnectionMenuItem_Click); // // AddNamedConnectionMenuItem // this.AddNamedConnectionMenuItem.Index = 2; this.AddNamedConnectionMenuItem.Text = "Add Named Connection..."; this.AddNamedConnectionMenuItem.Click += new System.EventHandler(this.AddNamedConnectionMenuItem_Click); // // SaveNamedConnectionMenuItem // this.SaveNamedConnectionMenuItem.Index = 3; this.SaveNamedConnectionMenuItem.Text = "Save Named Connection..."; this.SaveNamedConnectionMenuItem.Click += new System.EventHandler(this.SaveNamedConnectionMenuItem_Click); // // menuWorkspaceLoaderLoadWorkspace // this.menuWorkspaceLoaderLoadWorkspace.Index = 4; this.menuWorkspaceLoaderLoadWorkspace.Text = "Load Workspace..."; this.menuWorkspaceLoaderLoadWorkspace.Click += new System.EventHandler(this.menuWorkspaceLoaderLoadWorkspace_Click); // // panel1 // this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.mapControl1); this.panel1.Location = new System.Drawing.Point(8, 32); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(379, 246); this.panel1.TabIndex = 4; // // mapToolBar1 // this.mapToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.mapToolBarButtonOpenTable, this.toolBarButtonSeparator, this.mapToolBarButtonSelect, this.mapToolBarButtonZoomIn, this.mapToolBarButtonZoomOut, this.mapToolBarButtonPan }); this.mapToolBar1.Divider = false; this.mapToolBar1.Dock = System.Windows.Forms.DockStyle.None; this.mapToolBar1.DropDownArrows = true; this.mapToolBar1.Location = new System.Drawing.Point(8, 0); this.mapToolBar1.MapControl = this.mapControl1; this.mapToolBar1.Name = "mapToolBar1"; this.mapToolBar1.ShowToolTips = true; this.mapToolBar1.Size = new System.Drawing.Size(160, 26); this.mapToolBar1.TabIndex = 5; // // mapToolBarButtonOpenTable // this.mapToolBarButtonOpenTable.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.OpenTable; this.mapToolBarButtonOpenTable.ToolTipText = "Open Table"; // // toolBarButtonSeparator // this.toolBarButtonSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // mapToolBarButtonSelect // this.mapToolBarButtonSelect.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Select; this.mapToolBarButtonSelect.ToolTipText = "Select"; // // mapToolBarButtonZoomIn // this.mapToolBarButtonZoomIn.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomIn; this.mapToolBarButtonZoomIn.ToolTipText = "Zoom-in"; // // mapToolBarButtonZoomOut // this.mapToolBarButtonZoomOut.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomOut; this.mapToolBarButtonZoomOut.ToolTipText = "Zoom-out"; // // mapToolBarButtonPan // this.mapToolBarButtonPan.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Pan; this.mapToolBarButtonPan.ToolTipText = "Pan"; // // MapForm1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(392, 303); this.Controls.Add(this.mapToolBar1); this.Controls.Add(this.panel1); this.Controls.Add(this.statusBar1); this.Menu = this.MainMenu1; this.MinimumSize = new System.Drawing.Size(250, 200); this.Name = "MapForm1"; this.Text = "MapForm1"; this.Load += new System.EventHandler(this.MapForm1_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mapControl1 = new MapInfo.Windows.Controls.MapControl(); this.panel1 = new System.Windows.Forms.Panel(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.label1 = new System.Windows.Forms.Label(); this.fields = new System.Windows.Forms.CheckedListBox(); this.layers = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.mapToolBar1 = new MapInfo.Windows.Controls.MapToolBar(); this.mapToolBarButtonOpenTable = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonLayerControl = new MapInfo.Windows.Controls.MapToolBarButton(); this.toolBarButtonSeparator = new System.Windows.Forms.ToolBarButton(); this.mapToolBarButtonSelect = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomIn = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomOut = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonPan = new MapInfo.Windows.Controls.MapToolBarButton(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(296, 244); this.mapControl1.TabIndex = 0; this.mapControl1.Text = "mapControl1"; this.mapControl1.Tools.MiddleButtonTool = null; // // panel1 // this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.mapControl1); this.panel1.Location = new System.Drawing.Point(4, 40); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(300, 248); this.panel1.TabIndex = 1; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 291); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(520, 19); this.statusBar1.TabIndex = 2; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label1.Location = new System.Drawing.Point(320, 38); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(168, 16); this.label1.TabIndex = 5; this.label1.Text = "Layers:"; // // fields // this.fields.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.fields.Location = new System.Drawing.Point(320, 94); this.fields.Name = "fields"; this.fields.Size = new System.Drawing.Size(184, 184); this.fields.TabIndex = 6; this.fields.SelectedIndexChanged += new System.EventHandler(this.fields_SelectedIndexChanged); // // layers // this.layers.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.layers.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.layers.Location = new System.Drawing.Point(320, 54); this.layers.Name = "layers"; this.layers.Size = new System.Drawing.Size(184, 21); this.layers.TabIndex = 7; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label2.Location = new System.Drawing.Point(320, 78); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(168, 16); this.label2.TabIndex = 8; this.label2.Text = "Fields:"; // // mapToolBar1 // this.mapToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.mapToolBarButtonOpenTable, this.mapToolBarButtonLayerControl, this.toolBarButtonSeparator, this.mapToolBarButtonSelect, this.mapToolBarButtonZoomIn, this.mapToolBarButtonZoomOut, this.mapToolBarButtonPan}); this.mapToolBar1.Divider = false; this.mapToolBar1.Dock = System.Windows.Forms.DockStyle.None; this.mapToolBar1.DropDownArrows = true; this.mapToolBar1.Location = new System.Drawing.Point(6, 8); this.mapToolBar1.MapControl = this.mapControl1; this.mapToolBar1.Name = "mapToolBar1"; this.mapToolBar1.ShowToolTips = true; this.mapToolBar1.Size = new System.Drawing.Size(160, 26); this.mapToolBar1.TabIndex = 9; // // mapToolBarButtonOpenTable // this.mapToolBarButtonOpenTable.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.OpenTable; this.mapToolBarButtonOpenTable.ToolTipText = "Open Table"; // // mapToolBarButtonLayerControl // this.mapToolBarButtonLayerControl.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.LayerControl; this.mapToolBarButtonLayerControl.ToolTipText = "Layer Control"; // // toolBarButtonSeparator // this.toolBarButtonSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // mapToolBarButtonSelect // this.mapToolBarButtonSelect.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Select; this.mapToolBarButtonSelect.ToolTipText = "Select"; // // mapToolBarButtonZoomIn // this.mapToolBarButtonZoomIn.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomIn; this.mapToolBarButtonZoomIn.ToolTipText = "Zoom-in"; // // mapToolBarButtonZoomOut // this.mapToolBarButtonZoomOut.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomOut; this.mapToolBarButtonZoomOut.ToolTipText = "Zoom-out"; // // mapToolBarButtonPan // this.mapToolBarButtonPan.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Pan; this.mapToolBarButtonPan.ToolTipText = "Pan"; // // MapForm1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(520, 310); this.Controls.Add(this.mapToolBar1); this.Controls.Add(this.label2); this.Controls.Add(this.layers); this.Controls.Add(this.fields); this.Controls.Add(this.label1); this.Controls.Add(this.statusBar1); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(250, 200); this.Name = "MapForm1"; this.Text = "Pie Theme Sample"; this.Load += new System.EventHandler(this.MapForm1_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.mapControl1 = new MapInfo.Windows.Controls.MapControl(); this.panel1 = new System.Windows.Forms.Panel(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.menuItem19 = new System.Windows.Forms.MenuItem(); this.menuFileExit = new System.Windows.Forms.MenuItem(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItemSearchWhere = new System.Windows.Forms.MenuItem(); this.menuItemSearchWithinFeature = new System.Windows.Forms.MenuItem(); this.menuItemSearchWithinRect = new System.Windows.Forms.MenuItem(); this.menuItemSearchIntersectsFeature = new System.Windows.Forms.MenuItem(); this.menuItemSearchWithinDistance = new System.Windows.Forms.MenuItem(); this.menuItemSearchNearest = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.menuItemSearchMultipleTables = new System.Windows.Forms.MenuItem(); this.menuItem11 = new System.Windows.Forms.MenuItem(); this.menuItemCustomProcessor = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItemMapSearchWithinScreenRect = new System.Windows.Forms.MenuItem(); this.menuItemMapSearchWithinScreenRadius = new System.Windows.Forms.MenuItem(); this.menuItemMapSearchNearest = new System.Windows.Forms.MenuItem(); this.menuItem5 = new System.Windows.Forms.MenuItem(); this.menuItemSqlExpressionFilter = new System.Windows.Forms.MenuItem(); this.menuItemContainsFilter = new System.Windows.Forms.MenuItem(); this.menuItemIntersectFeature = new System.Windows.Forms.MenuItem(); this.menuItemCustomQueryFilter = new System.Windows.Forms.MenuItem(); this.menuItemLogicalFilter = new System.Windows.Forms.MenuItem(); this.menuItem7 = new System.Windows.Forms.MenuItem(); this.menuItemSetColumns = new System.Windows.Forms.MenuItem(); this.mapToolBar1 = new MapInfo.Windows.Controls.MapToolBar(); this.mapToolBarButtonOpenTable = new MapInfo.Windows.Controls.MapToolBarButton(); this.toolBarButtonSeparator = new System.Windows.Forms.ToolBarButton(); this.mapToolBarButtonSelect = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomIn = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomOut = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonPan = new MapInfo.Windows.Controls.MapToolBarButton(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl1.IgnoreLostFocusEvent = false; this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(392, 241); this.mapControl1.TabIndex = 0; this.mapControl1.Text = "mapControl1"; this.mapControl1.Tools.LeftButtonTool = null; this.mapControl1.Tools.MiddleButtonTool = null; this.mapControl1.Tools.RightButtonTool = null; // // panel1 // this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.mapControl1); this.panel1.Location = new System.Drawing.Point(5, 34); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(396, 245); this.panel1.TabIndex = 1; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 285); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(406, 20); this.statusBar1.TabIndex = 2; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem19, this.menuItem1, this.menuItem2, this.menuItem5}); // // menuItem19 // this.menuItem19.Index = 0; this.menuItem19.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFileExit}); this.menuItem19.Text = "&File"; // // menuFileExit // this.menuFileExit.Index = 0; this.menuFileExit.Text = "E&xit"; this.menuFileExit.Click += new System.EventHandler(this.menuFileExit_Click); // // menuItem1 // this.menuItem1.Index = 1; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemSearchWhere, this.menuItemSearchWithinFeature, this.menuItemSearchWithinRect, this.menuItemSearchIntersectsFeature, this.menuItemSearchWithinDistance, this.menuItemSearchNearest, this.menuItem4, this.menuItemSearchMultipleTables, this.menuItem11, this.menuItemCustomProcessor}); this.menuItem1.Text = "Search"; // // menuItemSearchWhere // this.menuItemSearchWhere.Index = 0; this.menuItemSearchWhere.Text = "SearchWhere"; this.menuItemSearchWhere.Click += new System.EventHandler(this.menuItemSearchWhere_Click); // // menuItemSearchWithinFeature // this.menuItemSearchWithinFeature.Index = 1; this.menuItemSearchWithinFeature.Text = "SearchWithinGeometry"; this.menuItemSearchWithinFeature.Click += new System.EventHandler(this.menuItemSearchWithinGeometry_Click); // // menuItemSearchWithinRect // this.menuItemSearchWithinRect.Index = 2; this.menuItemSearchWithinRect.Text = "SearchWithinRect"; this.menuItemSearchWithinRect.Click += new System.EventHandler(this.menuItemSearchWithinRect_Click); // // menuItemSearchIntersectsFeature // this.menuItemSearchIntersectsFeature.Index = 3; this.menuItemSearchIntersectsFeature.Text = "SearchIntersectsFeature"; this.menuItemSearchIntersectsFeature.Click += new System.EventHandler(this.menuItemSearchIntersectsFeature_Click); // // menuItemSearchWithinDistance // this.menuItemSearchWithinDistance.Index = 4; this.menuItemSearchWithinDistance.Text = "SearchWithinDistance"; this.menuItemSearchWithinDistance.Click += new System.EventHandler(this.menuItemSearchWithinDistance_Click); // // menuItemSearchNearest // this.menuItemSearchNearest.Index = 5; this.menuItemSearchNearest.Text = "SearchNearest"; this.menuItemSearchNearest.Click += new System.EventHandler(this.menuItemSearchNearest_Click); // // menuItem4 // this.menuItem4.Index = 6; this.menuItem4.Text = "-"; // // menuItemSearchMultipleTables // this.menuItemSearchMultipleTables.Index = 7; this.menuItemSearchMultipleTables.Text = "Search Multiple Tables"; this.menuItemSearchMultipleTables.Click += new System.EventHandler(this.menuItemSearchMultipleTables_Click); // // menuItem11 // this.menuItem11.Index = 8; this.menuItem11.Text = "-"; // // menuItemCustomProcessor // this.menuItemCustomProcessor.Index = 9; this.menuItemCustomProcessor.Text = "CustomSearchResultProcessor"; this.menuItemCustomProcessor.Click += new System.EventHandler(this.menuItemCustomProcessor_Click); // // menuItem2 // this.menuItem2.Index = 2; this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemMapSearchWithinScreenRect, this.menuItemMapSearchWithinScreenRadius, this.menuItemMapSearchNearest}); this.menuItem2.Text = "MapSearch"; // // menuItemMapSearchWithinScreenRect // this.menuItemMapSearchWithinScreenRect.Index = 0; this.menuItemMapSearchWithinScreenRect.Text = "SearchWithinScreenRect"; this.menuItemMapSearchWithinScreenRect.Click += new System.EventHandler(this.menuItemMapSearchWithinScreenRect_Click); // // menuItemMapSearchWithinScreenRadius // this.menuItemMapSearchWithinScreenRadius.Index = 1; this.menuItemMapSearchWithinScreenRadius.Text = "SearchWithinScreenRadius"; this.menuItemMapSearchWithinScreenRadius.Click += new System.EventHandler(this.menuItemMapSearchWithinScreenRadius_Click); // // menuItemMapSearchNearest // this.menuItemMapSearchNearest.Index = 2; this.menuItemMapSearchNearest.Text = "SearchNearest"; this.menuItemMapSearchNearest.Click += new System.EventHandler(this.menuItemMapSearchNearest_Click); // // menuItem5 // this.menuItem5.Index = 3; this.menuItem5.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemSqlExpressionFilter, this.menuItemContainsFilter, this.menuItemIntersectFeature, this.menuItemCustomQueryFilter, this.menuItemLogicalFilter, this.menuItem7, this.menuItemSetColumns}); this.menuItem5.Text = "QueryDefinition"; // // menuItemSqlExpressionFilter // this.menuItemSqlExpressionFilter.Index = 0; this.menuItemSqlExpressionFilter.Text = "SqlExpressionFilter"; this.menuItemSqlExpressionFilter.Click += new System.EventHandler(this.menuItemSqlExpressionFilter_Click); // // menuItemContainsFilter // this.menuItemContainsFilter.Index = 1; this.menuItemContainsFilter.Text = "ContainsFilter"; this.menuItemContainsFilter.Click += new System.EventHandler(this.menuItemContainsFilter_Click); // // menuItemIntersectFeature // this.menuItemIntersectFeature.Index = 2; this.menuItemIntersectFeature.Text = "IntersectFilter"; this.menuItemIntersectFeature.Click += new System.EventHandler(this.menuItemIntersectFeature_Click); // // menuItemCustomQueryFilter // this.menuItemCustomQueryFilter.Index = 3; this.menuItemCustomQueryFilter.Text = "CustomQueryFilter"; this.menuItemCustomQueryFilter.Click += new System.EventHandler(this.menuItemCustomQueryFilter_Click); // // menuItemLogicalFilter // this.menuItemLogicalFilter.Index = 4; this.menuItemLogicalFilter.Text = "LogicalFilter"; this.menuItemLogicalFilter.Click += new System.EventHandler(this.menuItemLogicalFilter_Click); // // menuItem7 // this.menuItem7.Index = 5; this.menuItem7.Text = "-"; // // menuItemSetColumns // this.menuItemSetColumns.Index = 6; this.menuItemSetColumns.Text = "Setting Columns"; this.menuItemSetColumns.Click += new System.EventHandler(this.menuItemSetColumns_Click); // // mapToolBar1 // this.mapToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.mapToolBarButtonOpenTable, this.toolBarButtonSeparator, this.mapToolBarButtonSelect, this.mapToolBarButtonZoomIn, this.mapToolBarButtonZoomOut, this.mapToolBarButtonPan}); this.mapToolBar1.ButtonSize = new System.Drawing.Size(25, 22); this.mapToolBar1.Divider = false; this.mapToolBar1.Dock = System.Windows.Forms.DockStyle.None; this.mapToolBar1.DropDownArrows = true; this.mapToolBar1.Location = new System.Drawing.Point(10, 0); this.mapToolBar1.MapControl = this.mapControl1; this.mapToolBar1.Name = "mapToolBar1"; this.mapToolBar1.ShowToolTips = true; this.mapToolBar1.Size = new System.Drawing.Size(192, 26); this.mapToolBar1.TabIndex = 3; this.mapToolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.mapToolBar1_ButtonClick); // // mapToolBarButtonOpenTable // this.mapToolBarButtonOpenTable.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.OpenTable; this.mapToolBarButtonOpenTable.Name = "mapToolBarButtonOpenTable"; this.mapToolBarButtonOpenTable.ToolTipText = "Open Table"; // // toolBarButtonSeparator // this.toolBarButtonSeparator.Name = "toolBarButtonSeparator"; this.toolBarButtonSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // mapToolBarButtonSelect // this.mapToolBarButtonSelect.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Select; this.mapToolBarButtonSelect.Name = "mapToolBarButtonSelect"; this.mapToolBarButtonSelect.ToolTipText = "Select"; // // mapToolBarButtonZoomIn // this.mapToolBarButtonZoomIn.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomIn; this.mapToolBarButtonZoomIn.Name = "mapToolBarButtonZoomIn"; this.mapToolBarButtonZoomIn.ToolTipText = "Zoom-in"; // // mapToolBarButtonZoomOut // this.mapToolBarButtonZoomOut.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomOut; this.mapToolBarButtonZoomOut.Name = "mapToolBarButtonZoomOut"; this.mapToolBarButtonZoomOut.ToolTipText = "Zoom-out"; // // mapToolBarButtonPan // this.mapToolBarButtonPan.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Pan; this.mapToolBarButtonPan.Name = "mapToolBarButtonPan"; this.mapToolBarButtonPan.ToolTipText = "Pan"; // // MapForm1 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(406, 305); this.Controls.Add(this.mapToolBar1); this.Controls.Add(this.statusBar1); this.Controls.Add(this.panel1); this.Menu = this.mainMenu1; this.MinimumSize = new System.Drawing.Size(300, 215); this.Name = "MapForm1"; this.Text = "Search Sample"; this.Load += new System.EventHandler(this.MapForm1_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mapControl1 = new MapInfo.Windows.Controls.MapControl(); this.panel1 = new System.Windows.Forms.Panel(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.label1 = new System.Windows.Forms.Label(); this.fields = new System.Windows.Forms.CheckedListBox(); this.layers = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.mapToolBar1 = new MapInfo.Windows.Controls.MapToolBar(); this.mapToolBarButtonOpenTable = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonLayerControl = new MapInfo.Windows.Controls.MapToolBarButton(); this.toolBarButtonSeparator = new System.Windows.Forms.ToolBarButton(); this.mapToolBarButtonSelect = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomIn = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomOut = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonPan = new MapInfo.Windows.Controls.MapToolBarButton(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(296, 244); this.mapControl1.TabIndex = 0; this.mapControl1.Text = "mapControl1"; this.mapControl1.Tools.MiddleButtonTool = null; // // panel1 // this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.mapControl1); this.panel1.Location = new System.Drawing.Point(4, 40); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(300, 248); this.panel1.TabIndex = 1; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 291); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(520, 19); this.statusBar1.TabIndex = 2; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label1.Location = new System.Drawing.Point(320, 38); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(168, 16); this.label1.TabIndex = 5; this.label1.Text = "Layers:"; // // fields // this.fields.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.fields.Location = new System.Drawing.Point(320, 94); this.fields.Name = "fields"; this.fields.Size = new System.Drawing.Size(184, 184); this.fields.TabIndex = 6; this.fields.SelectedIndexChanged += new System.EventHandler(this.fields_SelectedIndexChanged); // // layers // this.layers.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.layers.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.layers.Location = new System.Drawing.Point(320, 54); this.layers.Name = "layers"; this.layers.Size = new System.Drawing.Size(184, 21); this.layers.TabIndex = 7; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label2.Location = new System.Drawing.Point(320, 78); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(168, 16); this.label2.TabIndex = 8; this.label2.Text = "Fields:"; // // mapToolBar1 // this.mapToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.mapToolBarButtonOpenTable, this.mapToolBarButtonLayerControl, this.toolBarButtonSeparator, this.mapToolBarButtonSelect, this.mapToolBarButtonZoomIn, this.mapToolBarButtonZoomOut, this.mapToolBarButtonPan }); this.mapToolBar1.Divider = false; this.mapToolBar1.Dock = System.Windows.Forms.DockStyle.None; this.mapToolBar1.DropDownArrows = true; this.mapToolBar1.Location = new System.Drawing.Point(6, 8); this.mapToolBar1.MapControl = this.mapControl1; this.mapToolBar1.Name = "mapToolBar1"; this.mapToolBar1.ShowToolTips = true; this.mapToolBar1.Size = new System.Drawing.Size(160, 26); this.mapToolBar1.TabIndex = 9; // // mapToolBarButtonOpenTable // this.mapToolBarButtonOpenTable.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.OpenTable; this.mapToolBarButtonOpenTable.ToolTipText = "Open Table"; // // mapToolBarButtonLayerControl // this.mapToolBarButtonLayerControl.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.LayerControl; this.mapToolBarButtonLayerControl.ToolTipText = "Layer Control"; // // toolBarButtonSeparator // this.toolBarButtonSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // mapToolBarButtonSelect // this.mapToolBarButtonSelect.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Select; this.mapToolBarButtonSelect.ToolTipText = "Select"; // // mapToolBarButtonZoomIn // this.mapToolBarButtonZoomIn.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomIn; this.mapToolBarButtonZoomIn.ToolTipText = "Zoom-in"; // // mapToolBarButtonZoomOut // this.mapToolBarButtonZoomOut.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomOut; this.mapToolBarButtonZoomOut.ToolTipText = "Zoom-out"; // // mapToolBarButtonPan // this.mapToolBarButtonPan.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Pan; this.mapToolBarButtonPan.ToolTipText = "Pan"; // // MapForm1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(520, 310); this.Controls.Add(this.mapToolBar1); this.Controls.Add(this.label2); this.Controls.Add(this.layers); this.Controls.Add(this.fields); this.Controls.Add(this.label1); this.Controls.Add(this.statusBar1); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(250, 200); this.Name = "MapForm1"; this.Text = "Pie Theme Sample"; this.Load += new System.EventHandler(this.MapForm1_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mapControl1 = new MapInfo.Windows.Controls.MapControl(); this.panel1 = new System.Windows.Forms.Panel(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.btnBarTheme = new System.Windows.Forms.Button(); this.btnStacked = new System.Windows.Forms.Button(); this.mapToolBar1 = new MapInfo.Windows.Controls.MapToolBar(); this.mapToolBarButtonOpenTable = new MapInfo.Windows.Controls.MapToolBarButton(); this.toolBarButtonSeparator = new System.Windows.Forms.ToolBarButton(); this.mapToolBarButtonSelect = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomIn = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomOut = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonPan = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonLayerControl = new MapInfo.Windows.Controls.MapToolBarButton(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(394, 245); this.mapControl1.TabIndex = 0; this.mapControl1.Text = "mapControl1"; this.mapControl1.Tools.MiddleButtonTool = null; // // panel1 // this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.mapControl1); this.panel1.Location = new System.Drawing.Point(4, 40); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(398, 249); this.panel1.TabIndex = 1; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 287); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(406, 19); this.statusBar1.TabIndex = 2; // // btnBarTheme // this.btnBarTheme.Location = new System.Drawing.Point(200, 8); this.btnBarTheme.Name = "btnBarTheme"; this.btnBarTheme.Size = new System.Drawing.Size(88, 23); this.btnBarTheme.TabIndex = 4; this.btnBarTheme.Text = "BarTheme"; this.btnBarTheme.Click += new System.EventHandler(this.btnBarTheme_Click); // // btnStacked // this.btnStacked.Location = new System.Drawing.Point(312, 8); this.btnStacked.Name = "btnStacked"; this.btnStacked.Size = new System.Drawing.Size(88, 23); this.btnStacked.TabIndex = 5; this.btnStacked.Text = "Stacked"; this.btnStacked.Click += new System.EventHandler(this.btnStacked_Click); // // mapToolBar1 // this.mapToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.mapToolBarButtonOpenTable, this.mapToolBarButtonLayerControl, this.toolBarButtonSeparator, this.mapToolBarButtonSelect, this.mapToolBarButtonZoomIn, this.mapToolBarButtonZoomOut, this.mapToolBarButtonPan }); this.mapToolBar1.Divider = false; this.mapToolBar1.Dock = System.Windows.Forms.DockStyle.None; this.mapToolBar1.DropDownArrows = true; this.mapToolBar1.Location = new System.Drawing.Point(8, 8); this.mapToolBar1.MapControl = this.mapControl1; this.mapToolBar1.Name = "mapToolBar1"; this.mapToolBar1.ShowToolTips = true; this.mapToolBar1.Size = new System.Drawing.Size(160, 26); this.mapToolBar1.TabIndex = 7; // // mapToolBarButtonOpenTable // this.mapToolBarButtonOpenTable.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.OpenTable; this.mapToolBarButtonOpenTable.ToolTipText = "Open Table"; // // toolBarButtonSeparator // this.toolBarButtonSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // mapToolBarButtonSelect // this.mapToolBarButtonSelect.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Select; this.mapToolBarButtonSelect.ToolTipText = "Select"; // // mapToolBarButtonZoomIn // this.mapToolBarButtonZoomIn.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomIn; this.mapToolBarButtonZoomIn.ToolTipText = "Zoom-in"; // // mapToolBarButtonZoomOut // this.mapToolBarButtonZoomOut.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomOut; this.mapToolBarButtonZoomOut.ToolTipText = "Zoom-out"; // // mapToolBarButtonPan // this.mapToolBarButtonPan.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Pan; this.mapToolBarButtonPan.ToolTipText = "Pan"; // // mapToolBarButtonLayerControl // this.mapToolBarButtonLayerControl.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.LayerControl; this.mapToolBarButtonLayerControl.ToolTipText = "Layer Control"; // // MapForm1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(406, 306); this.Controls.Add(this.mapToolBar1); this.Controls.Add(this.btnStacked); this.Controls.Add(this.btnBarTheme); this.Controls.Add(this.statusBar1); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(250, 200); this.Name = "MapForm1"; this.Text = "MapForm1"; this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mapControl1 = new MapInfo.Windows.Controls.MapControl(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.MainMenu1 = new System.Windows.Forms.MainMenu(); this.MenuItem13 = new System.Windows.Forms.MenuItem(); this.menuFileOpen = new System.Windows.Forms.MenuItem(); this.menuItemFileCloseTables = new System.Windows.Forms.MenuItem(); this.MenuItem20 = new System.Windows.Forms.MenuItem(); this.menuClearMap = new System.Windows.Forms.MenuItem(); this.menuTableSearchPath = new System.Windows.Forms.MenuItem(); this.MenuItem18 = new System.Windows.Forms.MenuItem(); this.menuFileExit = new System.Windows.Forms.MenuItem(); this.MenuItem1 = new System.Windows.Forms.MenuItem(); this.menuTableLoaderOptions = new System.Windows.Forms.MenuItem(); this.MenuItem7 = new System.Windows.Forms.MenuItem(); this.menuTableLoaderOneFile = new System.Windows.Forms.MenuItem(); this.menuTableLoaderMultipleFiles = new System.Windows.Forms.MenuItem(); this.menuTableLoaderFileArray = new System.Windows.Forms.MenuItem(); this.menuItemPickFiles = new System.Windows.Forms.MenuItem(); this.MenuItem10 = new System.Windows.Forms.MenuItem(); this.menuTableLoaderMultipleTables = new System.Windows.Forms.MenuItem(); this.menuTableLoaderTableEnumerator = new System.Windows.Forms.MenuItem(); this.menuTableLoaderTableInfo = new System.Windows.Forms.MenuItem(); this.MenuItem6 = new System.Windows.Forms.MenuItem(); this.menuGeosetLoaderOptions = new System.Windows.Forms.MenuItem(); this.menuGeosetLoaderLoadGeoset = new System.Windows.Forms.MenuItem(); this.menuWorkspaceLoader = new System.Windows.Forms.MenuItem(); this.menuWorkspaceLoaderOptions = new System.Windows.Forms.MenuItem(); this.LoadNamedConnectionMenuItem = new System.Windows.Forms.MenuItem(); this.AddNamedConnectionMenuItem = new System.Windows.Forms.MenuItem(); this.SaveNamedConnectionMenuItem = new System.Windows.Forms.MenuItem(); this.menuWorkspaceLoaderLoadWorkspace = new System.Windows.Forms.MenuItem(); this.panel1 = new System.Windows.Forms.Panel(); this.mapToolBar1 = new MapInfo.Windows.Controls.MapToolBar(); this.mapToolBarButtonOpenTable = new MapInfo.Windows.Controls.MapToolBarButton(); this.toolBarButtonSeparator = new System.Windows.Forms.ToolBarButton(); this.mapToolBarButtonSelect = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomIn = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomOut = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonPan = new MapInfo.Windows.Controls.MapToolBarButton(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(375, 242); this.mapControl1.TabIndex = 1; this.mapControl1.Tools.LeftButtonTool = null; this.mapControl1.Tools.MiddleButtonTool = null; this.mapControl1.Tools.RightButtonTool = null; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 284); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(392, 19); this.statusBar1.TabIndex = 2; // // MainMenu1 // this.MainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.MenuItem13, this.MenuItem1, this.MenuItem6, this.menuWorkspaceLoader}); // // MenuItem13 // this.MenuItem13.Index = 0; this.MenuItem13.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFileOpen, this.menuItemFileCloseTables, this.MenuItem20, this.menuClearMap, this.menuTableSearchPath, this.MenuItem18, this.menuFileExit}); this.MenuItem13.Text = "File"; // // menuFileOpen // this.menuFileOpen.Index = 0; this.menuFileOpen.Text = "&Open..."; this.menuFileOpen.Click += new System.EventHandler(this.menuFileOpen_Click); // // menuItemFileCloseTables // this.menuItemFileCloseTables.Enabled = false; this.menuItemFileCloseTables.Index = 1; this.menuItemFileCloseTables.Text = "Close &Tables..."; this.menuItemFileCloseTables.Click += new System.EventHandler(this.menuItemFileCloseTables_Click); // // MenuItem20 // this.MenuItem20.Index = 2; this.MenuItem20.Text = "-"; // // menuClearMap // this.menuClearMap.Index = 3; this.menuClearMap.Text = "&Clear Map"; this.menuClearMap.Click += new System.EventHandler(this.menuClearMap_Click); // // menuTableSearchPath // this.menuTableSearchPath.Index = 4; this.menuTableSearchPath.Text = "Table Search Path..."; this.menuTableSearchPath.Click += new System.EventHandler(this.menuTableSearchPath_Click); // // MenuItem18 // this.MenuItem18.Index = 5; this.MenuItem18.Text = "-"; // // menuFileExit // this.menuFileExit.Index = 6; this.menuFileExit.Text = "E&xit"; this.menuFileExit.Click += new System.EventHandler(this.menuFileExit_Click); // // MenuItem1 // this.MenuItem1.Index = 1; this.MenuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuTableLoaderOptions, this.MenuItem7, this.menuTableLoaderOneFile, this.menuTableLoaderMultipleFiles, this.menuTableLoaderFileArray, this.menuItemPickFiles, this.MenuItem10, this.menuTableLoaderMultipleTables, this.menuTableLoaderTableEnumerator, this.menuTableLoaderTableInfo}); this.MenuItem1.Text = "&Table Loader"; // // menuTableLoaderOptions // this.menuTableLoaderOptions.Index = 0; this.menuTableLoaderOptions.Text = "&Options..."; this.menuTableLoaderOptions.Click += new System.EventHandler(this.menuTableLoaderOptions_Click); // // MenuItem7 // this.MenuItem7.Index = 1; this.MenuItem7.Text = "-"; // // menuTableLoaderOneFile // this.menuTableLoaderOneFile.Index = 2; this.menuTableLoaderOneFile.Text = "One File"; this.menuTableLoaderOneFile.Click += new System.EventHandler(this.menuTableLoaderOneFile_Click); // // menuTableLoaderMultipleFiles // this.menuTableLoaderMultipleFiles.Index = 3; this.menuTableLoaderMultipleFiles.Text = "Multiple Files"; this.menuTableLoaderMultipleFiles.Click += new System.EventHandler(this.menuTableLoaderMultipleFiles_Click); // // menuTableLoaderFileArray // this.menuTableLoaderFileArray.Index = 4; this.menuTableLoaderFileArray.Text = "File Array"; this.menuTableLoaderFileArray.Click += new System.EventHandler(this.menuTableLoaderFileArray_Click); // // menuItemPickFiles // this.menuItemPickFiles.Index = 5; this.menuItemPickFiles.Text = "Pick Files..."; this.menuItemPickFiles.Click += new System.EventHandler(this.menuItemPickFiles_Click); // // MenuItem10 // this.MenuItem10.Index = 6; this.MenuItem10.Text = "-"; // // menuTableLoaderMultipleTables // this.menuTableLoaderMultipleTables.Index = 7; this.menuTableLoaderMultipleTables.Text = "Multiple Tables"; this.menuTableLoaderMultipleTables.Click += new System.EventHandler(this.menuTableLoaderMultipleTables_Click); // // menuTableLoaderTableEnumerator // this.menuTableLoaderTableEnumerator.Index = 8; this.menuTableLoaderTableEnumerator.Text = "Table Enumerator"; this.menuTableLoaderTableEnumerator.Click += new System.EventHandler(this.menuTableLoaderTableEnumerator_Click); // // menuTableLoaderTableInfo // this.menuTableLoaderTableInfo.Index = 9; this.menuTableLoaderTableInfo.Text = "TableInfo"; this.menuTableLoaderTableInfo.Click += new System.EventHandler(this.menuTableLoaderTableInfo_Click); // // MenuItem6 // this.MenuItem6.Index = 2; this.MenuItem6.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuGeosetLoaderOptions, this.menuGeosetLoaderLoadGeoset}); this.MenuItem6.Text = "&Geoset Loader"; // // menuGeosetLoaderOptions // this.menuGeosetLoaderOptions.Index = 0; this.menuGeosetLoaderOptions.Text = "&Options..."; this.menuGeosetLoaderOptions.Click += new System.EventHandler(this.menuGeosetLoaderOptions_Click); // // menuGeosetLoaderLoadGeoset // this.menuGeosetLoaderLoadGeoset.Index = 1; this.menuGeosetLoaderLoadGeoset.Text = "Load Geoset..."; this.menuGeosetLoaderLoadGeoset.Click += new System.EventHandler(this.menuGeosetLoaderLoadGeoset_Click); // // menuWorkspaceLoader // this.menuWorkspaceLoader.Index = 3; this.menuWorkspaceLoader.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuWorkspaceLoaderOptions, this.LoadNamedConnectionMenuItem, this.AddNamedConnectionMenuItem, this.SaveNamedConnectionMenuItem, this.menuWorkspaceLoaderLoadWorkspace}); this.menuWorkspaceLoader.Text = "&Workspace Loader"; // // menuWorkspaceLoaderOptions // this.menuWorkspaceLoaderOptions.Index = 0; this.menuWorkspaceLoaderOptions.Text = "&Options..."; this.menuWorkspaceLoaderOptions.Click += new System.EventHandler(this.menuWorkspaceLoaderOptions_Click); // // LoadNamedConnectionMenuItem // this.LoadNamedConnectionMenuItem.Index = 1; this.LoadNamedConnectionMenuItem.Text = "Load Named Connection..."; this.LoadNamedConnectionMenuItem.Click += new System.EventHandler(this.LoadNamedConnectionMenuItem_Click); // // AddNamedConnectionMenuItem // this.AddNamedConnectionMenuItem.Index = 2; this.AddNamedConnectionMenuItem.Text = "Add Named Connection..."; this.AddNamedConnectionMenuItem.Click += new System.EventHandler(this.AddNamedConnectionMenuItem_Click); // // SaveNamedConnectionMenuItem // this.SaveNamedConnectionMenuItem.Index = 3; this.SaveNamedConnectionMenuItem.Text = "Save Named Connection..."; this.SaveNamedConnectionMenuItem.Click += new System.EventHandler(this.SaveNamedConnectionMenuItem_Click); // // menuWorkspaceLoaderLoadWorkspace // this.menuWorkspaceLoaderLoadWorkspace.Index = 4; this.menuWorkspaceLoaderLoadWorkspace.Text = "Load Workspace..."; this.menuWorkspaceLoaderLoadWorkspace.Click += new System.EventHandler(this.menuWorkspaceLoaderLoadWorkspace_Click); // // panel1 // this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.mapControl1); this.panel1.Location = new System.Drawing.Point(8, 32); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(379, 246); this.panel1.TabIndex = 4; // // mapToolBar1 // this.mapToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.mapToolBarButtonOpenTable, this.toolBarButtonSeparator, this.mapToolBarButtonSelect, this.mapToolBarButtonZoomIn, this.mapToolBarButtonZoomOut, this.mapToolBarButtonPan}); this.mapToolBar1.Divider = false; this.mapToolBar1.Dock = System.Windows.Forms.DockStyle.None; this.mapToolBar1.DropDownArrows = true; this.mapToolBar1.Location = new System.Drawing.Point(8, 0); this.mapToolBar1.MapControl = this.mapControl1; this.mapToolBar1.Name = "mapToolBar1"; this.mapToolBar1.ShowToolTips = true; this.mapToolBar1.Size = new System.Drawing.Size(160, 26); this.mapToolBar1.TabIndex = 5; // // mapToolBarButtonOpenTable // this.mapToolBarButtonOpenTable.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.OpenTable; this.mapToolBarButtonOpenTable.ToolTipText = "Open Table"; // // toolBarButtonSeparator // this.toolBarButtonSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // mapToolBarButtonSelect // this.mapToolBarButtonSelect.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Select; this.mapToolBarButtonSelect.ToolTipText = "Select"; // // mapToolBarButtonZoomIn // this.mapToolBarButtonZoomIn.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomIn; this.mapToolBarButtonZoomIn.ToolTipText = "Zoom-in"; // // mapToolBarButtonZoomOut // this.mapToolBarButtonZoomOut.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomOut; this.mapToolBarButtonZoomOut.ToolTipText = "Zoom-out"; // // mapToolBarButtonPan // this.mapToolBarButtonPan.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Pan; this.mapToolBarButtonPan.ToolTipText = "Pan"; // // MapForm1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(392, 303); this.Controls.Add(this.mapToolBar1); this.Controls.Add(this.panel1); this.Controls.Add(this.statusBar1); this.Menu = this.MainMenu1; this.MinimumSize = new System.Drawing.Size(250, 200); this.Name = "MapForm1"; this.Text = "MapForm1"; this.Load += new System.EventHandler(this.MapForm1_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mapControl1 = new MapInfo.Windows.Controls.MapControl(); this.panel1 = new System.Windows.Forms.Panel(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.GridButton = new System.Windows.Forms.Button(); this.StyleButton = new System.Windows.Forms.Button(); this.ReadTableColumnB = new System.Windows.Forms.Button(); this.mapToolBar1 = new MapInfo.Windows.Controls.MapToolBar(); this.mapToolBarButtonOpenTable = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonLayerControl = new MapInfo.Windows.Controls.MapToolBarButton(); this.toolBarButtonSeparator = new System.Windows.Forms.ToolBarButton(); this.mapToolBarButtonSelect = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomIn = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomOut = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonPan = new MapInfo.Windows.Controls.MapToolBarButton(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(652, 369); this.mapControl1.TabIndex = 0; this.mapControl1.Text = "mapControl1"; this.mapControl1.Tools.MiddleButtonTool = null; // // panel1 // this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.mapControl1); this.panel1.Location = new System.Drawing.Point(4, 40); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(656, 373); this.panel1.TabIndex = 1; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 411); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(664, 19); this.statusBar1.TabIndex = 2; // // GridButton // this.GridButton.Location = new System.Drawing.Point(336, 8); this.GridButton.Name = "GridButton"; this.GridButton.TabIndex = 4; this.GridButton.Text = "2. GridInfo"; this.GridButton.Click += new System.EventHandler(this.GridButton_Click); // // StyleButton // this.StyleButton.Location = new System.Drawing.Point(432, 8); this.StyleButton.Name = "StyleButton"; this.StyleButton.TabIndex = 5; this.StyleButton.Text = "3. Style"; this.StyleButton.Click += new System.EventHandler(this.StyleButton_Click); // // ReadTableColumnB // this.ReadTableColumnB.Location = new System.Drawing.Point(216, 8); this.ReadTableColumnB.Name = "ReadTableColumnB"; this.ReadTableColumnB.Size = new System.Drawing.Size(104, 23); this.ReadTableColumnB.TabIndex = 6; this.ReadTableColumnB.Text = "1. ReadTable"; this.ReadTableColumnB.Click += new System.EventHandler(this.ReadTableColumnB_Click); // // mapToolBar1 // this.mapToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.mapToolBarButtonOpenTable, this.mapToolBarButtonLayerControl, this.toolBarButtonSeparator, this.mapToolBarButtonSelect, this.mapToolBarButtonZoomIn, this.mapToolBarButtonZoomOut, this.mapToolBarButtonPan}); this.mapToolBar1.Divider = false; this.mapToolBar1.Dock = System.Windows.Forms.DockStyle.None; this.mapToolBar1.DropDownArrows = true; this.mapToolBar1.Location = new System.Drawing.Point(6, 7); this.mapToolBar1.MapControl = this.mapControl1; this.mapToolBar1.Name = "mapToolBar1"; this.mapToolBar1.ShowToolTips = true; this.mapToolBar1.Size = new System.Drawing.Size(160, 26); this.mapToolBar1.TabIndex = 8; // // mapToolBarButtonOpenTable // this.mapToolBarButtonOpenTable.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.OpenTable; this.mapToolBarButtonOpenTable.ToolTipText = "Open Table"; // // mapToolBarButtonLayerControl // this.mapToolBarButtonLayerControl.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.LayerControl; this.mapToolBarButtonLayerControl.ToolTipText = "Layer Control"; // // toolBarButtonSeparator // this.toolBarButtonSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // mapToolBarButtonSelect // this.mapToolBarButtonSelect.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Select; this.mapToolBarButtonSelect.ToolTipText = "Select"; // // mapToolBarButtonZoomIn // this.mapToolBarButtonZoomIn.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomIn; this.mapToolBarButtonZoomIn.ToolTipText = "Zoom-in"; // // mapToolBarButtonZoomOut // this.mapToolBarButtonZoomOut.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomOut; this.mapToolBarButtonZoomOut.ToolTipText = "Zoom-out"; // // mapToolBarButtonPan // this.mapToolBarButtonPan.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Pan; this.mapToolBarButtonPan.ToolTipText = "Pan"; // // MapForm1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(664, 430); this.Controls.Add(this.mapToolBar1); this.Controls.Add(this.ReadTableColumnB); this.Controls.Add(this.StyleButton); this.Controls.Add(this.GridButton); this.Controls.Add(this.statusBar1); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(250, 200); this.Name = "MapForm1"; this.Text = "MapForm1"; this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mapControl1 = new MapInfo.Windows.Controls.MapControl(); this.panel1 = new System.Windows.Forms.Panel(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.mapToolBar1 = new MapInfo.Windows.Controls.MapToolBar(); this.mapToolBarButtonLayerControl = new MapInfo.Windows.Controls.MapToolBarButton(); this.toolBarButtonSep1 = new System.Windows.Forms.ToolBarButton(); this.mapToolBarButtonSelect = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomIn = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonZoomOut = new MapInfo.Windows.Controls.MapToolBarButton(); this.mapToolBarButtonPan = new MapInfo.Windows.Controls.MapToolBarButton(); this.toolBarButtonSep2 = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonAddContinentTheme = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonAddCountryTheme = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonThemeInfo = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonClear = new System.Windows.Forms.ToolBarButton(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(420, 252); this.mapControl1.TabIndex = 0; this.mapControl1.Text = "mapControl1"; this.mapControl1.Tools.MiddleButtonTool = null; // // panel1 // this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.mapControl1); this.panel1.Location = new System.Drawing.Point(4, 32); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(424, 256); this.panel1.TabIndex = 1; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 287); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(432, 19); this.statusBar1.TabIndex = 2; // // mapToolBar1 // this.mapToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.mapToolBarButtonLayerControl, this.toolBarButtonSep1, this.mapToolBarButtonSelect, this.mapToolBarButtonZoomIn, this.mapToolBarButtonZoomOut, this.mapToolBarButtonPan, this.toolBarButtonSep2, this.toolBarButtonAddContinentTheme, this.toolBarButtonAddCountryTheme, this.toolBarButtonThemeInfo, this.toolBarButtonClear}); this.mapToolBar1.Divider = false; this.mapToolBar1.Dock = System.Windows.Forms.DockStyle.None; this.mapToolBar1.DropDownArrows = true; this.mapToolBar1.Location = new System.Drawing.Point(0, 0); this.mapToolBar1.MapControl = this.mapControl1; this.mapToolBar1.Name = "mapToolBar1"; this.mapToolBar1.ShowToolTips = true; this.mapToolBar1.Size = new System.Drawing.Size(280, 26); this.mapToolBar1.TabIndex = 3; this.mapToolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.mapToolBar1_ButtonClick); // // mapToolBarButtonLayerControl // this.mapToolBarButtonLayerControl.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.LayerControl; this.mapToolBarButtonLayerControl.ToolTipText = "Layer Control"; // // toolBarButtonSep1 // this.toolBarButtonSep1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // mapToolBarButtonSelect // this.mapToolBarButtonSelect.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Select; this.mapToolBarButtonSelect.ToolTipText = "Select"; // // mapToolBarButtonZoomIn // this.mapToolBarButtonZoomIn.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomIn; this.mapToolBarButtonZoomIn.ToolTipText = "Zoom-in"; // // mapToolBarButtonZoomOut // this.mapToolBarButtonZoomOut.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomOut; this.mapToolBarButtonZoomOut.ToolTipText = "Zoom-out"; // // mapToolBarButtonPan // this.mapToolBarButtonPan.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Pan; this.mapToolBarButtonPan.ToolTipText = "Pan"; // // toolBarButtonSep2 // this.toolBarButtonSep2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarButtonAddContinentTheme // this.toolBarButtonAddContinentTheme.ImageIndex = 34; this.toolBarButtonAddContinentTheme.ToolTipText = "Add \'Continent\' Individual Value Theme"; // // toolBarButtonAddCountryTheme // this.toolBarButtonAddCountryTheme.ImageIndex = 34; this.toolBarButtonAddCountryTheme.ToolTipText = "Add \'Country\' Individual Value Theme"; // // toolBarButtonThemeInfo // this.toolBarButtonThemeInfo.ImageIndex = 8; this.toolBarButtonThemeInfo.ToolTipText = "Show Information about Theme"; // // toolBarButtonClear // this.toolBarButtonClear.ImageIndex = 42; this.toolBarButtonClear.ToolTipText = "Clear all IndividualValueThemes"; // // IndividualValueThematic // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(432, 306); this.Controls.Add(this.mapToolBar1); this.Controls.Add(this.statusBar1); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(250, 200); this.Name = "IndividualValueThematic"; this.Text = "Individual Value Theme demo"; this.Load += new System.EventHandler(this.MapForm1_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }