private void AddButton(ControlMap map) { switch (map.ButtonType) { case ButtonType.Button: { WwtButton button = new WwtButton(); map.Width = 140; map.Height = 33; button.Text = map.Name; button.Location = new Point((int)map.X, (int)map.Y); button.Click += new EventHandler(button_Click); button.MouseDown += new MouseEventHandler(button_MouseDown); button.MouseMove += new MouseEventHandler(button_MouseMove); button.MouseUp += new MouseEventHandler(button_MouseUp); button.Tag = map; Controls.Add(button); } break; case ButtonType.Checkbox: { WWTCheckbox button = new WWTCheckbox(); map.Width = 140; map.Height = 33; //button.Parent = this; button.Text = map.Name; button.Location = new Point((int)map.X, (int)map.Y); button.CheckedChanged += new EventHandler(button_CheckedChanged); button.MouseDown += new MouseEventHandler(button_MouseDown); button.MouseMove += new MouseEventHandler(button_MouseMove); button.MouseUp += new MouseEventHandler(button_MouseUp); button.Tag = map; Controls.Add(button); } break; case ButtonType.Slider: { TrackButton button = new TrackButton(); map.Width = 140; map.Height = 33; //button.Parent = this; button.LabelText = map.Name; button.Location = new Point((int)map.X, (int)map.Y); button.ValueChanged += new EventHandler(button_ValueChanged); button.MouseDown += new MouseEventHandler(button_MouseDown); button.MouseMove += new MouseEventHandler(button_MouseMove); button.MouseUp += new MouseEventHandler(button_MouseUp); button.Tag = map; button.Value = (int)map.GetValue(MIDI.MidiMessage.NoteOn, -1, 0); Controls.Add(button); } break; default: break; } EnableUserChildren(!editMode); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.checkTilesInView = new System.Windows.Forms.CheckBox(); this.listBox = new System.Windows.Forms.ListBox(); this.wwtButton1 = new TerraViewer.WwtButton(); this.ClearCache = new TerraViewer.WwtButton(); this.SuspendLayout(); // // timer1 // this.timer1.Enabled = true; this.timer1.Interval = 1000; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // checkTilesInView // this.checkTilesInView.AutoSize = true; this.checkTilesInView.Location = new System.Drawing.Point(12, 716); this.checkTilesInView.Name = "checkTilesInView"; this.checkTilesInView.Size = new System.Drawing.Size(123, 17); this.checkTilesInView.TabIndex = 3; this.checkTilesInView.Text = "Tile in View Frustrum"; this.checkTilesInView.UseVisualStyleBackColor = true; this.checkTilesInView.Visible = false; this.checkTilesInView.CheckedChanged += new System.EventHandler(this.FrustromTileView_CheckedChanged); // // listBox // this.listBox.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.listBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(82)))), ((int)(((byte)(105))))); this.listBox.BorderStyle = System.Windows.Forms.BorderStyle.None; this.listBox.ForeColor = System.Drawing.Color.White; this.listBox.FormattingEnabled = true; this.listBox.Location = new System.Drawing.Point(8, 12); this.listBox.Name = "listBox"; this.listBox.Size = new System.Drawing.Size(272, 715); this.listBox.TabIndex = 4; this.listBox.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.listBox_MouseDoubleClick); this.listBox.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // wwtButton1 // this.wwtButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.wwtButton1.BackColor = System.Drawing.Color.Transparent; this.wwtButton1.DialogResult = System.Windows.Forms.DialogResult.None; this.wwtButton1.ImageDisabled = null; this.wwtButton1.ImageEnabled = null; this.wwtButton1.Location = new System.Drawing.Point(3, 737); this.wwtButton1.MaximumSize = new System.Drawing.Size(140, 33); this.wwtButton1.Name = "wwtButton1"; this.wwtButton1.Selected = false; this.wwtButton1.Size = new System.Drawing.Size(115, 33); this.wwtButton1.TabIndex = 5; this.wwtButton1.Text = "Flush Queue"; this.wwtButton1.Click += new System.EventHandler(this.PurgeQueue_Click); // // ClearCache // this.ClearCache.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.ClearCache.BackColor = System.Drawing.Color.Transparent; this.ClearCache.DialogResult = System.Windows.Forms.DialogResult.None; this.ClearCache.ImageDisabled = null; this.ClearCache.ImageEnabled = null; this.ClearCache.Location = new System.Drawing.Point(173, 737); this.ClearCache.MaximumSize = new System.Drawing.Size(140, 33); this.ClearCache.Name = "ClearCache"; this.ClearCache.Selected = false; this.ClearCache.Size = new System.Drawing.Size(112, 33); this.ClearCache.TabIndex = 6; this.ClearCache.Text = "Clear Cache"; this.ClearCache.Click += new System.EventHandler(this.ClearCache_Click); // // Queue_List // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(23)))), ((int)(((byte)(31))))); this.ClientSize = new System.Drawing.Size(292, 774); this.Controls.Add(this.ClearCache); this.Controls.Add(this.wwtButton1); this.Controls.Add(this.listBox); this.Controls.Add(this.checkTilesInView); this.DoubleBuffered = true; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Name = "Queue_List"; this.Opacity = 0.7; this.ShowIcon = false; this.ShowInTaskbar = false; this.Text = "Download Queue"; this.TopMost = true; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { components = new Container(); timer1 = new Timer(components); checkTilesInView = new CheckBox(); listBox = new ListBox(); wwtButton1 = new WwtButton(); ClearCache = new WwtButton(); SuspendLayout(); // // timer1 // timer1.Enabled = true; timer1.Interval = 1000; timer1.Tick += timer1_Tick; // // checkTilesInView // checkTilesInView.AutoSize = true; checkTilesInView.Location = new Point(12, 716); checkTilesInView.Name = "checkTilesInView"; checkTilesInView.Size = new Size(123, 17); checkTilesInView.TabIndex = 3; checkTilesInView.Text = "Tile in View Frustrum"; checkTilesInView.UseVisualStyleBackColor = true; checkTilesInView.Visible = false; checkTilesInView.CheckedChanged += FrustromTileView_CheckedChanged; // // listBox // listBox.Anchor = ((AnchorStyles.Top | AnchorStyles.Bottom) | AnchorStyles.Left) | AnchorStyles.Right; listBox.BackColor = Color.FromArgb(68, 82, 105); listBox.BorderStyle = BorderStyle.None; listBox.ForeColor = Color.White; listBox.FormattingEnabled = true; listBox.Location = new Point(8, 12); listBox.Name = "listBox"; listBox.Size = new Size(272, 715); listBox.TabIndex = 4; listBox.MouseDoubleClick += listBox_MouseDoubleClick; listBox.SelectedIndexChanged += listBox_SelectedIndexChanged; // // wwtButton1 // wwtButton1.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; wwtButton1.BackColor = Color.Transparent; wwtButton1.DialogResult = System.Windows.Forms.DialogResult.None; wwtButton1.ImageDisabled = null; wwtButton1.ImageEnabled = null; wwtButton1.Location = new Point(3, 737); wwtButton1.MaximumSize = new Size(140, 33); wwtButton1.Name = "wwtButton1"; wwtButton1.Selected = false; wwtButton1.Size = new Size(115, 33); wwtButton1.TabIndex = 5; wwtButton1.Text = "Flush Queue"; wwtButton1.Click += PurgeQueue_Click; // // ClearCache // ClearCache.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; ClearCache.BackColor = Color.Transparent; ClearCache.DialogResult = System.Windows.Forms.DialogResult.None; ClearCache.ImageDisabled = null; ClearCache.ImageEnabled = null; ClearCache.Location = new Point(173, 737); ClearCache.MaximumSize = new Size(140, 33); ClearCache.Name = "ClearCache"; ClearCache.Selected = false; ClearCache.Size = new Size(112, 33); ClearCache.TabIndex = 6; ClearCache.Text = "Clear Cache"; ClearCache.Click += ClearCache_Click; // // Queue_List // AutoScaleBaseSize = new Size(5, 13); BackColor = Color.FromArgb(20, 23, 31); ClientSize = new Size(292, 774); Controls.Add(ClearCache); Controls.Add(wwtButton1); Controls.Add(listBox); Controls.Add(checkTilesInView); DoubleBuffered = true; FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; Name = "Queue_List"; Opacity = 0.7; ShowIcon = false; ShowInTaskbar = false; Text = "Download Queue"; TopMost = true; ResumeLayout(false); PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.lblLatitude = new System.Windows.Forms.Label(); this.lblLongitude = new System.Windows.Forms.Label(); this.txtLong = new System.Windows.Forms.TextBox(); this.txtLat = new System.Windows.Forms.TextBox(); this.PlacesList = new System.Windows.Forms.ListBox(); this.Remove = new System.Windows.Forms.Button(); this.Add = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.txtName = new System.Windows.Forms.TextBox(); this.datasetLabel = new System.Windows.Forms.Label(); this.lblCatagory = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.txtAltitude = new System.Windows.Forms.TextBox(); this.FromEarthView = new TerraViewer.WwtButton(); this.Categorys = new TerraViewer.WwtCombo(); this.DataSetList = new TerraViewer.WwtCombo(); this.Cancel = new TerraViewer.WwtButton(); this.OK = new TerraViewer.WwtButton(); this.SuspendLayout(); // // lblLatitude // this.lblLatitude.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblLatitude.ForeColor = System.Drawing.Color.White; this.lblLatitude.Location = new System.Drawing.Point(205, 107); this.lblLatitude.Name = "lblLatitude"; this.lblLatitude.Size = new System.Drawing.Size(140, 16); this.lblLatitude.TabIndex = 9; this.lblLatitude.Text = "Latitude (Dec. deg.)"; // // lblLongitude // this.lblLongitude.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblLongitude.ForeColor = System.Drawing.Color.White; this.lblLongitude.Location = new System.Drawing.Point(205, 59); this.lblLongitude.Name = "lblLongitude"; this.lblLongitude.Size = new System.Drawing.Size(144, 16); this.lblLongitude.TabIndex = 7; this.lblLongitude.Text = "E. Longitude (Dec. deg.)"; // // txtLong // this.txtLong.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(82)))), ((int)(((byte)(105))))); this.txtLong.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtLong.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtLong.ForeColor = System.Drawing.Color.White; this.txtLong.Location = new System.Drawing.Point(208, 77); this.txtLong.Name = "txtLong"; this.txtLong.Size = new System.Drawing.Size(136, 22); this.txtLong.TabIndex = 8; this.txtLong.Text = "-122.08580"; // // txtLat // this.txtLat.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(82)))), ((int)(((byte)(105))))); this.txtLat.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtLat.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtLat.ForeColor = System.Drawing.Color.White; this.txtLat.Location = new System.Drawing.Point(208, 125); this.txtLat.Name = "txtLat"; this.txtLat.Size = new System.Drawing.Size(136, 22); this.txtLat.TabIndex = 10; this.txtLat.Text = "47.717"; // // PlacesList // this.PlacesList.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.PlacesList.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(82)))), ((int)(((byte)(105))))); this.PlacesList.BorderStyle = System.Windows.Forms.BorderStyle.None; this.PlacesList.ForeColor = System.Drawing.Color.White; this.PlacesList.Location = new System.Drawing.Point(10, 105); this.PlacesList.Name = "PlacesList"; this.PlacesList.Size = new System.Drawing.Size(174, 156); this.PlacesList.TabIndex = 4; this.PlacesList.SelectedIndexChanged += new System.EventHandler(this.PlacesList_SelectedIndexChanged); // // Remove // this.Remove.ForeColor = System.Drawing.Color.White; this.Remove.Location = new System.Drawing.Point(208, 197); this.Remove.Name = "Remove"; this.Remove.Size = new System.Drawing.Size(64, 23); this.Remove.TabIndex = 11; this.Remove.Text = "Remove"; this.Remove.Visible = false; this.Remove.Click += new System.EventHandler(this.Remove_Click); // // Add // this.Add.ForeColor = System.Drawing.Color.White; this.Add.Location = new System.Drawing.Point(280, 197); this.Add.Name = "Add"; this.Add.Size = new System.Drawing.Size(64, 23); this.Add.TabIndex = 12; this.Add.Text = "Add"; this.Add.Visible = false; this.Add.Click += new System.EventHandler(this.Add_Click); // // label1 // this.label1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(205, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(100, 16); this.label1.TabIndex = 5; this.label1.Text = "Name"; // // txtName // this.txtName.AcceptsReturn = true; this.txtName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(82)))), ((int)(((byte)(105))))); this.txtName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtName.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtName.ForeColor = System.Drawing.Color.White; this.txtName.Location = new System.Drawing.Point(208, 32); this.txtName.Name = "txtName"; this.txtName.Size = new System.Drawing.Size(136, 22); this.txtName.TabIndex = 6; this.txtName.Text = "<Type name here>"; this.txtName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // datasetLabel // this.datasetLabel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.datasetLabel.ForeColor = System.Drawing.Color.White; this.datasetLabel.Location = new System.Drawing.Point(9, 6); this.datasetLabel.Name = "datasetLabel"; this.datasetLabel.Size = new System.Drawing.Size(100, 16); this.datasetLabel.TabIndex = 0; this.datasetLabel.Text = "Data Set"; // // lblCatagory // this.lblCatagory.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblCatagory.ForeColor = System.Drawing.Color.White; this.lblCatagory.Location = new System.Drawing.Point(9, 50); this.lblCatagory.Name = "lblCatagory"; this.lblCatagory.Size = new System.Drawing.Size(100, 23); this.lblCatagory.TabIndex = 2; this.lblCatagory.Text = "Region"; // // label2 // this.label2.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.ForeColor = System.Drawing.Color.White; this.label2.Location = new System.Drawing.Point(205, 151); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(140, 16); this.label2.TabIndex = 9; this.label2.Text = "Elevation (Meters)"; // // txtAltitude // this.txtAltitude.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(82)))), ((int)(((byte)(105))))); this.txtAltitude.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtAltitude.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtAltitude.ForeColor = System.Drawing.Color.White; this.txtAltitude.Location = new System.Drawing.Point(208, 169); this.txtAltitude.Name = "txtAltitude"; this.txtAltitude.Size = new System.Drawing.Size(136, 22); this.txtAltitude.TabIndex = 10; this.txtAltitude.Text = "100"; this.txtAltitude.TextChanged += new System.EventHandler(this.txtAltitude_TextChanged); // // FromEarthView // this.FromEarthView.BackColor = System.Drawing.Color.Transparent; this.FromEarthView.DialogResult = System.Windows.Forms.DialogResult.None; this.FromEarthView.ImageDisabled = null; this.FromEarthView.ImageEnabled = null; this.FromEarthView.Location = new System.Drawing.Point(204, 197); this.FromEarthView.MaximumSize = new System.Drawing.Size(140, 33); this.FromEarthView.Name = "FromEarthView"; this.FromEarthView.Selected = false; this.FromEarthView.Size = new System.Drawing.Size(140, 33); this.FromEarthView.TabIndex = 15; this.FromEarthView.Text = "Get From View"; this.FromEarthView.Visible = false; this.FromEarthView.Click += new System.EventHandler(this.FromEarthView_Click); // // Categorys // this.Categorys.BackColor = System.Drawing.Color.Transparent; this.Categorys.DateTimeValue = new System.DateTime(2008, 1, 23, 20, 17, 47, 913); this.Categorys.Filter = TerraViewer.Classification.Unfiltered; this.Categorys.FilterStyle = false; this.Categorys.Location = new System.Drawing.Point(11, 64); this.Categorys.Margin = new System.Windows.Forms.Padding(0); this.Categorys.MaximumSize = new System.Drawing.Size(248, 33); this.Categorys.MinimumSize = new System.Drawing.Size(35, 33); this.Categorys.Name = "Categorys"; this.Categorys.SelectedIndex = -1; this.Categorys.Size = new System.Drawing.Size(179, 33); this.Categorys.State = TerraViewer.State.Rest; this.Categorys.TabIndex = 3; this.Categorys.Type = TerraViewer.WwtCombo.ComboType.List; this.Categorys.SelectionChanged += new TerraViewer.SelectionChangedEventHandler(this.Catagorys_SelectedIndexChanged); // // DataSetList // this.DataSetList.BackColor = System.Drawing.Color.Transparent; this.DataSetList.DateTimeValue = new System.DateTime(2008, 1, 23, 20, 17, 47, 933); this.DataSetList.Filter = TerraViewer.Classification.Unfiltered; this.DataSetList.FilterStyle = false; this.DataSetList.Location = new System.Drawing.Point(10, 19); this.DataSetList.Margin = new System.Windows.Forms.Padding(0); this.DataSetList.MaximumSize = new System.Drawing.Size(248, 33); this.DataSetList.MinimumSize = new System.Drawing.Size(35, 33); this.DataSetList.Name = "DataSetList"; this.DataSetList.SelectedIndex = -1; this.DataSetList.Size = new System.Drawing.Size(180, 33); this.DataSetList.State = TerraViewer.State.Rest; this.DataSetList.TabIndex = 1; this.DataSetList.Type = TerraViewer.WwtCombo.ComboType.List; this.DataSetList.SelectionChanged += new TerraViewer.SelectionChangedEventHandler(this.DataSetList_SelectedIndexChanged); // // Cancel // this.Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.Cancel.BackColor = System.Drawing.Color.Transparent; this.Cancel.DialogResult = System.Windows.Forms.DialogResult.None; this.Cancel.ImageDisabled = null; this.Cancel.ImageEnabled = null; this.Cancel.Location = new System.Drawing.Point(277, 240); this.Cancel.MaximumSize = new System.Drawing.Size(140, 33); this.Cancel.Name = "Cancel"; this.Cancel.Selected = false; this.Cancel.Size = new System.Drawing.Size(72, 33); this.Cancel.TabIndex = 14; this.Cancel.Text = "Cancel"; this.Cancel.Click += new System.EventHandler(this.cancelButton_Click); // // OK // this.OK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.OK.BackColor = System.Drawing.Color.Transparent; this.OK.DialogResult = System.Windows.Forms.DialogResult.None; this.OK.ImageDisabled = null; this.OK.ImageEnabled = null; this.OK.Location = new System.Drawing.Point(202, 240); this.OK.MaximumSize = new System.Drawing.Size(140, 33); this.OK.Name = "OK"; this.OK.Selected = false; this.OK.Size = new System.Drawing.Size(73, 33); this.OK.TabIndex = 13; this.OK.Text = "OK"; this.OK.Click += new System.EventHandler(this.goButton_Click); // // LocationSetup // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(22)))), ((int)(((byte)(31))))); this.ClientSize = new System.Drawing.Size(357, 285); this.Controls.Add(this.FromEarthView); this.Controls.Add(this.Categorys); this.Controls.Add(this.DataSetList); this.Controls.Add(this.Cancel); this.Controls.Add(this.OK); this.Controls.Add(this.lblCatagory); this.Controls.Add(this.datasetLabel); this.Controls.Add(this.txtName); this.Controls.Add(this.txtAltitude); this.Controls.Add(this.txtLat); this.Controls.Add(this.txtLong); this.Controls.Add(this.label1); this.Controls.Add(this.Add); this.Controls.Add(this.Remove); this.Controls.Add(this.PlacesList); this.Controls.Add(this.lblLongitude); this.Controls.Add(this.label2); this.Controls.Add(this.lblLatitude); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.KeyPreview = true; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "LocationSetup"; this.ShowInTaskbar = false; this.Text = "Observing Location Options"; this.Load += new System.EventHandler(this.GoToLatLong_Load); this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.SearchDialog_KeyPress); this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.SearchDialog_KeyUp); this.ResumeLayout(false); this.PerformLayout(); }