/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.statusBar1 = new System.Windows.Forms.StatusBar(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.mnuFile = new System.Windows.Forms.MenuItem(); this.mnuOpenTable = new System.Windows.Forms.MenuItem(); this.mnuOpenGeoset = new System.Windows.Forms.MenuItem(); this.mnuCloseTable = new System.Windows.Forms.MenuItem(); this.mnuCloseAll = new System.Windows.Forms.MenuItem(); this.mnuExit = new System.Windows.Forms.MenuItem(); this.mnuTheme = new System.Windows.Forms.MenuItem(); this.mnuAddTheme = new System.Windows.Forms.MenuItem(); this.mnuRemoveTheme = new System.Windows.Forms.MenuItem(); this.mnuModifyTheme = new System.Windows.Forms.MenuItem(); this.mapControl1 = new MapInfo.Windows.Controls.MapControl(); 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.SuspendLayout(); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 286); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(447, 19); this.statusBar1.TabIndex = 2; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuFile, this.mnuTheme }); // // mnuFile // this.mnuFile.Index = 0; this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuOpenTable, this.mnuOpenGeoset, this.mnuCloseTable, this.mnuCloseAll, this.mnuExit }); this.mnuFile.Text = "File"; // // mnuOpenTable // this.mnuOpenTable.Index = 0; this.mnuOpenTable.Text = "Open Table..."; this.mnuOpenTable.Click += new System.EventHandler(this.mnuOpenTable_Click); // // mnuOpenGeoset // this.mnuOpenGeoset.Index = 1; this.mnuOpenGeoset.Text = "Open Geoset..."; this.mnuOpenGeoset.Click += new System.EventHandler(this.mnuOpenGeoset_Click); // // mnuCloseTable // this.mnuCloseTable.Index = 2; this.mnuCloseTable.Text = "Close Table..."; this.mnuCloseTable.Click += new System.EventHandler(this.mnuCloseTable_Click); // // mnuCloseAll // this.mnuCloseAll.Index = 3; this.mnuCloseAll.Text = "Close All"; this.mnuCloseAll.Click += new System.EventHandler(this.mnuCloseAll_Click); // // mnuExit // this.mnuExit.Index = 4; this.mnuExit.Text = "Exit"; this.mnuExit.Click += new System.EventHandler(this.mnuExit_Click); // // mnuTheme // this.mnuTheme.Index = 1; this.mnuTheme.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuAddTheme, this.mnuRemoveTheme, this.mnuModifyTheme }); this.mnuTheme.Text = "Theme"; // // mnuAddTheme // this.mnuAddTheme.Index = 0; this.mnuAddTheme.Text = "Add Theme..."; this.mnuAddTheme.Click += new System.EventHandler(this.mnuAddTheme_Click); // // mnuRemoveTheme // this.mnuRemoveTheme.Enabled = false; this.mnuRemoveTheme.Index = 1; this.mnuRemoveTheme.Text = "Remove Theme"; this.mnuRemoveTheme.Click += new System.EventHandler(this.mnuRemoveTheme_Click); // // mnuModifyTheme // this.mnuModifyTheme.Enabled = false; this.mnuModifyTheme.Index = 2; this.mnuModifyTheme.Text = "Modify Theme..."; this.mnuModifyTheme.Click += new System.EventHandler(this.mnuModifyTheme_Click); // // mapControl1 // this.mapControl1.Location = new System.Drawing.Point(8, 32); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(432, 248); this.mapControl1.TabIndex = 4; this.mapControl1.Text = "mapControl1"; // // 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, 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 = 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"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(447, 305); this.Controls.Add(this.mapToolBar1); this.Controls.Add(this.mapControl1); this.Controls.Add(this.statusBar1); this.Menu = this.mainMenu1; this.MinimumSize = new System.Drawing.Size(250, 200); this.Name = "Form1"; this.Text = "Theme Dialogs Sample"; this.Resize += new System.EventHandler(this.Form1_Resize); this.Load += new System.EventHandler(this.Form1_Load); 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.statusBar1 = new System.Windows.Forms.StatusBar(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.mnuFile = new System.Windows.Forms.MenuItem(); this.mnuOpenTable = new System.Windows.Forms.MenuItem(); this.mnuOpenGeoset = new System.Windows.Forms.MenuItem(); this.mnuCloseTable = new System.Windows.Forms.MenuItem(); this.mnuCloseAll = new System.Windows.Forms.MenuItem(); this.mnuExit = new System.Windows.Forms.MenuItem(); this.mnuTheme = new System.Windows.Forms.MenuItem(); this.mnuAddTheme = new System.Windows.Forms.MenuItem(); this.mnuRemoveTheme = new System.Windows.Forms.MenuItem(); this.mnuModifyTheme = new System.Windows.Forms.MenuItem(); this.mapControl1 = new MapInfo.Windows.Controls.MapControl(); 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.SuspendLayout(); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 286); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(447, 19); this.statusBar1.TabIndex = 2; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuFile, this.mnuTheme}); // // mnuFile // this.mnuFile.Index = 0; this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuOpenTable, this.mnuOpenGeoset, this.mnuCloseTable, this.mnuCloseAll, this.mnuExit}); this.mnuFile.Text = "File"; // // mnuOpenTable // this.mnuOpenTable.Index = 0; this.mnuOpenTable.Text = "Open Table..."; this.mnuOpenTable.Click += new System.EventHandler(this.mnuOpenTable_Click); // // mnuOpenGeoset // this.mnuOpenGeoset.Index = 1; this.mnuOpenGeoset.Text = "Open Geoset..."; this.mnuOpenGeoset.Click += new System.EventHandler(this.mnuOpenGeoset_Click); // // mnuCloseTable // this.mnuCloseTable.Index = 2; this.mnuCloseTable.Text = "Close Table..."; this.mnuCloseTable.Click += new System.EventHandler(this.mnuCloseTable_Click); // // mnuCloseAll // this.mnuCloseAll.Index = 3; this.mnuCloseAll.Text = "Close All"; this.mnuCloseAll.Click += new System.EventHandler(this.mnuCloseAll_Click); // // mnuExit // this.mnuExit.Index = 4; this.mnuExit.Text = "Exit"; this.mnuExit.Click += new System.EventHandler(this.mnuExit_Click); // // mnuTheme // this.mnuTheme.Index = 1; this.mnuTheme.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuAddTheme, this.mnuRemoveTheme, this.mnuModifyTheme}); this.mnuTheme.Text = "Theme"; // // mnuAddTheme // this.mnuAddTheme.Index = 0; this.mnuAddTheme.Text = "Add Theme..."; this.mnuAddTheme.Click += new System.EventHandler(this.mnuAddTheme_Click); // // mnuRemoveTheme // this.mnuRemoveTheme.Enabled = false; this.mnuRemoveTheme.Index = 1; this.mnuRemoveTheme.Text = "Remove Theme"; this.mnuRemoveTheme.Click += new System.EventHandler(this.mnuRemoveTheme_Click); // // mnuModifyTheme // this.mnuModifyTheme.Enabled = false; this.mnuModifyTheme.Index = 2; this.mnuModifyTheme.Text = "Modify Theme..."; this.mnuModifyTheme.Click += new System.EventHandler(this.mnuModifyTheme_Click); // // mapControl1 // this.mapControl1.Location = new System.Drawing.Point(8, 32); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(432, 248); this.mapControl1.TabIndex = 4; this.mapControl1.Text = "mapControl1"; // // 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, 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 = 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"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(447, 305); this.Controls.Add(this.mapToolBar1); this.Controls.Add(this.mapControl1); this.Controls.Add(this.statusBar1); this.Menu = this.mainMenu1; this.MinimumSize = new System.Drawing.Size(250, 200); this.Name = "Form1"; this.Text = "Theme Dialogs Sample"; this.Resize += new System.EventHandler(this.Form1_Resize); this.Load += new System.EventHandler(this.Form1_Load); 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(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(formWmsPreview)); this.textBoxURL = new System.Windows.Forms.TextBox(); this.comboBoxImageFormat = new System.Windows.Forms.ComboBox(); this.labelImageFormat = new System.Windows.Forms.Label(); this.comboBoxServers = new System.Windows.Forms.ComboBox(); this.labelServerURL = new System.Windows.Forms.Label(); this.labelWMSServer = new System.Windows.Forms.Label(); this.groupBoxCRS = new System.Windows.Forms.GroupBox(); this.comboBoxProjection = new System.Windows.Forms.ComboBox(); this.textBoxSrsDescription = new System.Windows.Forms.TextBox(); this.groupBoxImageBackground = new System.Windows.Forms.GroupBox(); this.pictureBoxColor = new System.Windows.Forms.PictureBox(); this.checkBoxTransparent = new System.Windows.Forms.CheckBox(); this.groupBoxWMSLayers = new System.Windows.Forms.GroupBox(); this.treeViewServerLayers = new System.Windows.Forms.TreeView(); this.textBoxStyle = new System.Windows.Forms.TextBox(); this.labelStyle = new System.Windows.Forms.Label(); this.comboBoxStyle = new System.Windows.Forms.ComboBox(); this.buttonAdd = new System.Windows.Forms.Button(); this.listBoxClientLayers = new System.Windows.Forms.ListBox(); this.buttonMoveDown = new System.Windows.Forms.Button(); this.buttonMoveUp = new System.Windows.Forms.Button(); this.buttonRemove = new System.Windows.Forms.Button(); this.mapControlWms = new MapInfo.Windows.Controls.MapControl(); this.groupBoxWmsClient = new System.Windows.Forms.GroupBox(); this.comboBoxLayerStyle = new System.Windows.Forms.ComboBox(); this.labelLayerStyle = new System.Windows.Forms.Label(); this.textBoxLayerStyle = new System.Windows.Forms.TextBox(); this.textBoxVersion = new System.Windows.Forms.TextBox(); this.toolBarMap = new System.Windows.Forms.ToolBar(); this.toolBarButtonZoomIn = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonZoomOut = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonPan = new System.Windows.Forms.ToolBarButton(); this.imageListTools = new System.Windows.Forms.ImageList(this.components); this.buttonViewEntire = new System.Windows.Forms.Button(); this.groupBoxCRS.SuspendLayout(); this.groupBoxImageBackground.SuspendLayout(); this.groupBoxWMSLayers.SuspendLayout(); this.groupBoxWmsClient.SuspendLayout(); this.SuspendLayout(); // // textBoxURL // this.textBoxURL.Location = new System.Drawing.Point(112, 48); this.textBoxURL.Name = "textBoxURL"; this.textBoxURL.ReadOnly = true; this.textBoxURL.Size = new System.Drawing.Size(600, 20); this.textBoxURL.TabIndex = 23; this.textBoxURL.Text = ""; // // comboBoxImageFormat // this.comboBoxImageFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxImageFormat.Location = new System.Drawing.Point(384, 432); this.comboBoxImageFormat.Name = "comboBoxImageFormat"; this.comboBoxImageFormat.Size = new System.Drawing.Size(121, 21); this.comboBoxImageFormat.Sorted = true; this.comboBoxImageFormat.TabIndex = 28; this.comboBoxImageFormat.SelectedIndexChanged += new System.EventHandler(this.comboBoxImageFormat_SelectedIndexChanged); // // labelImageFormat // this.labelImageFormat.Location = new System.Drawing.Point(296, 432); this.labelImageFormat.Name = "labelImageFormat"; this.labelImageFormat.Size = new System.Drawing.Size(88, 23); this.labelImageFormat.TabIndex = 27; this.labelImageFormat.Text = "&Image Format:"; // // comboBoxServers // this.comboBoxServers.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxServers.Location = new System.Drawing.Point(112, 16); this.comboBoxServers.Name = "comboBoxServers"; this.comboBoxServers.Size = new System.Drawing.Size(600, 21); this.comboBoxServers.Sorted = true; this.comboBoxServers.TabIndex = 22; this.comboBoxServers.SelectedIndexChanged += new System.EventHandler(this.comboBoxServers_SelectedIndexChanged); // // labelServerURL // this.labelServerURL.Location = new System.Drawing.Point(16, 48); this.labelServerURL.Name = "labelServerURL"; this.labelServerURL.Size = new System.Drawing.Size(88, 23); this.labelServerURL.TabIndex = 18; this.labelServerURL.Text = "Ser&ver URL:"; // // labelWMSServer // this.labelWMSServer.Location = new System.Drawing.Point(16, 16); this.labelWMSServer.Name = "labelWMSServer"; this.labelWMSServer.Size = new System.Drawing.Size(88, 23); this.labelWMSServer.TabIndex = 17; this.labelWMSServer.Text = "&WMS Server:"; // // groupBoxCRS // this.groupBoxCRS.Controls.Add(this.comboBoxProjection); this.groupBoxCRS.Controls.Add(this.textBoxSrsDescription); this.groupBoxCRS.Location = new System.Drawing.Point(286, 536); this.groupBoxCRS.Name = "groupBoxCRS"; this.groupBoxCRS.Size = new System.Drawing.Size(300, 96); this.groupBoxCRS.TabIndex = 30; this.groupBoxCRS.TabStop = false; this.groupBoxCRS.Text = "Coordinate Reference System:"; // // comboBoxProjection // this.comboBoxProjection.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxProjection.Location = new System.Drawing.Point(16, 24); this.comboBoxProjection.Name = "comboBoxProjection"; this.comboBoxProjection.Size = new System.Drawing.Size(224, 21); this.comboBoxProjection.Sorted = true; this.comboBoxProjection.TabIndex = 0; this.comboBoxProjection.SelectedIndexChanged += new System.EventHandler(this.comboBoxProjection_SelectedIndexChanged); // // textBoxSrsDescription // this.textBoxSrsDescription.Location = new System.Drawing.Point(8, 64); this.textBoxSrsDescription.Name = "textBoxSrsDescription"; this.textBoxSrsDescription.ReadOnly = true; this.textBoxSrsDescription.Size = new System.Drawing.Size(280, 20); this.textBoxSrsDescription.TabIndex = 3; this.textBoxSrsDescription.Text = ""; // // groupBoxImageBackground // this.groupBoxImageBackground.Controls.Add(this.pictureBoxColor); this.groupBoxImageBackground.Controls.Add(this.checkBoxTransparent); this.groupBoxImageBackground.Location = new System.Drawing.Point(288, 464); this.groupBoxImageBackground.Name = "groupBoxImageBackground"; this.groupBoxImageBackground.Size = new System.Drawing.Size(168, 64); this.groupBoxImageBackground.TabIndex = 29; this.groupBoxImageBackground.TabStop = false; this.groupBoxImageBackground.Text = "Image Background:"; // // pictureBoxColor // this.pictureBoxColor.Location = new System.Drawing.Point(120, 16); this.pictureBoxColor.Name = "pictureBoxColor"; this.pictureBoxColor.Size = new System.Drawing.Size(32, 32); this.pictureBoxColor.TabIndex = 2; this.pictureBoxColor.TabStop = false; this.pictureBoxColor.Click += new System.EventHandler(this.pictureBoxColor_Click); // // checkBoxTransparent // this.checkBoxTransparent.Checked = true; this.checkBoxTransparent.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBoxTransparent.Location = new System.Drawing.Point(8, 24); this.checkBoxTransparent.Name = "checkBoxTransparent"; this.checkBoxTransparent.Size = new System.Drawing.Size(96, 24); this.checkBoxTransparent.TabIndex = 0; this.checkBoxTransparent.Text = "&Transparent"; this.checkBoxTransparent.CheckedChanged += new System.EventHandler(this.checkBoxTransparent_CheckedChanged); // // groupBoxWMSLayers // this.groupBoxWMSLayers.Controls.Add(this.treeViewServerLayers); this.groupBoxWMSLayers.Controls.Add(this.textBoxStyle); this.groupBoxWMSLayers.Controls.Add(this.labelStyle); this.groupBoxWMSLayers.Controls.Add(this.comboBoxStyle); this.groupBoxWMSLayers.Controls.Add(this.buttonAdd); this.groupBoxWMSLayers.Location = new System.Drawing.Point(8, 88); this.groupBoxWMSLayers.Name = "groupBoxWMSLayers"; this.groupBoxWMSLayers.Size = new System.Drawing.Size(264, 488); this.groupBoxWMSLayers.TabIndex = 26; this.groupBoxWMSLayers.TabStop = false; this.groupBoxWMSLayers.Text = "Available WMS Layers"; // // treeViewServerLayers // this.treeViewServerLayers.HideSelection = false; this.treeViewServerLayers.ImageIndex = -1; this.treeViewServerLayers.Location = new System.Drawing.Point(8, 24); this.treeViewServerLayers.Name = "treeViewServerLayers"; this.treeViewServerLayers.SelectedImageIndex = -1; this.treeViewServerLayers.Size = new System.Drawing.Size(250, 336); this.treeViewServerLayers.TabIndex = 20; this.treeViewServerLayers.EnabledChanged += new System.EventHandler(this.treeViewServerLayers_EnabledChanged); this.treeViewServerLayers.DoubleClick += new System.EventHandler(this.treeViewServerLayers_DoubleClick); this.treeViewServerLayers.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewServerLayers_AfterSelect); // // textBoxStyle // this.textBoxStyle.Location = new System.Drawing.Point(8, 448); this.textBoxStyle.Name = "textBoxStyle"; this.textBoxStyle.ReadOnly = true; this.textBoxStyle.Size = new System.Drawing.Size(248, 20); this.textBoxStyle.TabIndex = 17; this.textBoxStyle.Text = ""; // // labelStyle // this.labelStyle.Location = new System.Drawing.Point(16, 408); this.labelStyle.Name = "labelStyle"; this.labelStyle.Size = new System.Drawing.Size(48, 23); this.labelStyle.TabIndex = 16; this.labelStyle.Text = "St&yle:"; // // comboBoxStyle // this.comboBoxStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxStyle.Location = new System.Drawing.Point(72, 408); this.comboBoxStyle.Name = "comboBoxStyle"; this.comboBoxStyle.Size = new System.Drawing.Size(176, 21); this.comboBoxStyle.TabIndex = 15; // // buttonAdd // this.buttonAdd.Enabled = false; this.buttonAdd.Location = new System.Drawing.Point(72, 376); this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.TabIndex = 11; this.buttonAdd.Text = "&Add>>"; this.buttonAdd.Click += new System.EventHandler(this.buttonAdd_Click); // // listBoxClientLayers // this.listBoxClientLayers.AllowDrop = true; this.listBoxClientLayers.Location = new System.Drawing.Point(608, 112); this.listBoxClientLayers.Name = "listBoxClientLayers"; this.listBoxClientLayers.Size = new System.Drawing.Size(250, 225); this.listBoxClientLayers.TabIndex = 19; this.listBoxClientLayers.EnabledChanged += new System.EventHandler(this.listBoxTableLayers_EnabledChanged); this.listBoxClientLayers.SelectedIndexChanged += new System.EventHandler(this.listBoxTableLayers_SelectedIndexChanged); // // buttonMoveDown // this.buttonMoveDown.Enabled = false; this.buttonMoveDown.Location = new System.Drawing.Point(696, 488); this.buttonMoveDown.Name = "buttonMoveDown"; this.buttonMoveDown.TabIndex = 14; this.buttonMoveDown.Text = "Move &Down"; this.buttonMoveDown.Click += new System.EventHandler(this.buttonMoveDown_Click); // // buttonMoveUp // this.buttonMoveUp.Enabled = false; this.buttonMoveUp.Location = new System.Drawing.Point(696, 456); this.buttonMoveUp.Name = "buttonMoveUp"; this.buttonMoveUp.TabIndex = 13; this.buttonMoveUp.Text = "Move &Up"; this.buttonMoveUp.Click += new System.EventHandler(this.buttonMoveUp_Click); // // buttonRemove // this.buttonRemove.Enabled = false; this.buttonRemove.Location = new System.Drawing.Point(696, 424); this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.TabIndex = 12; this.buttonRemove.Text = "&Remove<<"; this.buttonRemove.Click += new System.EventHandler(this.buttonRemove_Click); // // mapControlWms // this.mapControlWms.Location = new System.Drawing.Point(288, 120); this.mapControlWms.Name = "mapControlWms"; this.mapControlWms.Size = new System.Drawing.Size(300, 300); this.mapControlWms.TabIndex = 31; this.mapControlWms.TabStop = false; this.mapControlWms.Text = "mapControlWms"; this.mapControlWms.Tools.LeftButtonTool = "Arrow"; // // groupBoxWmsClient // this.groupBoxWmsClient.Controls.Add(this.comboBoxLayerStyle); this.groupBoxWmsClient.Controls.Add(this.labelLayerStyle); this.groupBoxWmsClient.Controls.Add(this.textBoxLayerStyle); this.groupBoxWmsClient.Location = new System.Drawing.Point(600, 88); this.groupBoxWmsClient.Name = "groupBoxWmsClient"; this.groupBoxWmsClient.Size = new System.Drawing.Size(264, 448); this.groupBoxWmsClient.TabIndex = 32; this.groupBoxWmsClient.TabStop = false; this.groupBoxWmsClient.Text = "Layer Control"; // // comboBoxLayerStyle // this.comboBoxLayerStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxLayerStyle.Location = new System.Drawing.Point(80, 264); this.comboBoxLayerStyle.Name = "comboBoxLayerStyle"; this.comboBoxLayerStyle.Size = new System.Drawing.Size(121, 21); this.comboBoxLayerStyle.TabIndex = 33; this.comboBoxLayerStyle.SelectedIndexChanged += new System.EventHandler(this.comboBoxLayerStyle_SelectedIndexChanged); // // labelLayerStyle // this.labelLayerStyle.Location = new System.Drawing.Point(16, 264); this.labelLayerStyle.Name = "labelLayerStyle"; this.labelLayerStyle.Size = new System.Drawing.Size(48, 23); this.labelLayerStyle.TabIndex = 33; this.labelLayerStyle.Text = "St&yle:"; // // textBoxLayerStyle // this.textBoxLayerStyle.Location = new System.Drawing.Point(8, 296); this.textBoxLayerStyle.Name = "textBoxLayerStyle"; this.textBoxLayerStyle.ReadOnly = true; this.textBoxLayerStyle.Size = new System.Drawing.Size(248, 20); this.textBoxLayerStyle.TabIndex = 33; this.textBoxLayerStyle.Text = ""; // // textBoxVersion // this.textBoxVersion.Location = new System.Drawing.Point(728, 48); this.textBoxVersion.Name = "textBoxVersion"; this.textBoxVersion.ReadOnly = true; this.textBoxVersion.TabIndex = 33; this.textBoxVersion.Text = ""; // // toolBarMap // this.toolBarMap.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.toolBarButtonZoomIn, this.toolBarButtonZoomOut, this.toolBarButtonPan}); this.toolBarMap.Dock = System.Windows.Forms.DockStyle.None; this.toolBarMap.DropDownArrows = true; this.toolBarMap.ImageList = this.imageListTools; this.toolBarMap.Location = new System.Drawing.Point(288, 80); this.toolBarMap.Name = "toolBarMap"; this.toolBarMap.ShowToolTips = true; this.toolBarMap.Size = new System.Drawing.Size(296, 28); this.toolBarMap.TabIndex = 34; this.toolBarMap.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBarMap_ButtonClick); // // toolBarButtonZoomIn // this.toolBarButtonZoomIn.Pushed = true; this.toolBarButtonZoomIn.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonZoomIn.Tag = "ZoomIn"; this.toolBarButtonZoomIn.ToolTipText = "Zoom In"; // // toolBarButtonZoomOut // this.toolBarButtonZoomOut.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonZoomOut.Tag = "ZoomOut"; this.toolBarButtonZoomOut.ToolTipText = "Zoom Out"; // // toolBarButtonPan // this.toolBarButtonPan.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonPan.Tag = "Pan"; this.toolBarButtonPan.ToolTipText = "Pan"; // // imageListTools // this.imageListTools.ColorDepth = System.Windows.Forms.ColorDepth.Depth4Bit; this.imageListTools.ImageSize = new System.Drawing.Size(18, 16); this.imageListTools.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListTools.ImageStream"))); this.imageListTools.TransparentColor = System.Drawing.Color.Transparent; // // buttonViewEntire // this.buttonViewEntire.Location = new System.Drawing.Point(480, 480); this.buttonViewEntire.Name = "buttonViewEntire"; this.buttonViewEntire.TabIndex = 34; this.buttonViewEntire.Text = "View Entire"; this.buttonViewEntire.Click += new System.EventHandler(this.buttonViewEntire_Click); // // formWmsPreview // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(872, 646); this.Controls.Add(this.toolBarMap); this.Controls.Add(this.textBoxVersion); this.Controls.Add(this.mapControlWms); this.Controls.Add(this.textBoxURL); this.Controls.Add(this.comboBoxImageFormat); this.Controls.Add(this.labelImageFormat); this.Controls.Add(this.comboBoxServers); this.Controls.Add(this.labelServerURL); this.Controls.Add(this.labelWMSServer); this.Controls.Add(this.groupBoxCRS); this.Controls.Add(this.groupBoxImageBackground); this.Controls.Add(this.groupBoxWMSLayers); this.Controls.Add(this.buttonRemove); this.Controls.Add(this.buttonMoveUp); this.Controls.Add(this.buttonMoveDown); this.Controls.Add(this.listBoxClientLayers); this.Controls.Add(this.groupBoxWmsClient); this.Controls.Add(this.buttonViewEntire); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "formWmsPreview"; this.Text = "WMS Preview"; this.groupBoxCRS.ResumeLayout(false); this.groupBoxImageBackground.ResumeLayout(false); this.groupBoxWMSLayers.ResumeLayout(false); this.groupBoxWmsClient.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.layerControl1 = new MapInfo.Windows.Controls.LayerControl(); this.mapControl1 = new MapInfo.Windows.Controls.MapControl(); this.checkBoxShowAddButton = new System.Windows.Forms.CheckBox(); this.checkBoxToolTips = new System.Windows.Forms.CheckBox(); this.checkBoxShowMapNode = new System.Windows.Forms.CheckBox(); this.checkBoxConfirmationPrompt = new System.Windows.Forms.CheckBox(); this.buttonLabelLayers = new System.Windows.Forms.Button(); this.buttonDisableRemovals = new System.Windows.Forms.Button(); this.buttonDisableMapViewTab = new System.Windows.Forms.Button(); this.buttonRemoveMapViewTab = new System.Windows.Forms.Button(); this.buttonAddMenuItem = new System.Windows.Forms.Button(); this.buttonCustomStyleTab = new System.Windows.Forms.Button(); this.checkBoxShowContextMenu = new MapInfo.Windows.Controls.CheckBox(); this.SuspendLayout(); // // layerControl1 // this.layerControl1.AllowRenaming = true; this.layerControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.layerControl1.ConfirmLayerRemoval = true; this.layerControl1.EditNameAfterInsertingLayer = true; this.layerControl1.Location = new System.Drawing.Point(8, 8); this.layerControl1.Map = null; this.layerControl1.Name = "layerControl1"; this.layerControl1.ShowContextMenu = true; this.layerControl1.ShowMapNode = true; //this.layerControl1.ShowPredominantGeometryType = true; this.layerControl1.Size = new System.Drawing.Size(285, 440); this.layerControl1.TabIndex = 0; this.layerControl1.UpdateWhenCollectionChanges = true; this.layerControl1.UpdateWhenMapViewChanges = true; // // mapControl1 // this.mapControl1.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.mapControl1.Location = new System.Drawing.Point(301, 8); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(347, 208); this.mapControl1.TabIndex = 1; this.mapControl1.Text = "mapControl1"; this.mapControl1.Tools.LeftButtonTool = "Arrow"; this.mapControl1.Tools.MiddleButtonTool = "Pan"; // // checkBoxShowAddButton // this.checkBoxShowAddButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.checkBoxShowAddButton.Checked = true; this.checkBoxShowAddButton.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBoxShowAddButton.Location = new System.Drawing.Point(304, 224); this.checkBoxShowAddButton.Name = "checkBoxShowAddButton"; this.checkBoxShowAddButton.Size = new System.Drawing.Size(336, 24); this.checkBoxShowAddButton.TabIndex = 5; this.checkBoxShowAddButton.Text = "Show the Add button on the Layer Control toolbar"; this.checkBoxShowAddButton.CheckedChanged += new System.EventHandler(this.checkBoxShowAddButton_CheckedChanged); // // checkBoxToolTips // this.checkBoxToolTips.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.checkBoxToolTips.Checked = true; this.checkBoxToolTips.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBoxToolTips.Location = new System.Drawing.Point(304, 248); this.checkBoxToolTips.Name = "checkBoxToolTips"; this.checkBoxToolTips.Size = new System.Drawing.Size(336, 24); this.checkBoxToolTips.TabIndex = 10; this.checkBoxToolTips.Text = "Show ToolTips over the layers tree"; this.checkBoxToolTips.CheckedChanged += new System.EventHandler(this.checkBoxToolTips_CheckedChanged); // // checkBoxShowMapNode // this.checkBoxShowMapNode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.checkBoxShowMapNode.Checked = true; this.checkBoxShowMapNode.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBoxShowMapNode.Location = new System.Drawing.Point(304, 272); this.checkBoxShowMapNode.Name = "checkBoxShowMapNode"; this.checkBoxShowMapNode.Size = new System.Drawing.Size(336, 24); this.checkBoxShowMapNode.TabIndex = 15; this.checkBoxShowMapNode.Text = "Show a Map node at the root of the layers tree"; this.checkBoxShowMapNode.CheckedChanged += new System.EventHandler(this.checkBoxShowMapNode_CheckedChanged); // // checkBoxConfirmationPrompt // this.checkBoxConfirmationPrompt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.checkBoxConfirmationPrompt.Checked = true; this.checkBoxConfirmationPrompt.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBoxConfirmationPrompt.Location = new System.Drawing.Point(304, 296); this.checkBoxConfirmationPrompt.Name = "checkBoxConfirmationPrompt"; this.checkBoxConfirmationPrompt.Size = new System.Drawing.Size(336, 24); this.checkBoxConfirmationPrompt.TabIndex = 20; this.checkBoxConfirmationPrompt.Text = "Display \"Do you want to remove...\" confirmation prompts"; this.checkBoxConfirmationPrompt.CheckedChanged += new System.EventHandler(this.checkBoxConfirmationPrompt_CheckedChanged); // // buttonLabelLayers // this.buttonLabelLayers.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonLabelLayers.Location = new System.Drawing.Point(299, 389); this.buttonLabelLayers.Name = "buttonLabelLayers"; this.buttonLabelLayers.Size = new System.Drawing.Size(168, 23); this.buttonLabelLayers.TabIndex = 60; this.buttonLabelLayers.Text = "Simplify LabelLayer nodes..."; this.buttonLabelLayers.Click += new System.EventHandler(this.buttonLabelLayers_Click); // // buttonDisableRemovals // this.buttonDisableRemovals.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonDisableRemovals.Location = new System.Drawing.Point(299, 359); this.buttonDisableRemovals.Name = "buttonDisableRemovals"; this.buttonDisableRemovals.Size = new System.Drawing.Size(168, 23); this.buttonDisableRemovals.TabIndex = 40; this.buttonDisableRemovals.Text = "Disable layer removal..."; this.buttonDisableRemovals.Click += new System.EventHandler(this.buttonDisableRemovals_Click); // // buttonDisableMapViewTab // this.buttonDisableMapViewTab.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonDisableMapViewTab.Location = new System.Drawing.Point(472, 359); this.buttonDisableMapViewTab.Name = "buttonDisableMapViewTab"; this.buttonDisableMapViewTab.Size = new System.Drawing.Size(176, 23); this.buttonDisableMapViewTab.TabIndex = 50; this.buttonDisableMapViewTab.Text = "Disable the Map\'s View tab..."; this.buttonDisableMapViewTab.Click += new System.EventHandler(this.buttonDisableMapViewTab_Click); // // buttonRemoveMapViewTab // this.buttonRemoveMapViewTab.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonRemoveMapViewTab.Location = new System.Drawing.Point(472, 389); this.buttonRemoveMapViewTab.Name = "buttonRemoveMapViewTab"; this.buttonRemoveMapViewTab.Size = new System.Drawing.Size(176, 23); this.buttonRemoveMapViewTab.TabIndex = 70; this.buttonRemoveMapViewTab.Text = "Remove the Map\'s View tab..."; this.buttonRemoveMapViewTab.Click += new System.EventHandler(this.buttonRemoveMapViewTab_Click); // // buttonAddMenuItem // this.buttonAddMenuItem.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonAddMenuItem.Location = new System.Drawing.Point(472, 419); this.buttonAddMenuItem.Name = "buttonAddMenuItem"; this.buttonAddMenuItem.Size = new System.Drawing.Size(177, 23); this.buttonAddMenuItem.TabIndex = 90; this.buttonAddMenuItem.Text = "Add custom menu items..."; this.buttonAddMenuItem.Click += new System.EventHandler(this.buttonAddMenuItem_Click); // // buttonCustomStyleTab // this.buttonCustomStyleTab.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonCustomStyleTab.Location = new System.Drawing.Point(299, 419); this.buttonCustomStyleTab.Name = "buttonCustomStyleTab"; this.buttonCustomStyleTab.Size = new System.Drawing.Size(168, 23); this.buttonCustomStyleTab.TabIndex = 80; this.buttonCustomStyleTab.Text = "Add a custom Map Style tab..."; this.buttonCustomStyleTab.Click += new System.EventHandler(this.buttonCustomStyleTab_Click); // // checkBoxShowContextMenu // this.checkBoxShowContextMenu.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.checkBoxShowContextMenu.Checked = true; this.checkBoxShowContextMenu.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBoxShowContextMenu.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkBoxShowContextMenu.Location = new System.Drawing.Point(305, 319); this.checkBoxShowContextMenu.Name = "checkBoxShowContextMenu"; this.checkBoxShowContextMenu.Size = new System.Drawing.Size(335, 24); this.checkBoxShowContextMenu.TabIndex = 25; this.checkBoxShowContextMenu.Text = "Show context menu when user right-clicks in layer tree"; this.checkBoxShowContextMenu.CheckedChanged += new System.EventHandler(this.checkBoxContextMenuChanged); // // LayerControlDemoForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(656, 454); this.Controls.Add(this.checkBoxShowContextMenu); this.Controls.Add(this.buttonCustomStyleTab); this.Controls.Add(this.buttonAddMenuItem); this.Controls.Add(this.buttonRemoveMapViewTab); this.Controls.Add(this.buttonDisableMapViewTab); this.Controls.Add(this.buttonDisableRemovals); this.Controls.Add(this.buttonLabelLayers); this.Controls.Add(this.checkBoxConfirmationPrompt); this.Controls.Add(this.checkBoxShowMapNode); this.Controls.Add(this.checkBoxToolTips); this.Controls.Add(this.checkBoxShowAddButton); this.Controls.Add(this.mapControl1); this.Controls.Add(this.layerControl1); this.MinimumSize = new System.Drawing.Size(660, 470); this.Name = "LayerControlDemoForm"; this.Text = "Layer Control Demo"; 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.panelMapBorder = new System.Windows.Forms.Panel(); this.txtResults = new System.Windows.Forms.TextBox(); this.toolBar1 = new System.Windows.Forms.ToolBar(); this.toolBarButtonAddPoint = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonAddLine = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonAddPolyline = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonAddPolygon = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonAddCircle = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonAddRectangle = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonAddEllipse = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonAddText = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonSepCustomTools = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonArrow = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonCustomPoint = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonCustomLine = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonCustomArc = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonCustomPolyline = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonCustomPolygon = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonCustomCircle = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonCustomRectangle = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonCustomEllipse = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonSepPushButtons = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonFileOpen = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonLayerControl = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonSepViewTools = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonZoomIn = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonZoomOut = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonPan = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonCenter = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonLabel = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonSepSelectTools = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonSelect = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonSelectRect = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonSelectRadius = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonSelectPolygon = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonSelectRegion = new System.Windows.Forms.ToolBarButton(); this.lblEventsFired = new System.Windows.Forms.Label(); this.comboCancelActivation = new System.Windows.Forms.ComboBox(); this.lblCancelActivation = new System.Windows.Forms.Label(); this.comboCancelToolEnding = new System.Windows.Forms.ComboBox(); this.lblCancelUse = new System.Windows.Forms.Label(); this.btnRegions = new System.Windows.Forms.Button(); this.btnPoints = new System.Windows.Forms.Button(); this.btnLines = new System.Windows.Forms.Button(); this.btnClearMap = new System.Windows.Forms.Button(); this.statusBar1 = new ToolsAppCS.LayerFilterStatusBar(); this.statusBarPanelZoom = new System.Windows.Forms.StatusBarPanel(); this.lblNumObjects = new System.Windows.Forms.Label(); this.txtNumObjects = new System.Windows.Forms.TextBox(); this.chkCancelSelect = new System.Windows.Forms.CheckBox(); this.chkCancelNodeEdit = new System.Windows.Forms.CheckBox(); this.lblNumSelected = new System.Windows.Forms.Label(); this.txtNumSelected = new System.Windows.Forms.TextBox(); this.chkCancelObjChanges = new System.Windows.Forms.CheckBox(); this.chkCancelObjAdd = new System.Windows.Forms.CheckBox(); this.comboWheelMode = new System.Windows.Forms.ComboBox(); this.chkCancelLabel = new System.Windows.Forms.CheckBox(); this.chkEventCtrls = new System.Windows.Forms.CheckBox(); this.lblWheelMode = new System.Windows.Forms.Label(); this.panelMapBorder.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanelZoom)).BeginInit(); 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(440, 289); this.mapControl1.TabIndex = 8; this.mapControl1.Text = "mapControl1"; this.mapControl1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.MapForm1_KeyPress); this.mapControl1.MouseEnter += new System.EventHandler(this.mapControl1_MouseEnter); this.mapControl1.MouseLeave += new System.EventHandler(this.mapControl1_MouseLeave); // // panelMapBorder // this.panelMapBorder.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.panelMapBorder.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panelMapBorder.Controls.Add(this.mapControl1); this.panelMapBorder.Location = new System.Drawing.Point(4, 128); this.panelMapBorder.Name = "panelMapBorder"; this.panelMapBorder.Size = new System.Drawing.Size(444, 293); this.panelMapBorder.TabIndex = 14; // // txtResults // this.txtResults.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.txtResults.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtResults.Location = new System.Drawing.Point(456, 128); this.txtResults.Multiline = true; this.txtResults.Name = "txtResults"; this.txtResults.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.txtResults.Size = new System.Drawing.Size(223, 293); this.txtResults.TabIndex = 9; this.txtResults.TabStop = false; this.txtResults.Text = ""; // // toolBar1 // this.toolBar1.AutoSize = false; this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.toolBarButtonAddPoint, this.toolBarButtonAddLine, this.toolBarButtonAddPolyline, this.toolBarButtonAddPolygon, this.toolBarButtonAddCircle, this.toolBarButtonAddRectangle, this.toolBarButtonAddEllipse, this.toolBarButtonAddText, this.toolBarButtonSepCustomTools, this.toolBarButtonArrow, this.toolBarButtonCustomPoint, this.toolBarButtonCustomLine, this.toolBarButtonCustomArc, this.toolBarButtonCustomPolyline, this.toolBarButtonCustomPolygon, this.toolBarButtonCustomCircle, this.toolBarButtonCustomRectangle, this.toolBarButtonCustomEllipse, this.toolBarButtonSepPushButtons, this.toolBarButtonFileOpen, this.toolBarButtonLayerControl, this.toolBarButtonSepViewTools, this.toolBarButtonZoomIn, this.toolBarButtonZoomOut, this.toolBarButtonPan, this.toolBarButtonCenter, this.toolBarButtonLabel, this.toolBarButtonSepSelectTools, this.toolBarButtonSelect, this.toolBarButtonSelectRect, this.toolBarButtonSelectRadius, this.toolBarButtonSelectPolygon, this.toolBarButtonSelectRegion}); this.toolBar1.ButtonSize = new System.Drawing.Size(25, 22); this.toolBar1.Divider = false; this.toolBar1.Dock = System.Windows.Forms.DockStyle.None; this.toolBar1.DropDownArrows = true; this.toolBar1.Location = new System.Drawing.Point(8, 0); this.toolBar1.Name = "toolBar1"; this.toolBar1.ShowToolTips = true; this.toolBar1.Size = new System.Drawing.Size(448, 56); this.toolBar1.TabIndex = 1; this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick); // // toolBarButtonAddPoint // this.toolBarButtonAddPoint.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonAddPoint.Tag = "AddPoint"; this.toolBarButtonAddPoint.ToolTipText = "Add Point"; // // toolBarButtonAddLine // this.toolBarButtonAddLine.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonAddLine.Tag = "AddLine"; this.toolBarButtonAddLine.ToolTipText = "Add Line"; // // toolBarButtonAddPolyline // this.toolBarButtonAddPolyline.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonAddPolyline.Tag = "AddPolyline"; this.toolBarButtonAddPolyline.ToolTipText = "Add Polyline"; // // toolBarButtonAddPolygon // this.toolBarButtonAddPolygon.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonAddPolygon.Tag = "AddPolygon"; this.toolBarButtonAddPolygon.ToolTipText = "Add Polygon"; // // toolBarButtonAddCircle // this.toolBarButtonAddCircle.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonAddCircle.Tag = "AddCircle"; this.toolBarButtonAddCircle.ToolTipText = "Add Circle"; // // toolBarButtonAddRectangle // this.toolBarButtonAddRectangle.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonAddRectangle.Tag = "AddRectangle"; this.toolBarButtonAddRectangle.ToolTipText = "Add Rectangle"; // // toolBarButtonAddEllipse // this.toolBarButtonAddEllipse.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonAddEllipse.Tag = "AddEllipse"; this.toolBarButtonAddEllipse.ToolTipText = "Add Ellipse"; // // toolBarButtonAddText // this.toolBarButtonAddText.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonAddText.Tag = "AddText"; this.toolBarButtonAddText.ToolTipText = "Add Text"; // // toolBarButtonSepCustomTools // this.toolBarButtonSepCustomTools.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarButtonArrow // this.toolBarButtonArrow.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonArrow.Tag = "Arrow"; this.toolBarButtonArrow.ToolTipText = "Arrow"; // // toolBarButtonCustomPoint // this.toolBarButtonCustomPoint.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonCustomPoint.Tag = "CustomPoint"; this.toolBarButtonCustomPoint.ToolTipText = "Custom Point"; // // toolBarButtonCustomLine // this.toolBarButtonCustomLine.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonCustomLine.Tag = "CustomLine"; this.toolBarButtonCustomLine.ToolTipText = "Custom Line"; // // toolBarButtonCustomArc // this.toolBarButtonCustomArc.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonCustomArc.Tag = "CustomArc"; this.toolBarButtonCustomArc.ToolTipText = "Custom Arc"; // // toolBarButtonCustomPolyline // this.toolBarButtonCustomPolyline.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonCustomPolyline.Tag = "CustomPolyline"; this.toolBarButtonCustomPolyline.ToolTipText = "Custom Polyline"; // // toolBarButtonCustomPolygon // this.toolBarButtonCustomPolygon.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonCustomPolygon.Tag = "CustomPolygon"; this.toolBarButtonCustomPolygon.ToolTipText = "Custom Polygon"; // // toolBarButtonCustomCircle // this.toolBarButtonCustomCircle.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonCustomCircle.Tag = "CustomCircle"; this.toolBarButtonCustomCircle.ToolTipText = "Custom Circle"; // // toolBarButtonCustomRectangle // this.toolBarButtonCustomRectangle.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonCustomRectangle.Tag = "CustomRectangle"; this.toolBarButtonCustomRectangle.ToolTipText = "Custom Rectangle"; // // toolBarButtonCustomEllipse // this.toolBarButtonCustomEllipse.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonCustomEllipse.Tag = "CustomEllipse"; this.toolBarButtonCustomEllipse.ToolTipText = "Custom Ellipse"; // // toolBarButtonSepPushButtons // this.toolBarButtonSepPushButtons.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarButtonFileOpen // this.toolBarButtonFileOpen.ToolTipText = "Open Table"; // // toolBarButtonLayerControl // this.toolBarButtonLayerControl.Enabled = false; this.toolBarButtonLayerControl.ToolTipText = "Layer Control"; // // toolBarButtonSepViewTools // this.toolBarButtonSepViewTools.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarButtonZoomIn // this.toolBarButtonZoomIn.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonZoomIn.Tag = "ZoomIn"; this.toolBarButtonZoomIn.ToolTipText = "Zoom In"; // // toolBarButtonZoomOut // this.toolBarButtonZoomOut.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonZoomOut.Tag = "ZoomOut"; this.toolBarButtonZoomOut.ToolTipText = "Zoom Out"; // // toolBarButtonPan // this.toolBarButtonPan.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonPan.Tag = "Pan"; this.toolBarButtonPan.ToolTipText = "Pan"; // // toolBarButtonCenter // this.toolBarButtonCenter.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonCenter.Tag = "Center"; this.toolBarButtonCenter.ToolTipText = "Center Tool"; // // toolBarButtonLabel // this.toolBarButtonLabel.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonLabel.Tag = "Label"; this.toolBarButtonLabel.ToolTipText = "Label Tool"; // // toolBarButtonSepSelectTools // this.toolBarButtonSepSelectTools.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarButtonSelect // this.toolBarButtonSelect.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonSelect.Tag = "Select"; this.toolBarButtonSelect.ToolTipText = "Select"; // // toolBarButtonSelectRect // this.toolBarButtonSelectRect.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonSelectRect.Tag = "SelectRect"; this.toolBarButtonSelectRect.ToolTipText = "Select Rectangle"; // // toolBarButtonSelectRadius // this.toolBarButtonSelectRadius.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonSelectRadius.Tag = "SelectRadius"; this.toolBarButtonSelectRadius.ToolTipText = "Select Radius"; // // toolBarButtonSelectPolygon // this.toolBarButtonSelectPolygon.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonSelectPolygon.Tag = "SelectPolygon"; this.toolBarButtonSelectPolygon.ToolTipText = "Select Polygon"; // // toolBarButtonSelectRegion // this.toolBarButtonSelectRegion.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonSelectRegion.Tag = "SelectRegion"; this.toolBarButtonSelectRegion.ToolTipText = "Select Region"; // // lblEventsFired // this.lblEventsFired.Location = new System.Drawing.Point(456, 112); this.lblEventsFired.Name = "lblEventsFired"; this.lblEventsFired.Size = new System.Drawing.Size(80, 16); this.lblEventsFired.TabIndex = 13; this.lblEventsFired.Text = "Events fired:"; // // comboCancelActivation // this.comboCancelActivation.DisplayMember = "<None>"; this.comboCancelActivation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboCancelActivation.Items.AddRange(new object[] { "<None>", "ZoomIn", "ZoomOut", "Pan", "Center", "Label", "Select", "SelectPolygon", "SelectRadius", "SelectRect", "SelectRegion", "AddPoint", "AddLine", "AddPolyline", "AddPolygon", "AddCircle", "AddRectangle", "AddEllipse", "AddText", "Arrow", "CustomPoint", "CustomLine", "CustomArc", "CustomPolyline", "CustomPolygon", "CustomCircle", "CustomRectangle", "CustomEllipse", "CustomizedSelectRect", "AddLineDistance", "LocationTool"}); this.comboCancelActivation.Location = new System.Drawing.Point(112, 80); this.comboCancelActivation.Name = "comboCancelActivation"; this.comboCancelActivation.Size = new System.Drawing.Size(88, 21); this.comboCancelActivation.TabIndex = 3; this.comboCancelActivation.ValueMember = "<None>"; this.comboCancelActivation.Visible = false; // // lblCancelActivation // this.lblCancelActivation.Location = new System.Drawing.Point(8, 80); this.lblCancelActivation.Name = "lblCancelActivation"; this.lblCancelActivation.Size = new System.Drawing.Size(128, 20); this.lblCancelActivation.TabIndex = 11; this.lblCancelActivation.Text = "Cancel activation for:"; this.lblCancelActivation.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.lblCancelActivation.Visible = false; // // comboCancelToolEnding // this.comboCancelToolEnding.DisplayMember = "<None>"; this.comboCancelToolEnding.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboCancelToolEnding.Items.AddRange(new object[] { "<None>", "ZoomIn", "ZoomOut", "Pan", "Center", "Label", "Select", "SelectPolygon", "SelectRadius", "SelectRect", "SelectRegion", "AddPoint", "AddLine", "AddPolyline", "AddPolygon", "AddCircle", "AddRectangle", "AddEllipse", "AddText", "Arrow", "CustomPoint", "CustomLine", "CustomArc", "CustomPolyline", "CustomPolygon", "CustomCircle", "CustomRectangle", "CustomEllipse", "CustomizedSelectRect", "AddLineDistance", "LocationTool"}); this.comboCancelToolEnding.Location = new System.Drawing.Point(112, 104); this.comboCancelToolEnding.Name = "comboCancelToolEnding"; this.comboCancelToolEnding.Size = new System.Drawing.Size(88, 21); this.comboCancelToolEnding.TabIndex = 8; this.comboCancelToolEnding.ValueMember = "<None>"; this.comboCancelToolEnding.Visible = false; // // lblCancelUse // this.lblCancelUse.Location = new System.Drawing.Point(8, 104); this.lblCancelUse.Name = "lblCancelUse"; this.lblCancelUse.Size = new System.Drawing.Size(88, 20); this.lblCancelUse.TabIndex = 12; this.lblCancelUse.Text = "Cancel use for:"; this.lblCancelUse.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.lblCancelUse.Visible = false; // // btnRegions // this.btnRegions.Location = new System.Drawing.Point(560, 8); this.btnRegions.Name = "btnRegions"; this.btnRegions.Size = new System.Drawing.Size(120, 20); this.btnRegions.TabIndex = 4; this.btnRegions.Text = "Add Regions Table"; this.btnRegions.Click += new System.EventHandler(this.btnRegions_Click); // // btnPoints // this.btnPoints.Location = new System.Drawing.Point(560, 56); this.btnPoints.Name = "btnPoints"; this.btnPoints.Size = new System.Drawing.Size(120, 20); this.btnPoints.TabIndex = 5; this.btnPoints.Text = "Add Points Table"; this.btnPoints.Click += new System.EventHandler(this.btnPoints_Click); // // btnLines // this.btnLines.Location = new System.Drawing.Point(560, 32); this.btnLines.Name = "btnLines"; this.btnLines.Size = new System.Drawing.Size(120, 20); this.btnLines.TabIndex = 6; this.btnLines.Text = "Add Lines Table"; this.btnLines.Click += new System.EventHandler(this.btnLines_Click); // // btnClearMap // this.btnClearMap.Location = new System.Drawing.Point(456, 56); this.btnClearMap.Name = "btnClearMap"; this.btnClearMap.Size = new System.Drawing.Size(96, 20); this.btnClearMap.TabIndex = 2; this.btnClearMap.Text = "Clear Map"; this.btnClearMap.Click += new System.EventHandler(this.btnClearMap_Click); // // statusBar1 // this.statusBar1.EditableLayerFilter = null; this.statusBar1.EditPanelWidth = 150; this.statusBar1.InsertionLayerFilter = null; this.statusBar1.InsertionPanelWidth = 150; this.statusBar1.Layers = null; this.statusBar1.Location = new System.Drawing.Point(0, 423); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanelZoom}); this.statusBar1.SelectableLayerFilter = null; this.statusBar1.SelectPanelWidth = 150; this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(688, 22); this.statusBar1.TabIndex = 10; this.statusBar1.Text = "statusBar1"; // // statusBarPanelZoom // this.statusBarPanelZoom.Width = 180; // // lblNumObjects // this.lblNumObjects.Location = new System.Drawing.Point(528, 80); this.lblNumObjects.Name = "lblNumObjects"; this.lblNumObjects.Size = new System.Drawing.Size(120, 20); this.lblNumObjects.TabIndex = 15; this.lblNumObjects.Text = "Objects in Temp table:"; this.lblNumObjects.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtNumObjects // this.txtNumObjects.Location = new System.Drawing.Point(640, 80); this.txtNumObjects.Name = "txtNumObjects"; this.txtNumObjects.ReadOnly = true; this.txtNumObjects.Size = new System.Drawing.Size(40, 20); this.txtNumObjects.TabIndex = 16; this.txtNumObjects.Text = ""; // // chkCancelSelect // this.chkCancelSelect.Location = new System.Drawing.Point(208, 104); this.chkCancelSelect.Name = "chkCancelSelect"; this.chkCancelSelect.Size = new System.Drawing.Size(112, 20); this.chkCancelSelect.TabIndex = 17; this.chkCancelSelect.Text = "Cancel selection"; this.chkCancelSelect.Visible = false; // // chkCancelNodeEdit // this.chkCancelNodeEdit.Location = new System.Drawing.Point(208, 56); this.chkCancelNodeEdit.Name = "chkCancelNodeEdit"; this.chkCancelNodeEdit.Size = new System.Drawing.Size(120, 20); this.chkCancelNodeEdit.TabIndex = 18; this.chkCancelNodeEdit.Text = "Cancel node edits"; this.chkCancelNodeEdit.Visible = false; // // lblNumSelected // this.lblNumSelected.Location = new System.Drawing.Point(528, 104); this.lblNumSelected.Name = "lblNumSelected"; this.lblNumSelected.Size = new System.Drawing.Size(112, 20); this.lblNumSelected.TabIndex = 19; this.lblNumSelected.Text = "Objects in selection:"; this.lblNumSelected.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtNumSelected // this.txtNumSelected.Location = new System.Drawing.Point(640, 104); this.txtNumSelected.Name = "txtNumSelected"; this.txtNumSelected.ReadOnly = true; this.txtNumSelected.Size = new System.Drawing.Size(40, 20); this.txtNumSelected.TabIndex = 20; this.txtNumSelected.Text = ""; // // chkCancelObjChanges // this.chkCancelObjChanges.Location = new System.Drawing.Point(208, 80); this.chkCancelObjChanges.Name = "chkCancelObjChanges"; this.chkCancelObjChanges.Size = new System.Drawing.Size(144, 20); this.chkCancelObjChanges.TabIndex = 21; this.chkCancelObjChanges.Text = "Cancel obj changes"; this.chkCancelObjChanges.Visible = false; // // chkCancelObjAdd // this.chkCancelObjAdd.Location = new System.Drawing.Point(336, 80); this.chkCancelObjAdd.Name = "chkCancelObjAdd"; this.chkCancelObjAdd.Size = new System.Drawing.Size(120, 20); this.chkCancelObjAdd.TabIndex = 22; this.chkCancelObjAdd.Text = "Cancel object add"; this.chkCancelObjAdd.Visible = false; // // comboWheelMode // this.comboWheelMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboWheelMode.Items.AddRange(new object[] { "Disabled", "Zoom Only", "Zoom and Scroll", "Custom Settings"}); this.comboWheelMode.Location = new System.Drawing.Point(96, 56); this.comboWheelMode.Name = "comboWheelMode"; this.comboWheelMode.Size = new System.Drawing.Size(104, 21); this.comboWheelMode.TabIndex = 23; this.comboWheelMode.Visible = false; this.comboWheelMode.SelectedIndexChanged += new System.EventHandler(this.comboWheelMode_SelectedIndexChanged); // // chkCancelLabel // this.chkCancelLabel.Location = new System.Drawing.Point(336, 56); this.chkCancelLabel.Name = "chkCancelLabel"; this.chkCancelLabel.Size = new System.Drawing.Size(120, 20); this.chkCancelLabel.TabIndex = 24; this.chkCancelLabel.Text = "Cancel label add"; this.chkCancelLabel.Visible = false; // // chkEventCtrls // this.chkEventCtrls.Location = new System.Drawing.Point(366, 32); this.chkEventCtrls.Name = "chkEventCtrls"; this.chkEventCtrls.Size = new System.Drawing.Size(184, 16); this.chkEventCtrls.TabIndex = 25; this.chkEventCtrls.Text = "Show Advanced Event Settings"; this.chkEventCtrls.CheckedChanged += new System.EventHandler(this.chkEventCtrls_CheckedChanged); // // lblWheelMode // this.lblWheelMode.Location = new System.Drawing.Point(8, 56); this.lblWheelMode.Name = "lblWheelMode"; this.lblWheelMode.Size = new System.Drawing.Size(80, 16); this.lblWheelMode.TabIndex = 26; this.lblWheelMode.Text = "MouseWheel:"; this.lblWheelMode.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.lblWheelMode.Visible = false; // // MapForm1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(688, 445); this.Controls.Add(this.chkEventCtrls); this.Controls.Add(this.chkCancelLabel); this.Controls.Add(this.comboWheelMode); this.Controls.Add(this.chkCancelObjAdd); this.Controls.Add(this.txtNumSelected); this.Controls.Add(this.txtNumObjects); this.Controls.Add(this.txtResults); this.Controls.Add(this.lblNumSelected); this.Controls.Add(this.chkCancelNodeEdit); this.Controls.Add(this.chkCancelSelect); this.Controls.Add(this.lblNumObjects); this.Controls.Add(this.statusBar1); this.Controls.Add(this.btnClearMap); this.Controls.Add(this.btnLines); this.Controls.Add(this.btnPoints); this.Controls.Add(this.btnRegions); this.Controls.Add(this.comboCancelToolEnding); this.Controls.Add(this.lblCancelUse); this.Controls.Add(this.toolBar1); this.Controls.Add(this.comboCancelActivation); this.Controls.Add(this.lblCancelActivation); this.Controls.Add(this.panelMapBorder); this.Controls.Add(this.lblEventsFired); this.Controls.Add(this.chkCancelObjChanges); this.Controls.Add(this.lblWheelMode); this.MinimumSize = new System.Drawing.Size(696, 350); this.Name = "MapForm1"; this.Text = "Desktop Tools Sample"; this.Resize += new System.EventHandler(this.MapForm1_Resize); this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.MapForm1_KeyPress); this.panelMapBorder.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanelZoom)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(formWmsPreview)); this.textBoxURL = new System.Windows.Forms.TextBox(); this.comboBoxImageFormat = new System.Windows.Forms.ComboBox(); this.labelImageFormat = new System.Windows.Forms.Label(); this.comboBoxServers = new System.Windows.Forms.ComboBox(); this.labelServerURL = new System.Windows.Forms.Label(); this.labelWMSServer = new System.Windows.Forms.Label(); this.groupBoxCRS = new System.Windows.Forms.GroupBox(); this.comboBoxProjection = new System.Windows.Forms.ComboBox(); this.textBoxSrsDescription = new System.Windows.Forms.TextBox(); this.groupBoxImageBackground = new System.Windows.Forms.GroupBox(); this.pictureBoxColor = new System.Windows.Forms.PictureBox(); this.checkBoxTransparent = new System.Windows.Forms.CheckBox(); this.groupBoxWMSLayers = new System.Windows.Forms.GroupBox(); this.treeViewServerLayers = new System.Windows.Forms.TreeView(); this.textBoxStyle = new System.Windows.Forms.TextBox(); this.labelStyle = new System.Windows.Forms.Label(); this.comboBoxStyle = new System.Windows.Forms.ComboBox(); this.buttonAdd = new System.Windows.Forms.Button(); this.listBoxClientLayers = new System.Windows.Forms.ListBox(); this.buttonMoveDown = new System.Windows.Forms.Button(); this.buttonMoveUp = new System.Windows.Forms.Button(); this.buttonRemove = new System.Windows.Forms.Button(); this.mapControlWms = new MapInfo.Windows.Controls.MapControl(); this.groupBoxWmsClient = new System.Windows.Forms.GroupBox(); this.comboBoxLayerStyle = new System.Windows.Forms.ComboBox(); this.labelLayerStyle = new System.Windows.Forms.Label(); this.textBoxLayerStyle = new System.Windows.Forms.TextBox(); this.textBoxVersion = new System.Windows.Forms.TextBox(); this.toolBarMap = new System.Windows.Forms.ToolBar(); this.toolBarButtonZoomIn = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonZoomOut = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonPan = new System.Windows.Forms.ToolBarButton(); this.imageListTools = new System.Windows.Forms.ImageList(this.components); this.buttonViewEntire = new System.Windows.Forms.Button(); this.groupBoxCRS.SuspendLayout(); this.groupBoxImageBackground.SuspendLayout(); this.groupBoxWMSLayers.SuspendLayout(); this.groupBoxWmsClient.SuspendLayout(); this.SuspendLayout(); // // textBoxURL // this.textBoxURL.Location = new System.Drawing.Point(112, 48); this.textBoxURL.Name = "textBoxURL"; this.textBoxURL.ReadOnly = true; this.textBoxURL.Size = new System.Drawing.Size(600, 20); this.textBoxURL.TabIndex = 23; this.textBoxURL.Text = ""; // // comboBoxImageFormat // this.comboBoxImageFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxImageFormat.Location = new System.Drawing.Point(384, 432); this.comboBoxImageFormat.Name = "comboBoxImageFormat"; this.comboBoxImageFormat.Size = new System.Drawing.Size(121, 21); this.comboBoxImageFormat.Sorted = true; this.comboBoxImageFormat.TabIndex = 28; this.comboBoxImageFormat.SelectedIndexChanged += new System.EventHandler(this.comboBoxImageFormat_SelectedIndexChanged); // // labelImageFormat // this.labelImageFormat.Location = new System.Drawing.Point(296, 432); this.labelImageFormat.Name = "labelImageFormat"; this.labelImageFormat.Size = new System.Drawing.Size(88, 23); this.labelImageFormat.TabIndex = 27; this.labelImageFormat.Text = "&Image Format:"; // // comboBoxServers // this.comboBoxServers.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxServers.Location = new System.Drawing.Point(112, 16); this.comboBoxServers.Name = "comboBoxServers"; this.comboBoxServers.Size = new System.Drawing.Size(600, 21); this.comboBoxServers.Sorted = true; this.comboBoxServers.TabIndex = 22; this.comboBoxServers.SelectedIndexChanged += new System.EventHandler(this.comboBoxServers_SelectedIndexChanged); // // labelServerURL // this.labelServerURL.Location = new System.Drawing.Point(16, 48); this.labelServerURL.Name = "labelServerURL"; this.labelServerURL.Size = new System.Drawing.Size(88, 23); this.labelServerURL.TabIndex = 18; this.labelServerURL.Text = "Ser&ver URL:"; // // labelWMSServer // this.labelWMSServer.Location = new System.Drawing.Point(16, 16); this.labelWMSServer.Name = "labelWMSServer"; this.labelWMSServer.Size = new System.Drawing.Size(88, 23); this.labelWMSServer.TabIndex = 17; this.labelWMSServer.Text = "&WMS Server:"; // // groupBoxCRS // this.groupBoxCRS.Controls.Add(this.comboBoxProjection); this.groupBoxCRS.Controls.Add(this.textBoxSrsDescription); this.groupBoxCRS.Location = new System.Drawing.Point(286, 536); this.groupBoxCRS.Name = "groupBoxCRS"; this.groupBoxCRS.Size = new System.Drawing.Size(300, 96); this.groupBoxCRS.TabIndex = 30; this.groupBoxCRS.TabStop = false; this.groupBoxCRS.Text = "Coordinate Reference System:"; // // comboBoxProjection // this.comboBoxProjection.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxProjection.Location = new System.Drawing.Point(16, 24); this.comboBoxProjection.Name = "comboBoxProjection"; this.comboBoxProjection.Size = new System.Drawing.Size(224, 21); this.comboBoxProjection.Sorted = true; this.comboBoxProjection.TabIndex = 0; this.comboBoxProjection.SelectedIndexChanged += new System.EventHandler(this.comboBoxProjection_SelectedIndexChanged); // // textBoxSrsDescription // this.textBoxSrsDescription.Location = new System.Drawing.Point(8, 64); this.textBoxSrsDescription.Name = "textBoxSrsDescription"; this.textBoxSrsDescription.ReadOnly = true; this.textBoxSrsDescription.Size = new System.Drawing.Size(280, 20); this.textBoxSrsDescription.TabIndex = 3; this.textBoxSrsDescription.Text = ""; // // groupBoxImageBackground // this.groupBoxImageBackground.Controls.Add(this.pictureBoxColor); this.groupBoxImageBackground.Controls.Add(this.checkBoxTransparent); this.groupBoxImageBackground.Location = new System.Drawing.Point(288, 464); this.groupBoxImageBackground.Name = "groupBoxImageBackground"; this.groupBoxImageBackground.Size = new System.Drawing.Size(168, 64); this.groupBoxImageBackground.TabIndex = 29; this.groupBoxImageBackground.TabStop = false; this.groupBoxImageBackground.Text = "Image Background:"; // // pictureBoxColor // this.pictureBoxColor.Location = new System.Drawing.Point(120, 16); this.pictureBoxColor.Name = "pictureBoxColor"; this.pictureBoxColor.Size = new System.Drawing.Size(32, 32); this.pictureBoxColor.TabIndex = 2; this.pictureBoxColor.TabStop = false; this.pictureBoxColor.Click += new System.EventHandler(this.pictureBoxColor_Click); // // checkBoxTransparent // this.checkBoxTransparent.Checked = true; this.checkBoxTransparent.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBoxTransparent.Location = new System.Drawing.Point(8, 24); this.checkBoxTransparent.Name = "checkBoxTransparent"; this.checkBoxTransparent.Size = new System.Drawing.Size(96, 24); this.checkBoxTransparent.TabIndex = 0; this.checkBoxTransparent.Text = "&Transparent"; this.checkBoxTransparent.CheckedChanged += new System.EventHandler(this.checkBoxTransparent_CheckedChanged); // // groupBoxWMSLayers // this.groupBoxWMSLayers.Controls.Add(this.treeViewServerLayers); this.groupBoxWMSLayers.Controls.Add(this.textBoxStyle); this.groupBoxWMSLayers.Controls.Add(this.labelStyle); this.groupBoxWMSLayers.Controls.Add(this.comboBoxStyle); this.groupBoxWMSLayers.Controls.Add(this.buttonAdd); this.groupBoxWMSLayers.Location = new System.Drawing.Point(8, 88); this.groupBoxWMSLayers.Name = "groupBoxWMSLayers"; this.groupBoxWMSLayers.Size = new System.Drawing.Size(264, 488); this.groupBoxWMSLayers.TabIndex = 26; this.groupBoxWMSLayers.TabStop = false; this.groupBoxWMSLayers.Text = "Available WMS Layers"; // // treeViewServerLayers // this.treeViewServerLayers.HideSelection = false; this.treeViewServerLayers.ImageIndex = -1; this.treeViewServerLayers.Location = new System.Drawing.Point(8, 24); this.treeViewServerLayers.Name = "treeViewServerLayers"; this.treeViewServerLayers.SelectedImageIndex = -1; this.treeViewServerLayers.Size = new System.Drawing.Size(250, 336); this.treeViewServerLayers.TabIndex = 20; this.treeViewServerLayers.EnabledChanged += new System.EventHandler(this.treeViewServerLayers_EnabledChanged); this.treeViewServerLayers.DoubleClick += new System.EventHandler(this.treeViewServerLayers_DoubleClick); this.treeViewServerLayers.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewServerLayers_AfterSelect); // // textBoxStyle // this.textBoxStyle.Location = new System.Drawing.Point(8, 448); this.textBoxStyle.Name = "textBoxStyle"; this.textBoxStyle.ReadOnly = true; this.textBoxStyle.Size = new System.Drawing.Size(248, 20); this.textBoxStyle.TabIndex = 17; this.textBoxStyle.Text = ""; // // labelStyle // this.labelStyle.Location = new System.Drawing.Point(16, 408); this.labelStyle.Name = "labelStyle"; this.labelStyle.Size = new System.Drawing.Size(48, 23); this.labelStyle.TabIndex = 16; this.labelStyle.Text = "St&yle:"; // // comboBoxStyle // this.comboBoxStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxStyle.Location = new System.Drawing.Point(72, 408); this.comboBoxStyle.Name = "comboBoxStyle"; this.comboBoxStyle.Size = new System.Drawing.Size(176, 21); this.comboBoxStyle.TabIndex = 15; // // buttonAdd // this.buttonAdd.Enabled = false; this.buttonAdd.Location = new System.Drawing.Point(72, 376); this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.TabIndex = 11; this.buttonAdd.Text = "&Add>>"; this.buttonAdd.Click += new System.EventHandler(this.buttonAdd_Click); // // listBoxClientLayers // this.listBoxClientLayers.AllowDrop = true; this.listBoxClientLayers.Location = new System.Drawing.Point(608, 112); this.listBoxClientLayers.Name = "listBoxClientLayers"; this.listBoxClientLayers.Size = new System.Drawing.Size(250, 225); this.listBoxClientLayers.TabIndex = 19; this.listBoxClientLayers.EnabledChanged += new System.EventHandler(this.listBoxTableLayers_EnabledChanged); this.listBoxClientLayers.SelectedIndexChanged += new System.EventHandler(this.listBoxTableLayers_SelectedIndexChanged); // // buttonMoveDown // this.buttonMoveDown.Enabled = false; this.buttonMoveDown.Location = new System.Drawing.Point(696, 488); this.buttonMoveDown.Name = "buttonMoveDown"; this.buttonMoveDown.TabIndex = 14; this.buttonMoveDown.Text = "Move &Down"; this.buttonMoveDown.Click += new System.EventHandler(this.buttonMoveDown_Click); // // buttonMoveUp // this.buttonMoveUp.Enabled = false; this.buttonMoveUp.Location = new System.Drawing.Point(696, 456); this.buttonMoveUp.Name = "buttonMoveUp"; this.buttonMoveUp.TabIndex = 13; this.buttonMoveUp.Text = "Move &Up"; this.buttonMoveUp.Click += new System.EventHandler(this.buttonMoveUp_Click); // // buttonRemove // this.buttonRemove.Enabled = false; this.buttonRemove.Location = new System.Drawing.Point(696, 424); this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.TabIndex = 12; this.buttonRemove.Text = "&Remove<<"; this.buttonRemove.Click += new System.EventHandler(this.buttonRemove_Click); // // mapControlWms // this.mapControlWms.Location = new System.Drawing.Point(288, 120); this.mapControlWms.Name = "mapControlWms"; this.mapControlWms.Size = new System.Drawing.Size(300, 300); this.mapControlWms.TabIndex = 31; this.mapControlWms.TabStop = false; this.mapControlWms.Text = "mapControlWms"; this.mapControlWms.Tools.LeftButtonTool = "Arrow"; // // groupBoxWmsClient // this.groupBoxWmsClient.Controls.Add(this.comboBoxLayerStyle); this.groupBoxWmsClient.Controls.Add(this.labelLayerStyle); this.groupBoxWmsClient.Controls.Add(this.textBoxLayerStyle); this.groupBoxWmsClient.Location = new System.Drawing.Point(600, 88); this.groupBoxWmsClient.Name = "groupBoxWmsClient"; this.groupBoxWmsClient.Size = new System.Drawing.Size(264, 448); this.groupBoxWmsClient.TabIndex = 32; this.groupBoxWmsClient.TabStop = false; this.groupBoxWmsClient.Text = "Layer Control"; // // comboBoxLayerStyle // this.comboBoxLayerStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxLayerStyle.Location = new System.Drawing.Point(80, 264); this.comboBoxLayerStyle.Name = "comboBoxLayerStyle"; this.comboBoxLayerStyle.Size = new System.Drawing.Size(121, 21); this.comboBoxLayerStyle.TabIndex = 33; this.comboBoxLayerStyle.SelectedIndexChanged += new System.EventHandler(this.comboBoxLayerStyle_SelectedIndexChanged); // // labelLayerStyle // this.labelLayerStyle.Location = new System.Drawing.Point(16, 264); this.labelLayerStyle.Name = "labelLayerStyle"; this.labelLayerStyle.Size = new System.Drawing.Size(48, 23); this.labelLayerStyle.TabIndex = 33; this.labelLayerStyle.Text = "St&yle:"; // // textBoxLayerStyle // this.textBoxLayerStyle.Location = new System.Drawing.Point(8, 296); this.textBoxLayerStyle.Name = "textBoxLayerStyle"; this.textBoxLayerStyle.ReadOnly = true; this.textBoxLayerStyle.Size = new System.Drawing.Size(248, 20); this.textBoxLayerStyle.TabIndex = 33; this.textBoxLayerStyle.Text = ""; // // textBoxVersion // this.textBoxVersion.Location = new System.Drawing.Point(728, 48); this.textBoxVersion.Name = "textBoxVersion"; this.textBoxVersion.ReadOnly = true; this.textBoxVersion.TabIndex = 33; this.textBoxVersion.Text = ""; // // toolBarMap // this.toolBarMap.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.toolBarButtonZoomIn, this.toolBarButtonZoomOut, this.toolBarButtonPan }); this.toolBarMap.Dock = System.Windows.Forms.DockStyle.None; this.toolBarMap.DropDownArrows = true; this.toolBarMap.ImageList = this.imageListTools; this.toolBarMap.Location = new System.Drawing.Point(288, 80); this.toolBarMap.Name = "toolBarMap"; this.toolBarMap.ShowToolTips = true; this.toolBarMap.Size = new System.Drawing.Size(296, 28); this.toolBarMap.TabIndex = 34; this.toolBarMap.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBarMap_ButtonClick); // // toolBarButtonZoomIn // this.toolBarButtonZoomIn.Pushed = true; this.toolBarButtonZoomIn.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonZoomIn.Tag = "ZoomIn"; this.toolBarButtonZoomIn.ToolTipText = "Zoom In"; // // toolBarButtonZoomOut // this.toolBarButtonZoomOut.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonZoomOut.Tag = "ZoomOut"; this.toolBarButtonZoomOut.ToolTipText = "Zoom Out"; // // toolBarButtonPan // this.toolBarButtonPan.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButtonPan.Tag = "Pan"; this.toolBarButtonPan.ToolTipText = "Pan"; // // imageListTools // this.imageListTools.ColorDepth = System.Windows.Forms.ColorDepth.Depth4Bit; this.imageListTools.ImageSize = new System.Drawing.Size(18, 16); this.imageListTools.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListTools.ImageStream"))); this.imageListTools.TransparentColor = System.Drawing.Color.Transparent; // // buttonViewEntire // this.buttonViewEntire.Location = new System.Drawing.Point(480, 480); this.buttonViewEntire.Name = "buttonViewEntire"; this.buttonViewEntire.TabIndex = 34; this.buttonViewEntire.Text = "View Entire"; this.buttonViewEntire.Click += new System.EventHandler(this.buttonViewEntire_Click); // // formWmsPreview // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(872, 646); this.Controls.Add(this.toolBarMap); this.Controls.Add(this.textBoxVersion); this.Controls.Add(this.mapControlWms); this.Controls.Add(this.textBoxURL); this.Controls.Add(this.comboBoxImageFormat); this.Controls.Add(this.labelImageFormat); this.Controls.Add(this.comboBoxServers); this.Controls.Add(this.labelServerURL); this.Controls.Add(this.labelWMSServer); this.Controls.Add(this.groupBoxCRS); this.Controls.Add(this.groupBoxImageBackground); this.Controls.Add(this.groupBoxWMSLayers); this.Controls.Add(this.buttonRemove); this.Controls.Add(this.buttonMoveUp); this.Controls.Add(this.buttonMoveDown); this.Controls.Add(this.listBoxClientLayers); this.Controls.Add(this.groupBoxWmsClient); this.Controls.Add(this.buttonViewEntire); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "formWmsPreview"; this.Text = "WMS Preview"; this.groupBoxCRS.ResumeLayout(false); this.groupBoxImageBackground.ResumeLayout(false); this.groupBoxWMSLayers.ResumeLayout(false); this.groupBoxWmsClient.ResumeLayout(false); this.ResumeLayout(false); }