// Someone clicked on a search result line void placelistView_SelectedIndexChanged(object sender, System.EventArgs e) { WWPlaceListView plw = (WWPlaceListView)sender; if (plw.SelectedItems.Count == 0 || // ignore if no entries in list .. plw.SelectedItems[0].Tag == null) { return; // ... or if selected entry has no attached placename info } PlaceItem pi = (PlaceItem)plw.SelectedItems[0].Tag; // retrieve info // set lat, lon and altitude this.numericUpDownLatitude.Value = (decimal)pi.pn.Lat; this.numericUpDownLongitude.Value = (decimal)pi.pn.Lon; this.numericUpDownAltitude.Value = (decimal)(pi.Altitude / 1000.0); // and go there. this.worldWindow.GotoLatLonViewRange(pi.pn.Lat, pi.pn.Lon, 90.0f); }
// ------------------------------------------------------------ // *** NOTE: if you get an error CS0234: in the // Windows Form Designer code in this line: // // this.listViewResults = new WorldWind.WWPlaceListView(); // // remove the "WorldWind." prefix the Designer insists on adding // (Same for listViewFavorites and listViewHistory) // ------------------------------------------------------------ #region Windows Form Designer generated code /// <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.textBoxSearchKeywords = new System.Windows.Forms.TextBox(); this.labelLookfor = new System.Windows.Forms.Label(); this.buttonSearch = new System.Windows.Forms.Button(); this.buttonGo = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.numericUpDownLatitude = new System.Windows.Forms.NumericUpDown(); this.numericUpDownLongitude = new System.Windows.Forms.NumericUpDown(); this.numericUpDownAltitude = new System.Windows.Forms.NumericUpDown(); this.labelRange = new System.Windows.Forms.Label(); this.labelLatitude = new System.Windows.Forms.Label(); this.labelLongitude = new System.Windows.Forms.Label(); this.buttonStop = new System.Windows.Forms.Button(); this.statusBar = new System.Windows.Forms.StatusBar(); this.statusBarPanel = new System.Windows.Forms.StatusBarPanel(); this.progressPanel = new System.Windows.Forms.StatusBarPanel(); this.progressBarSearch = new System.Windows.Forms.ProgressBar(); this.checkBoxFastSearch = new System.Windows.Forms.CheckBox(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.tabControlLists = new System.Windows.Forms.TabControl(); this.tabPageResults = new System.Windows.Forms.TabPage(); this.listViewResults = new WWPlaceListView(); this.tabPageFavorites = new System.Windows.Forms.TabPage(); this.listViewFavorites = new WWPlaceListView(); this.tabPageHistory = new System.Windows.Forms.TabPage(); this.listViewHistory = new WWPlaceListView(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownLatitude)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownLongitude)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownAltitude)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.progressPanel)).BeginInit(); this.tabControlLists.SuspendLayout(); this.tabPageResults.SuspendLayout(); this.tabPageFavorites.SuspendLayout(); this.tabPageHistory.SuspendLayout(); this.SuspendLayout(); // // textBoxSearchKeywords // this.textBoxSearchKeywords.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.textBoxSearchKeywords.Location = new System.Drawing.Point(8, 323); this.textBoxSearchKeywords.Name = "textBoxSearchKeywords"; this.textBoxSearchKeywords.Size = new System.Drawing.Size(152, 20); this.textBoxSearchKeywords.TabIndex = 1; this.textBoxSearchKeywords.Text = ""; this.textBoxSearchKeywords.Enter += new System.EventHandler(this.textBoxSearchKeywords_Enter); // // labelLookfor // this.labelLookfor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.labelLookfor.Location = new System.Drawing.Point(8, 307); this.labelLookfor.Name = "labelLookfor"; this.labelLookfor.Size = new System.Drawing.Size(144, 16); this.labelLookfor.TabIndex = 0; this.labelLookfor.Text = "&Look for place named:"; this.labelLookfor.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // buttonSearch // this.buttonSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonSearch.Location = new System.Drawing.Point(8, 371); this.buttonSearch.Name = "buttonSearch"; this.buttonSearch.Size = new System.Drawing.Size(72, 24); this.buttonSearch.TabIndex = 3; this.buttonSearch.Text = "&Search"; this.buttonSearch.Click += new System.EventHandler(this.buttonSearch_Click); // // buttonGo // this.buttonGo.Location = new System.Drawing.Point(160, 37); this.buttonGo.Name = "buttonGo"; this.buttonGo.Size = new System.Drawing.Size(64, 35); this.buttonGo.TabIndex = 6; this.buttonGo.Text = "&Go"; this.buttonGo.Click += new System.EventHandler(this.buttonGo_Click); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.groupBox1.Controls.Add(this.numericUpDownLatitude); this.groupBox1.Controls.Add(this.numericUpDownLongitude); this.groupBox1.Controls.Add(this.numericUpDownAltitude); this.groupBox1.Controls.Add(this.labelRange); this.groupBox1.Controls.Add(this.buttonGo); this.groupBox1.Controls.Add(this.labelLatitude); this.groupBox1.Controls.Add(this.labelLongitude); this.groupBox1.Location = new System.Drawing.Point(184, 299); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(232, 100); this.groupBox1.TabIndex = 5; this.groupBox1.TabStop = false; this.groupBox1.Text = "Position"; // // numericUpDownLatitude // this.numericUpDownLatitude.DecimalPlaces = 3; this.numericUpDownLatitude.Location = new System.Drawing.Point(88, 21); this.numericUpDownLatitude.Maximum = new System.Decimal(new int[] { 90000, 0, 0, 196608 }); this.numericUpDownLatitude.Minimum = new System.Decimal(new int[] { 90000, 0, 0, -2147287040 }); this.numericUpDownLatitude.Name = "numericUpDownLatitude"; this.numericUpDownLatitude.Size = new System.Drawing.Size(64, 20); this.numericUpDownLatitude.TabIndex = 1; this.numericUpDownLatitude.KeyUp += new System.Windows.Forms.KeyEventHandler(this.PositionUpDowns_KeyUp); // // numericUpDownLongitude // this.numericUpDownLongitude.DecimalPlaces = 3; this.numericUpDownLongitude.Location = new System.Drawing.Point(88, 45); this.numericUpDownLongitude.Maximum = new System.Decimal(new int[] { 180000, 0, 0, 196608 }); this.numericUpDownLongitude.Minimum = new System.Decimal(new int[] { 180000, 0, 0, -2147287040 }); this.numericUpDownLongitude.Name = "numericUpDownLongitude"; this.numericUpDownLongitude.Size = new System.Drawing.Size(64, 20); this.numericUpDownLongitude.TabIndex = 3; this.numericUpDownLongitude.KeyUp += new System.Windows.Forms.KeyEventHandler(this.PositionUpDowns_KeyUp); // // numericUpDownAltitude // this.numericUpDownAltitude.Location = new System.Drawing.Point(88, 69); this.numericUpDownAltitude.Maximum = new System.Decimal(new int[] { 100000000, 0, 0, 0 }); this.numericUpDownAltitude.Minimum = new System.Decimal(new int[] { 1, 0, 0, 0 }); this.numericUpDownAltitude.Name = "numericUpDownAltitude"; this.numericUpDownAltitude.Size = new System.Drawing.Size(64, 20); this.numericUpDownAltitude.TabIndex = 5; this.numericUpDownAltitude.Value = new System.Decimal(new int[] { 10000, 0, 0, 0 }); this.numericUpDownAltitude.KeyUp += new System.Windows.Forms.KeyEventHandler(this.PositionUpDowns_KeyUp); // // labelRange // this.labelRange.Location = new System.Drawing.Point(8, 70); this.labelRange.Name = "labelRange"; this.labelRange.Size = new System.Drawing.Size(72, 23); this.labelRange.TabIndex = 4; this.labelRange.Text = "Al&titude (km):"; this.labelRange.TextAlign = System.Drawing.ContentAlignment.TopRight; // // labelLatitude // this.labelLatitude.Location = new System.Drawing.Point(32, 22); this.labelLatitude.Name = "labelLatitude"; this.labelLatitude.Size = new System.Drawing.Size(48, 23); this.labelLatitude.TabIndex = 0; this.labelLatitude.Text = "L&atitude:"; this.labelLatitude.TextAlign = System.Drawing.ContentAlignment.TopRight; // // labelLongitude // this.labelLongitude.Location = new System.Drawing.Point(16, 46); this.labelLongitude.Name = "labelLongitude"; this.labelLongitude.Size = new System.Drawing.Size(64, 23); this.labelLongitude.TabIndex = 2; this.labelLongitude.Text = "L&ongitude:"; this.labelLongitude.TextAlign = System.Drawing.ContentAlignment.TopRight; // // buttonStop // this.buttonStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonStop.Enabled = false; this.buttonStop.Location = new System.Drawing.Point(88, 371); this.buttonStop.Name = "buttonStop"; this.buttonStop.Size = new System.Drawing.Size(72, 23); this.buttonStop.TabIndex = 4; this.buttonStop.Text = "Sto&p"; this.buttonStop.Click += new System.EventHandler(this.buttonStop_Click); // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 400); this.statusBar.Name = "statusBar"; this.statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel, this.progressPanel }); this.statusBar.ShowPanels = true; this.statusBar.Size = new System.Drawing.Size(424, 22); this.statusBar.TabIndex = 6; this.statusBar.DrawItem += new System.Windows.Forms.StatusBarDrawItemEventHandler(this.statusBar_DrawItem); // // progressPanel // this.progressPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.progressPanel.Style = System.Windows.Forms.StatusBarPanelStyle.OwnerDraw; this.progressPanel.Width = 308; // // progressBarSearch // this.progressBarSearch.Location = new System.Drawing.Point(128, 400); this.progressBarSearch.Name = "progressBarSearch"; this.progressBarSearch.Size = new System.Drawing.Size(240, 23); this.progressBarSearch.TabIndex = 7; // // checkBoxFastSearch // this.checkBoxFastSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.checkBoxFastSearch.Enabled = false; this.checkBoxFastSearch.Location = new System.Drawing.Point(8, 347); this.checkBoxFastSearch.Name = "checkBoxFastSearch"; this.checkBoxFastSearch.Size = new System.Drawing.Size(152, 20); this.checkBoxFastSearch.TabIndex = 2; this.checkBoxFastSearch.Text = "Use fast search"; this.toolTip1.SetToolTip(this.checkBoxFastSearch, "Fast search needs index files and will search the name column only but will do so" + " much faster."); this.checkBoxFastSearch.CheckedChanged += new System.EventHandler(this.checkBoxFastSearch_CheckedChanged); // // tabControlLists // this.tabControlLists.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.tabControlLists.Controls.Add(this.tabPageResults); this.tabControlLists.Controls.Add(this.tabPageFavorites); this.tabControlLists.Controls.Add(this.tabPageHistory); this.tabControlLists.Location = new System.Drawing.Point(2, 2); this.tabControlLists.Name = "tabControlLists"; this.tabControlLists.SelectedIndex = 0; this.tabControlLists.Size = new System.Drawing.Size(420, 295); this.tabControlLists.TabIndex = 8; // // tabPageResults // this.tabPageResults.Controls.Add(this.listViewResults); this.tabPageResults.Location = new System.Drawing.Point(4, 22); this.tabPageResults.Name = "tabPageResults"; this.tabPageResults.Size = new System.Drawing.Size(412, 269); this.tabPageResults.TabIndex = 0; this.tabPageResults.Text = "Results"; // // listViewResults // this.listViewResults.Dock = System.Windows.Forms.DockStyle.Fill; this.listViewResults.Favorites = null; this.listViewResults.FullRowSelect = true; this.listViewResults.Location = new System.Drawing.Point(0, 0); this.listViewResults.Name = "listViewResults"; this.listViewResults.RecentFinds = null; this.listViewResults.Size = new System.Drawing.Size(412, 269); this.listViewResults.TabIndex = 0; this.listViewResults.View = System.Windows.Forms.View.Details; this.listViewResults.WorldWindow = null; this.listViewResults.SelectedIndexChanged += new EventHandler(placelistView_SelectedIndexChanged); // // tabPageFavorites // this.tabPageFavorites.Controls.Add(this.listViewFavorites); this.tabPageFavorites.Location = new System.Drawing.Point(4, 22); this.tabPageFavorites.Name = "tabPageFavorites"; this.tabPageFavorites.Size = new System.Drawing.Size(412, 269); this.tabPageFavorites.TabIndex = 1; this.tabPageFavorites.Text = "Favorites"; // // listViewFavorites // this.listViewFavorites.Dock = System.Windows.Forms.DockStyle.Fill; this.listViewFavorites.Favorites = null; this.listViewFavorites.FullRowSelect = true; this.listViewFavorites.Location = new System.Drawing.Point(0, 0); this.listViewFavorites.Name = "listViewFavorites"; this.listViewFavorites.RecentFinds = null; this.listViewFavorites.Size = new System.Drawing.Size(412, 269); this.listViewFavorites.TabIndex = 0; this.listViewFavorites.View = System.Windows.Forms.View.Details; this.listViewFavorites.WorldWindow = null; this.listViewFavorites.SelectedIndexChanged += new EventHandler(placelistView_SelectedIndexChanged); // // tabPageHistory // this.tabPageHistory.Controls.Add(this.listViewHistory); this.tabPageHistory.Location = new System.Drawing.Point(4, 22); this.tabPageHistory.Name = "tabPageHistory"; this.tabPageHistory.Size = new System.Drawing.Size(412, 269); this.tabPageHistory.TabIndex = 2; this.tabPageHistory.Text = "History"; // // listViewHistory // this.listViewHistory.Dock = System.Windows.Forms.DockStyle.Fill; this.listViewHistory.Favorites = null; this.listViewHistory.FullRowSelect = true; this.listViewHistory.Location = new System.Drawing.Point(0, 0); this.listViewHistory.Name = "listViewHistory"; this.listViewHistory.RecentFinds = null; this.listViewHistory.Size = new System.Drawing.Size(412, 269); this.listViewHistory.TabIndex = 0; this.listViewHistory.View = System.Windows.Forms.View.Details; this.listViewHistory.WorldWindow = null; this.listViewHistory.SelectedIndexChanged += new EventHandler(placelistView_SelectedIndexChanged); // // GotoDialog // this.AcceptButton = this.buttonSearch; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(424, 422); this.Controls.Add(this.tabControlLists); this.Controls.Add(this.checkBoxFastSearch); this.Controls.Add(this.textBoxSearchKeywords); this.Controls.Add(this.progressBarSearch); this.Controls.Add(this.statusBar); this.Controls.Add(this.groupBox1); this.Controls.Add(this.buttonStop); this.Controls.Add(this.buttonSearch); this.Controls.Add(this.labelLookfor); this.KeyPreview = true; this.MinimumSize = new System.Drawing.Size(432, 250); this.Name = "GotoDialog"; this.Text = "Place Finder"; this.Closing += new System.ComponentModel.CancelEventHandler(this.GotoDialog_Closing); this.Load += new System.EventHandler(this.GotoDialog_Load); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownLatitude)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownLongitude)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownAltitude)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.progressPanel)).EndInit(); this.tabControlLists.ResumeLayout(false); this.tabPageResults.ResumeLayout(false); this.tabPageFavorites.ResumeLayout(false); this.tabPageHistory.ResumeLayout(false); this.ResumeLayout(false); }
// ------------------------------------------------------------ // *** NOTE: if you get an error CS0234: in the // Windows Form Designer code in this line: // // this.listViewResults = new WorldWind.WWPlaceListView(); // // remove the "WorldWind." prefix the Designer insists on adding // (Same for listViewFavorites and listViewHistory) // ------------------------------------------------------------ #region Windows Form Designer generated code /// <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.textBoxSearchKeywords = new System.Windows.Forms.TextBox(); this.labelLookfor = new System.Windows.Forms.Label(); this.buttonSearch = new System.Windows.Forms.Button(); this.buttonGo = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.numericUpDownLatitude = new System.Windows.Forms.NumericUpDown(); this.numericUpDownLongitude = new System.Windows.Forms.NumericUpDown(); this.numericUpDownAltitude = new System.Windows.Forms.NumericUpDown(); this.labelRange = new System.Windows.Forms.Label(); this.labelLatitude = new System.Windows.Forms.Label(); this.labelLongitude = new System.Windows.Forms.Label(); this.buttonStop = new System.Windows.Forms.Button(); this.statusBar = new System.Windows.Forms.StatusBar(); this.statusBarPanel = new System.Windows.Forms.StatusBarPanel(); this.progressPanel = new System.Windows.Forms.StatusBarPanel(); this.progressBarSearch = new System.Windows.Forms.ProgressBar(); this.checkBoxFastSearch = new System.Windows.Forms.CheckBox(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.tabControlLists = new System.Windows.Forms.TabControl(); this.tabPageResults = new System.Windows.Forms.TabPage(); this.listViewResults = new WWPlaceListView(); this.tabPageFavorites = new System.Windows.Forms.TabPage(); this.listViewFavorites = new WWPlaceListView(); this.tabPageHistory = new System.Windows.Forms.TabPage(); this.listViewHistory = new WWPlaceListView(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownLatitude)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownLongitude)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownAltitude)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.progressPanel)).BeginInit(); this.tabControlLists.SuspendLayout(); this.tabPageResults.SuspendLayout(); this.tabPageFavorites.SuspendLayout(); this.tabPageHistory.SuspendLayout(); this.SuspendLayout(); // // textBoxSearchKeywords // this.textBoxSearchKeywords.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.textBoxSearchKeywords.Location = new System.Drawing.Point(8, 323); this.textBoxSearchKeywords.Name = "textBoxSearchKeywords"; this.textBoxSearchKeywords.Size = new System.Drawing.Size(152, 20); this.textBoxSearchKeywords.TabIndex = 1; this.textBoxSearchKeywords.Text = ""; this.textBoxSearchKeywords.Enter += new System.EventHandler(this.textBoxSearchKeywords_Enter); // // labelLookfor // this.labelLookfor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.labelLookfor.Location = new System.Drawing.Point(8, 307); this.labelLookfor.Name = "labelLookfor"; this.labelLookfor.Size = new System.Drawing.Size(144, 16); this.labelLookfor.TabIndex = 0; this.labelLookfor.Text = "&Look for place named:"; this.labelLookfor.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // buttonSearch // this.buttonSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonSearch.Location = new System.Drawing.Point(8, 371); this.buttonSearch.Name = "buttonSearch"; this.buttonSearch.Size = new System.Drawing.Size(72, 24); this.buttonSearch.TabIndex = 3; this.buttonSearch.Text = "&Search"; this.buttonSearch.Click += new System.EventHandler(this.buttonSearch_Click); // // buttonGo // this.buttonGo.Location = new System.Drawing.Point(160, 37); this.buttonGo.Name = "buttonGo"; this.buttonGo.Size = new System.Drawing.Size(64, 35); this.buttonGo.TabIndex = 6; this.buttonGo.Text = "&Go"; this.buttonGo.Click += new System.EventHandler(this.buttonGo_Click); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.groupBox1.Controls.Add(this.numericUpDownLatitude); this.groupBox1.Controls.Add(this.numericUpDownLongitude); this.groupBox1.Controls.Add(this.numericUpDownAltitude); this.groupBox1.Controls.Add(this.labelRange); this.groupBox1.Controls.Add(this.buttonGo); this.groupBox1.Controls.Add(this.labelLatitude); this.groupBox1.Controls.Add(this.labelLongitude); this.groupBox1.Location = new System.Drawing.Point(184, 299); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(232, 100); this.groupBox1.TabIndex = 5; this.groupBox1.TabStop = false; this.groupBox1.Text = "Position"; // // numericUpDownLatitude // this.numericUpDownLatitude.DecimalPlaces = 3; this.numericUpDownLatitude.Location = new System.Drawing.Point(88, 21); this.numericUpDownLatitude.Maximum = new System.Decimal(new int[] { 90000, 0, 0, 196608}); this.numericUpDownLatitude.Minimum = new System.Decimal(new int[] { 90000, 0, 0, -2147287040}); this.numericUpDownLatitude.Name = "numericUpDownLatitude"; this.numericUpDownLatitude.Size = new System.Drawing.Size(64, 20); this.numericUpDownLatitude.TabIndex = 1; this.numericUpDownLatitude.KeyUp += new System.Windows.Forms.KeyEventHandler(this.PositionUpDowns_KeyUp); // // numericUpDownLongitude // this.numericUpDownLongitude.DecimalPlaces = 3; this.numericUpDownLongitude.Location = new System.Drawing.Point(88, 45); this.numericUpDownLongitude.Maximum = new System.Decimal(new int[] { 180000, 0, 0, 196608}); this.numericUpDownLongitude.Minimum = new System.Decimal(new int[] { 180000, 0, 0, -2147287040}); this.numericUpDownLongitude.Name = "numericUpDownLongitude"; this.numericUpDownLongitude.Size = new System.Drawing.Size(64, 20); this.numericUpDownLongitude.TabIndex = 3; this.numericUpDownLongitude.KeyUp += new System.Windows.Forms.KeyEventHandler(this.PositionUpDowns_KeyUp); // // numericUpDownAltitude // this.numericUpDownAltitude.Location = new System.Drawing.Point(88, 69); this.numericUpDownAltitude.Maximum = new System.Decimal(new int[] { 100000000, 0, 0, 0}); this.numericUpDownAltitude.Minimum = new System.Decimal(new int[] { 1, 0, 0, 0}); this.numericUpDownAltitude.Name = "numericUpDownAltitude"; this.numericUpDownAltitude.Size = new System.Drawing.Size(64, 20); this.numericUpDownAltitude.TabIndex = 5; this.numericUpDownAltitude.Value = new System.Decimal(new int[] { 10000, 0, 0, 0}); this.numericUpDownAltitude.KeyUp += new System.Windows.Forms.KeyEventHandler(this.PositionUpDowns_KeyUp); // // labelRange // this.labelRange.Location = new System.Drawing.Point(8, 70); this.labelRange.Name = "labelRange"; this.labelRange.Size = new System.Drawing.Size(72, 23); this.labelRange.TabIndex = 4; this.labelRange.Text = "Al&titude (km):"; this.labelRange.TextAlign = System.Drawing.ContentAlignment.TopRight; // // labelLatitude // this.labelLatitude.Location = new System.Drawing.Point(32, 22); this.labelLatitude.Name = "labelLatitude"; this.labelLatitude.Size = new System.Drawing.Size(48, 23); this.labelLatitude.TabIndex = 0; this.labelLatitude.Text = "L&atitude:"; this.labelLatitude.TextAlign = System.Drawing.ContentAlignment.TopRight; // // labelLongitude // this.labelLongitude.Location = new System.Drawing.Point(16, 46); this.labelLongitude.Name = "labelLongitude"; this.labelLongitude.Size = new System.Drawing.Size(64, 23); this.labelLongitude.TabIndex = 2; this.labelLongitude.Text = "L&ongitude:"; this.labelLongitude.TextAlign = System.Drawing.ContentAlignment.TopRight; // // buttonStop // this.buttonStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonStop.Enabled = false; this.buttonStop.Location = new System.Drawing.Point(88, 371); this.buttonStop.Name = "buttonStop"; this.buttonStop.Size = new System.Drawing.Size(72, 23); this.buttonStop.TabIndex = 4; this.buttonStop.Text = "Sto&p"; this.buttonStop.Click += new System.EventHandler(this.buttonStop_Click); // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 400); this.statusBar.Name = "statusBar"; this.statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel, this.progressPanel}); this.statusBar.ShowPanels = true; this.statusBar.Size = new System.Drawing.Size(424, 22); this.statusBar.TabIndex = 6; this.statusBar.DrawItem += new System.Windows.Forms.StatusBarDrawItemEventHandler(this.statusBar_DrawItem); // // progressPanel // this.progressPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.progressPanel.Style = System.Windows.Forms.StatusBarPanelStyle.OwnerDraw; this.progressPanel.Width = 308; // // progressBarSearch // this.progressBarSearch.Location = new System.Drawing.Point(128, 400); this.progressBarSearch.Name = "progressBarSearch"; this.progressBarSearch.Size = new System.Drawing.Size(240, 23); this.progressBarSearch.TabIndex = 7; // // checkBoxFastSearch // this.checkBoxFastSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.checkBoxFastSearch.Enabled = false; this.checkBoxFastSearch.Location = new System.Drawing.Point(8, 347); this.checkBoxFastSearch.Name = "checkBoxFastSearch"; this.checkBoxFastSearch.Size = new System.Drawing.Size(152, 20); this.checkBoxFastSearch.TabIndex = 2; this.checkBoxFastSearch.Text = "Use fast search"; this.toolTip1.SetToolTip(this.checkBoxFastSearch, "Fast search needs index files and will search the name column only but will do so" + " much faster."); this.checkBoxFastSearch.CheckedChanged += new System.EventHandler(this.checkBoxFastSearch_CheckedChanged); // // tabControlLists // this.tabControlLists.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.tabControlLists.Controls.Add(this.tabPageResults); this.tabControlLists.Controls.Add(this.tabPageFavorites); this.tabControlLists.Controls.Add(this.tabPageHistory); this.tabControlLists.Location = new System.Drawing.Point(2, 2); this.tabControlLists.Name = "tabControlLists"; this.tabControlLists.SelectedIndex = 0; this.tabControlLists.Size = new System.Drawing.Size(420, 295); this.tabControlLists.TabIndex = 8; // // tabPageResults // this.tabPageResults.Controls.Add(this.listViewResults); this.tabPageResults.Location = new System.Drawing.Point(4, 22); this.tabPageResults.Name = "tabPageResults"; this.tabPageResults.Size = new System.Drawing.Size(412, 269); this.tabPageResults.TabIndex = 0; this.tabPageResults.Text = "Results"; // // listViewResults // this.listViewResults.Dock = System.Windows.Forms.DockStyle.Fill; this.listViewResults.Favorites = null; this.listViewResults.FullRowSelect = true; this.listViewResults.Location = new System.Drawing.Point(0, 0); this.listViewResults.Name = "listViewResults"; this.listViewResults.RecentFinds = null; this.listViewResults.Size = new System.Drawing.Size(412, 269); this.listViewResults.TabIndex = 0; this.listViewResults.View = System.Windows.Forms.View.Details; this.listViewResults.WorldWindow = null; this.listViewResults.SelectedIndexChanged += new EventHandler(placelistView_SelectedIndexChanged); // // tabPageFavorites // this.tabPageFavorites.Controls.Add(this.listViewFavorites); this.tabPageFavorites.Location = new System.Drawing.Point(4, 22); this.tabPageFavorites.Name = "tabPageFavorites"; this.tabPageFavorites.Size = new System.Drawing.Size(412, 269); this.tabPageFavorites.TabIndex = 1; this.tabPageFavorites.Text = "Favorites"; // // listViewFavorites // this.listViewFavorites.Dock = System.Windows.Forms.DockStyle.Fill; this.listViewFavorites.Favorites = null; this.listViewFavorites.FullRowSelect = true; this.listViewFavorites.Location = new System.Drawing.Point(0, 0); this.listViewFavorites.Name = "listViewFavorites"; this.listViewFavorites.RecentFinds = null; this.listViewFavorites.Size = new System.Drawing.Size(412, 269); this.listViewFavorites.TabIndex = 0; this.listViewFavorites.View = System.Windows.Forms.View.Details; this.listViewFavorites.WorldWindow = null; this.listViewFavorites.SelectedIndexChanged += new EventHandler(placelistView_SelectedIndexChanged); // // tabPageHistory // this.tabPageHistory.Controls.Add(this.listViewHistory); this.tabPageHistory.Location = new System.Drawing.Point(4, 22); this.tabPageHistory.Name = "tabPageHistory"; this.tabPageHistory.Size = new System.Drawing.Size(412, 269); this.tabPageHistory.TabIndex = 2; this.tabPageHistory.Text = "History"; // // listViewHistory // this.listViewHistory.Dock = System.Windows.Forms.DockStyle.Fill; this.listViewHistory.Favorites = null; this.listViewHistory.FullRowSelect = true; this.listViewHistory.Location = new System.Drawing.Point(0, 0); this.listViewHistory.Name = "listViewHistory"; this.listViewHistory.RecentFinds = null; this.listViewHistory.Size = new System.Drawing.Size(412, 269); this.listViewHistory.TabIndex = 0; this.listViewHistory.View = System.Windows.Forms.View.Details; this.listViewHistory.WorldWindow = null; this.listViewHistory.SelectedIndexChanged += new EventHandler(placelistView_SelectedIndexChanged); // // GotoDialog // this.AcceptButton = this.buttonSearch; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(424, 422); this.Controls.Add(this.tabControlLists); this.Controls.Add(this.checkBoxFastSearch); this.Controls.Add(this.textBoxSearchKeywords); this.Controls.Add(this.progressBarSearch); this.Controls.Add(this.statusBar); this.Controls.Add(this.groupBox1); this.Controls.Add(this.buttonStop); this.Controls.Add(this.buttonSearch); this.Controls.Add(this.labelLookfor); this.KeyPreview = true; this.MinimumSize = new System.Drawing.Size(432, 250); this.Name = "GotoDialog"; this.Text = "Place Finder"; this.Closing += new System.ComponentModel.CancelEventHandler(this.GotoDialog_Closing); this.Load += new System.EventHandler(this.GotoDialog_Load); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownLatitude)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownLongitude)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownAltitude)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.progressPanel)).EndInit(); this.tabControlLists.ResumeLayout(false); this.tabPageResults.ResumeLayout(false); this.tabPageFavorites.ResumeLayout(false); this.tabPageHistory.ResumeLayout(false); this.ResumeLayout(false); }