diff --git a/AirScout/AirScout.csproj b/AirScout/AirScout.csproj index 931e65c..454add3 100644 --- a/AirScout/AirScout.csproj +++ b/AirScout/AirScout.csproj @@ -196,6 +196,12 @@ LicenseDlg.cs + + Component + + + PercentageControl.cs + Form @@ -344,6 +350,9 @@ MapStationDlg.cs + + PercentageControl.cs + PlaneFeedDisclaimerDlg.cs diff --git a/AirScout/MapDlg.Designer.cs b/AirScout/MapDlg.Designer.cs index ee42203..630ea88 100644 --- a/AirScout/MapDlg.Designer.cs +++ b/AirScout/MapDlg.Designer.cs @@ -40,6 +40,7 @@ this.ag_Azimuth = new AquaControls.AquaGauge(); this.ag_Elevation = new AquaControls.AquaGauge(); this.gm_Main = new GMap.NET.WindowsForms.GMapControl(); + this.gm_Cache = new GMap.NET.WindowsForms.GMapControl(); this.tp_News = new System.Windows.Forms.TabPage(); this.tc_Main = new System.Windows.Forms.TabControl(); this.tp_Elevation = new System.Windows.Forms.TabPage(); @@ -104,6 +105,8 @@ this.tsl_Database_LED_GLOBE = new System.Windows.Forms.ToolStripStatusLabel(); this.tsl_Database_LED_SRTM3 = new System.Windows.Forms.ToolStripStatusLabel(); this.tsl_Database_LED_SRTM1 = new System.Windows.Forms.ToolStripStatusLabel(); + this.tsl_Database_LED_ASTER3 = new System.Windows.Forms.ToolStripStatusLabel(); + this.tsl_Database_LED_ASTER1 = new System.Windows.Forms.ToolStripStatusLabel(); this.tt_Main = new System.Windows.Forms.ToolTip(this.components); this.btn_Map_PlayPause = new System.Windows.Forms.Button(); this.btn_Map_Save = new System.Windows.Forms.Button(); @@ -174,7 +177,6 @@ this.bw_Analysis_FileSaver = new System.ComponentModel.BackgroundWorker(); this.bw_Analysis_FileLoader = new System.ComponentModel.BackgroundWorker(); this.bw_AirportMapper = new System.ComponentModel.BackgroundWorker(); - this.gm_Cache = new GMap.NET.WindowsForms.GMapControl(); ((System.ComponentModel.ISupportInitialize)(this.sc_Map)).BeginInit(); this.sc_Map.Panel1.SuspendLayout(); this.sc_Map.Panel2.SuspendLayout(); @@ -334,6 +336,7 @@ this.gm_Main.MouseWheelZoomType = GMap.NET.MouseWheelZoomType.MousePositionAndCenter; this.gm_Main.Name = "gm_Main"; this.gm_Main.NegativeMode = false; + this.gm_Main.Opacity = 1D; this.gm_Main.PolygonsEnabled = true; this.gm_Main.RetryLoadTile = 0; this.gm_Main.RoutesEnabled = true; @@ -352,6 +355,32 @@ this.gm_Main.MouseMove += new System.Windows.Forms.MouseEventHandler(this.gm_Main_MouseMove); this.gm_Main.MouseUp += new System.Windows.Forms.MouseEventHandler(this.gm_Main_MouseUp); // + // gm_Cache + // + this.gm_Cache.Bearing = 0F; + this.gm_Cache.CanDragMap = true; + this.gm_Cache.Dock = System.Windows.Forms.DockStyle.Fill; + this.gm_Cache.EmptyTileColor = System.Drawing.Color.Navy; + this.gm_Cache.GrayScaleMode = false; + this.gm_Cache.HelperLineOption = GMap.NET.WindowsForms.HelperLineOptions.DontShow; + this.gm_Cache.LevelsKeepInMemmory = 5; + this.gm_Cache.Location = new System.Drawing.Point(3, 3); + this.gm_Cache.MarkersEnabled = true; + this.gm_Cache.MaxZoom = 2; + this.gm_Cache.MinZoom = 2; + this.gm_Cache.MouseWheelZoomType = GMap.NET.MouseWheelZoomType.MousePositionAndCenter; + this.gm_Cache.Name = "gm_Cache"; + this.gm_Cache.NegativeMode = false; + this.gm_Cache.Opacity = 1D; + this.gm_Cache.PolygonsEnabled = true; + this.gm_Cache.RetryLoadTile = 0; + this.gm_Cache.RoutesEnabled = true; + this.gm_Cache.SelectedAreaFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(65)))), ((int)(((byte)(105)))), ((int)(((byte)(225))))); + this.gm_Cache.ShowTileGridLines = false; + this.gm_Cache.Size = new System.Drawing.Size(838, 309); + this.gm_Cache.TabIndex = 29; + this.gm_Cache.Zoom = 0D; + // // tp_News // this.tp_News.Location = new System.Drawing.Point(4, 22); @@ -599,6 +628,7 @@ this.gm_Nearest.MouseWheelZoomType = GMap.NET.MouseWheelZoomType.MousePositionAndCenter; this.gm_Nearest.Name = "gm_Nearest"; this.gm_Nearest.NegativeMode = false; + this.gm_Nearest.Opacity = 1D; this.gm_Nearest.PolygonsEnabled = true; this.gm_Nearest.RetryLoadTile = 0; this.gm_Nearest.RoutesEnabled = true; @@ -1042,7 +1072,9 @@ this.tsl_Database_LED_Stations, this.tsl_Database_LED_GLOBE, this.tsl_Database_LED_SRTM3, - this.tsl_Database_LED_SRTM1}); + this.tsl_Database_LED_SRTM1, + this.tsl_Database_LED_ASTER3, + this.tsl_Database_LED_ASTER1}); this.ss_Main.Location = new System.Drawing.Point(0, 706); this.ss_Main.Name = "ss_Main"; this.ss_Main.ShowItemToolTips = true; @@ -1057,7 +1089,7 @@ | System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom))); this.tsl_Status.BorderStyle = System.Windows.Forms.Border3DStyle.SunkenInner; this.tsl_Status.Name = "tsl_Status"; - this.tsl_Status.Size = new System.Drawing.Size(742, 19); + this.tsl_Status.Size = new System.Drawing.Size(714, 19); this.tsl_Status.Spring = true; this.tsl_Status.Text = "No Messages."; this.tsl_Status.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -1154,6 +1186,32 @@ this.tsl_Database_LED_SRTM1.Text = " SRTM3 database status LED"; this.tsl_Database_LED_SRTM1.ToolTipText = "SRTM1 database status LED"; // + // tsl_Database_LED_ASTER3 + // + this.tsl_Database_LED_ASTER3.AutoSize = false; + this.tsl_Database_LED_ASTER3.BackColor = System.Drawing.Color.Plum; + this.tsl_Database_LED_ASTER3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.None; + this.tsl_Database_LED_ASTER3.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tsl_Database_LED_ASTER3.Image = ((System.Drawing.Image)(resources.GetObject("tsl_Database_LED_ASTER3.Image"))); + this.tsl_Database_LED_ASTER3.Margin = new System.Windows.Forms.Padding(1, 5, 1, 5); + this.tsl_Database_LED_ASTER3.Name = "tsl_Database_LED_ASTER3"; + this.tsl_Database_LED_ASTER3.Size = new System.Drawing.Size(12, 14); + this.tsl_Database_LED_ASTER3.Text = " SRTM3 database status LED"; + this.tsl_Database_LED_ASTER3.ToolTipText = "SRTM3 database status LED"; + // + // tsl_Database_LED_ASTER1 + // + this.tsl_Database_LED_ASTER1.AutoSize = false; + this.tsl_Database_LED_ASTER1.BackColor = System.Drawing.Color.Plum; + this.tsl_Database_LED_ASTER1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.None; + this.tsl_Database_LED_ASTER1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tsl_Database_LED_ASTER1.Image = ((System.Drawing.Image)(resources.GetObject("tsl_Database_LED_ASTER1.Image"))); + this.tsl_Database_LED_ASTER1.Margin = new System.Windows.Forms.Padding(1, 5, 1, 5); + this.tsl_Database_LED_ASTER1.Name = "tsl_Database_LED_ASTER1"; + this.tsl_Database_LED_ASTER1.Size = new System.Drawing.Size(12, 14); + this.tsl_Database_LED_ASTER1.Text = " SRTM3 database status LED"; + this.tsl_Database_LED_ASTER1.ToolTipText = "SRTM3 database status LED"; + // // btn_Map_PlayPause // this.btn_Map_PlayPause.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); @@ -1939,31 +1997,6 @@ this.bw_AirportMapper.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.bw_AirportMapper_ProgressChanged); this.bw_AirportMapper.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bw_AirportMapper_RunWorkerCompleted); // - // gm_Cache - // - this.gm_Cache.Bearing = 0F; - this.gm_Cache.CanDragMap = true; - this.gm_Cache.Dock = System.Windows.Forms.DockStyle.Fill; - this.gm_Cache.EmptyTileColor = System.Drawing.Color.Navy; - this.gm_Cache.GrayScaleMode = false; - this.gm_Cache.HelperLineOption = GMap.NET.WindowsForms.HelperLineOptions.DontShow; - this.gm_Cache.LevelsKeepInMemmory = 5; - this.gm_Cache.Location = new System.Drawing.Point(3, 3); - this.gm_Cache.MarkersEnabled = true; - this.gm_Cache.MaxZoom = 2; - this.gm_Cache.MinZoom = 2; - this.gm_Cache.MouseWheelZoomType = GMap.NET.MouseWheelZoomType.MousePositionAndCenter; - this.gm_Cache.Name = "gm_Cache"; - this.gm_Cache.NegativeMode = false; - this.gm_Cache.PolygonsEnabled = true; - this.gm_Cache.RetryLoadTile = 0; - this.gm_Cache.RoutesEnabled = true; - this.gm_Cache.SelectedAreaFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(65)))), ((int)(((byte)(105)))), ((int)(((byte)(225))))); - this.gm_Cache.ShowTileGridLines = false; - this.gm_Cache.Size = new System.Drawing.Size(838, 309); - this.gm_Cache.TabIndex = 29; - this.gm_Cache.Zoom = 0D; - // // MapDlg // this.AcceptButton = this.btn_Map_PlayPause; @@ -2178,6 +2211,8 @@ private GMap.NET.WindowsForms.GMapControl gm_Main; private System.Windows.Forms.TabPage tp_News; private GMap.NET.WindowsForms.GMapControl gm_Cache; + private System.Windows.Forms.ToolStripStatusLabel tsl_Database_LED_ASTER3; + private System.Windows.Forms.ToolStripStatusLabel tsl_Database_LED_ASTER1; } } diff --git a/AirScout/MapDlg.cs b/AirScout/MapDlg.cs index 37bb784..8f5b30d 100644 --- a/AirScout/MapDlg.cs +++ b/AirScout/MapDlg.cs @@ -388,6 +388,8 @@ namespace AirScout public ElevationDatabaseUpdater bw_GLOBEUpdater = new ElevationDatabaseUpdater(); public ElevationDatabaseUpdater bw_SRTM3Updater = new ElevationDatabaseUpdater(); public ElevationDatabaseUpdater bw_SRTM1Updater = new ElevationDatabaseUpdater(); + public ElevationDatabaseUpdater bw_ASTER3Updater = new ElevationDatabaseUpdater(); + public ElevationDatabaseUpdater bw_ASTER1Updater = new ElevationDatabaseUpdater(); public StationDatabaseUpdater bw_StationDatabaseUpdater = new StationDatabaseUpdater(); public AircraftDatabaseUpdater bw_AircraftDatabaseUpdater = new AircraftDatabaseUpdater(); @@ -397,6 +399,8 @@ namespace AirScout public PathCalculator bw_GLOBEPathCalculator = new PathCalculator(ELEVATIONMODEL.GLOBE); public PathCalculator bw_SRTM3PathCalculator = new PathCalculator(ELEVATIONMODEL.SRTM3); public PathCalculator bw_SRTM1PathCalculator = new PathCalculator(ELEVATIONMODEL.SRTM1); + public PathCalculator bw_ASTER3PathCalculator = new PathCalculator(ELEVATIONMODEL.ASTER3); + public PathCalculator bw_ASTER1PathCalculator = new PathCalculator(ELEVATIONMODEL.ASTER1); public MapPreloader bw_MapPreloader = new MapPreloader(); @@ -476,6 +480,10 @@ namespace AirScout // force culture invariant language for GUI Application.CurrentCulture = CultureInfo.InvariantCulture; + // set security protocol to TLS1.2 globally + // this will work even on .NET 4.0 for most operating systems > Windows XP + ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072; //TLS 1.2 + InitializeComponent(); // do basic initialization @@ -517,6 +525,8 @@ namespace AirScout bw_GLOBEUpdater.ProgressChanged += new ProgressChangedEventHandler(bw_ElevationDatabaseUpdater_ProgressChanged); bw_SRTM3Updater.ProgressChanged += new ProgressChangedEventHandler(bw_ElevationDatabaseUpdater_ProgressChanged); bw_SRTM1Updater.ProgressChanged += new ProgressChangedEventHandler(bw_ElevationDatabaseUpdater_ProgressChanged); + bw_ASTER3Updater.ProgressChanged += new ProgressChangedEventHandler(bw_ElevationDatabaseUpdater_ProgressChanged); + bw_ASTER1Updater.ProgressChanged += new ProgressChangedEventHandler(bw_ElevationDatabaseUpdater_ProgressChanged); // set station database updater event handler bw_StationDatabaseUpdater.ProgressChanged += new ProgressChangedEventHandler(bw_StationDatabaseUpdater_ProgressChanged); @@ -534,6 +544,8 @@ namespace AirScout bw_GLOBEPathCalculator.ProgressChanged += new ProgressChangedEventHandler(bw_ElevationPathCalculator_ProgressChanged); bw_SRTM3PathCalculator.ProgressChanged += new ProgressChangedEventHandler(bw_ElevationPathCalculator_ProgressChanged); bw_SRTM1PathCalculator.ProgressChanged += new ProgressChangedEventHandler(bw_ElevationPathCalculator_ProgressChanged); + bw_ASTER3PathCalculator.ProgressChanged += new ProgressChangedEventHandler(bw_ElevationPathCalculator_ProgressChanged); + bw_ASTER1PathCalculator.ProgressChanged += new ProgressChangedEventHandler(bw_ElevationPathCalculator_ProgressChanged); // set map preloader event handler bw_MapPreloader.ProgressChanged += new ProgressChangedEventHandler(bw_MapPreloader_ProgressChanged); @@ -1036,6 +1048,8 @@ namespace AirScout Properties.Settings.Default.Elevation_GLOBE_DatabaseStatus = DATABASESTATUS.UNDEFINED; Properties.Settings.Default.Elevation_SRTM3_DatabaseStatus = DATABASESTATUS.UNDEFINED; Properties.Settings.Default.Elevation_SRTM1_DatabaseStatus = DATABASESTATUS.UNDEFINED; + Properties.Settings.Default.Elevation_ASTER3_DatabaseStatus = DATABASESTATUS.UNDEFINED; + Properties.Settings.Default.Elevation_ASTER1_DatabaseStatus = DATABASESTATUS.UNDEFINED; // set nearfield suppression PropagationData.Database.NearFieldSuppression = Properties.Settings.Default.Path_NearFieldSuppression; // get all database directories and store it in settings @@ -1119,6 +1133,7 @@ namespace AirScout gm_Main.Overlays.Add(gmo_Objects); gm_Main.Overlays.Add(gmo_Planes); gm_Main.Overlays.Add(gmo_Callsigns); + gm_Main.Opacity = (double)Properties.Settings.Default.Map_Opacity; // setting User Agent to fix Open Street Map issue 2016-09-20 GMap.NET.MapProviders.GMapProvider.UserAgent = "AirScout"; @@ -1608,12 +1623,42 @@ namespace AirScout startoptions.FileCacheEnabled = Properties.Settings.Default.Elevation_SRTM1_EnableCache; bw_SRTM1Updater.RunWorkerAsync(startoptions); } + if (Properties.Settings.Default.Elevation_ASTER3_Enabled && (bw_ASTER3Updater != null) && !bw_ASTER3Updater.IsBusy) + { + ElevationDatabaseUpdaterStartOptions startoptions = new ElevationDatabaseUpdaterStartOptions(); + startoptions.Name = "ASTER3"; + startoptions.Options = BACKGROUNDUPDATERSTARTOPTIONS.RUNONCE; + startoptions.Model = ELEVATIONMODEL.ASTER3; + startoptions.MinLat = Properties.Settings.Default.MinLat; + startoptions.MinLon = Properties.Settings.Default.MinLon; + startoptions.MaxLat = Properties.Settings.Default.MaxLat; + startoptions.MaxLon = Properties.Settings.Default.MaxLon; + startoptions.FileCacheEnabled = Properties.Settings.Default.Elevation_ASTER3_EnableCache; + bw_ASTER3Updater.RunWorkerAsync(startoptions); + } + if (Properties.Settings.Default.Elevation_ASTER1_Enabled && (bw_ASTER1Updater != null) && !bw_ASTER1Updater.IsBusy) + { + ElevationDatabaseUpdaterStartOptions startoptions = new ElevationDatabaseUpdaterStartOptions(); + startoptions.Name = "ASTER1"; + startoptions.Options = BACKGROUNDUPDATERSTARTOPTIONS.RUNONCE; + startoptions.Model = ELEVATIONMODEL.ASTER1; + startoptions.MinLat = Properties.Settings.Default.MinLat; + startoptions.MinLon = Properties.Settings.Default.MinLon; + startoptions.MaxLat = Properties.Settings.Default.MaxLat; + startoptions.MaxLon = Properties.Settings.Default.MaxLon; + startoptions.FileCacheEnabled = Properties.Settings.Default.Elevation_ASTER1_EnableCache; + bw_ASTER1Updater.RunWorkerAsync(startoptions); + } if (Properties.Settings.Default.Elevation_GLOBE_Enabled && (bw_GLOBEPathCalculator != null) && !bw_GLOBEPathCalculator.IsBusy) bw_GLOBEPathCalculator.RunWorkerAsync(BACKGROUNDUPDATERSTARTOPTIONS.RUNONCE); if (Properties.Settings.Default.Elevation_SRTM3_Enabled && (bw_SRTM3PathCalculator != null) && !bw_SRTM3PathCalculator.IsBusy) bw_SRTM3PathCalculator.RunWorkerAsync(BACKGROUNDUPDATERSTARTOPTIONS.RUNONCE); if (Properties.Settings.Default.Elevation_SRTM1_Enabled && (bw_SRTM1PathCalculator != null) && !bw_SRTM1PathCalculator.IsBusy) bw_SRTM1PathCalculator.RunWorkerAsync(BACKGROUNDUPDATERSTARTOPTIONS.RUNONCE); + if (Properties.Settings.Default.Elevation_ASTER3_Enabled && (bw_ASTER3PathCalculator != null) && !bw_ASTER3PathCalculator.IsBusy) + bw_ASTER3PathCalculator.RunWorkerAsync(BACKGROUNDUPDATERSTARTOPTIONS.RUNONCE); + if (Properties.Settings.Default.Elevation_ASTER1_Enabled && (bw_ASTER1PathCalculator != null) && !bw_ASTER1PathCalculator.IsBusy) + bw_ASTER1PathCalculator.RunWorkerAsync(BACKGROUNDUPDATERSTARTOPTIONS.RUNONCE); if (Properties.Settings.Default.Map_Preloader_Enabled && (bw_MapPreloader != null) && !bw_MapPreloader.IsBusy) bw_MapPreloader.RunWorkerAsync(BACKGROUNDUPDATERSTARTOPTIONS.RUNONCE); } @@ -1683,12 +1728,42 @@ namespace AirScout startoptions.FileCacheEnabled = Properties.Settings.Default.Elevation_SRTM1_EnableCache; bw_SRTM1Updater.RunWorkerAsync(startoptions); } + if (Properties.Settings.Default.Elevation_ASTER3_Enabled && (bw_ASTER3Updater != null) && !bw_ASTER3Updater.IsBusy) + { + ElevationDatabaseUpdaterStartOptions startoptions = new ElevationDatabaseUpdaterStartOptions(); + startoptions.Name = "ASTER3"; + startoptions.Options = BACKGROUNDUPDATERSTARTOPTIONS.RUNPERIODICALLY; + startoptions.Model = ELEVATIONMODEL.ASTER3; + startoptions.MinLat = Properties.Settings.Default.MinLat; + startoptions.MinLon = Properties.Settings.Default.MinLon; + startoptions.MaxLat = Properties.Settings.Default.MaxLat; + startoptions.MaxLon = Properties.Settings.Default.MaxLon; + startoptions.FileCacheEnabled = Properties.Settings.Default.Elevation_ASTER3_EnableCache; + bw_ASTER3Updater.RunWorkerAsync(startoptions); + } + if (Properties.Settings.Default.Elevation_ASTER1_Enabled && (bw_ASTER1Updater != null) && !bw_ASTER1Updater.IsBusy) + { + ElevationDatabaseUpdaterStartOptions startoptions = new ElevationDatabaseUpdaterStartOptions(); + startoptions.Name = "ASTER1"; + startoptions.Options = BACKGROUNDUPDATERSTARTOPTIONS.RUNPERIODICALLY; + startoptions.Model = ELEVATIONMODEL.ASTER1; + startoptions.MinLat = Properties.Settings.Default.MinLat; + startoptions.MinLon = Properties.Settings.Default.MinLon; + startoptions.MaxLat = Properties.Settings.Default.MaxLat; + startoptions.MaxLon = Properties.Settings.Default.MaxLon; + startoptions.FileCacheEnabled = Properties.Settings.Default.Elevation_ASTER1_EnableCache; + bw_ASTER1Updater.RunWorkerAsync(startoptions); + } if (Properties.Settings.Default.Elevation_GLOBE_Enabled && (bw_GLOBEPathCalculator != null) && !bw_GLOBEPathCalculator.IsBusy) bw_GLOBEPathCalculator.RunWorkerAsync(BACKGROUNDUPDATERSTARTOPTIONS.RUNPERIODICALLY); if (Properties.Settings.Default.Elevation_SRTM3_Enabled && (bw_SRTM3PathCalculator != null) && !bw_SRTM3PathCalculator.IsBusy) bw_SRTM3PathCalculator.RunWorkerAsync(BACKGROUNDUPDATERSTARTOPTIONS.RUNPERIODICALLY); if (Properties.Settings.Default.Elevation_SRTM1_Enabled && (bw_SRTM1PathCalculator != null) && !bw_SRTM1PathCalculator.IsBusy) bw_SRTM1PathCalculator.RunWorkerAsync(BACKGROUNDUPDATERSTARTOPTIONS.RUNPERIODICALLY); + if (Properties.Settings.Default.Elevation_ASTER3_Enabled && (bw_ASTER3PathCalculator != null) && !bw_ASTER3PathCalculator.IsBusy) + bw_ASTER3PathCalculator.RunWorkerAsync(BACKGROUNDUPDATERSTARTOPTIONS.RUNPERIODICALLY); + if (Properties.Settings.Default.Elevation_ASTER1_Enabled && (bw_ASTER1PathCalculator != null) && !bw_ASTER1PathCalculator.IsBusy) + bw_ASTER1PathCalculator.RunWorkerAsync(BACKGROUNDUPDATERSTARTOPTIONS.RUNPERIODICALLY); if (Properties.Settings.Default.Map_Preloader_Enabled && (bw_MapPreloader != null) && !bw_MapPreloader.IsBusy) bw_MapPreloader.RunWorkerAsync(BACKGROUNDUPDATERSTARTOPTIONS.RUNPERIODICALLY); } @@ -1739,7 +1814,7 @@ namespace AirScout { Say("Stopping background threads..."); // cancel permanent background workers, wait for finish - int bcount = 14; + int bcount = 16; int i = 1; // cancel all threads StopBackgroundworker(bw_WinTestReceive, nameof(bw_WinTestReceive), i, bcount); i++; @@ -1753,6 +1828,8 @@ namespace AirScout StopBackgroundworker(bw_GLOBEPathCalculator, nameof(bw_GLOBEPathCalculator), i, bcount); i++; StopBackgroundworker(bw_SRTM3PathCalculator, nameof(bw_SRTM3PathCalculator), i, bcount); i++; StopBackgroundworker(bw_SRTM1PathCalculator, nameof(bw_SRTM1PathCalculator), i, bcount); i++; + StopBackgroundworker(bw_ASTER3PathCalculator, nameof(bw_ASTER3PathCalculator), i, bcount); i++; + StopBackgroundworker(bw_ASTER1PathCalculator, nameof(bw_ASTER1PathCalculator), i, bcount); i++; StopBackgroundworker(bw_AircraftDatabaseUpdater, nameof(bw_AircraftDatabaseUpdater), i, bcount); i++; StopBackgroundworker(bw_StationDatabaseUpdater, nameof(bw_StationDatabaseUpdater), i, bcount); i++; StopBackgroundworker(bw_MapPreloader, nameof(bw_MapPreloader), i, bcount); i++; @@ -1796,12 +1873,20 @@ namespace AirScout bw_SRTM3Updater.CancelAsync(); if (bw_SRTM1Updater != null) bw_SRTM1Updater.CancelAsync(); + if (bw_ASTER3Updater != null) + bw_ASTER3Updater.CancelAsync(); + if (bw_ASTER1Updater != null) + bw_ASTER1Updater.CancelAsync(); if (bw_GLOBEPathCalculator != null) bw_GLOBEPathCalculator.CancelAsync(); if (bw_SRTM3PathCalculator != null) bw_SRTM3PathCalculator.CancelAsync(); if (bw_SRTM1PathCalculator != null) bw_SRTM1PathCalculator.CancelAsync(); + if (bw_ASTER3PathCalculator != null) + bw_ASTER3PathCalculator.CancelAsync(); + if (bw_ASTER1PathCalculator != null) + bw_ASTER1PathCalculator.CancelAsync(); } private Bitmap CreatePlaneIcon(Color color) @@ -2387,6 +2472,24 @@ namespace AirScout st.Stop(); Log.WriteMessage("Propagation database SRTM1 saved, " + st.ElapsedMilliseconds.ToString() + " ms."); } + if (PropagationData.Database.IsInMemory(ELEVATIONMODEL.ASTER3)) + { + Stopwatch st = new Stopwatch(); + st.Start(); + SayDatabase("Saving ASTER3 database..."); + PropagationData.Database.BackupDatabase(ELEVATIONMODEL.ASTER3); + st.Stop(); + Log.WriteMessage("Propagation database ASTER3 saved, " + st.ElapsedMilliseconds.ToString() + " ms."); + } + if (PropagationData.Database.IsInMemory(ELEVATIONMODEL.ASTER1)) + { + Stopwatch st = new Stopwatch(); + st.Start(); + SayDatabase("Saving ASTER1 database..."); + PropagationData.Database.BackupDatabase(ELEVATIONMODEL.ASTER1); + st.Stop(); + Log.WriteMessage("Propagation database ASTER1 saved, " + st.ElapsedMilliseconds.ToString() + " ms."); + } if (AircraftData.Database.IsInMemory()) { Stopwatch st = new Stopwatch(); @@ -2719,6 +2822,10 @@ namespace AirScout short elv = ElevationData.Database.ElvMissingFlag; // try to get elevation data from distinct elevation model // start with detailed one + if (Properties.Settings.Default.Elevation_ASTER1_Enabled && (elv == ElevationData.Database.ElvMissingFlag)) + elv = ElevationData.Database[lat, lon, ELEVATIONMODEL.ASTER1, false]; + if (Properties.Settings.Default.Elevation_ASTER3_Enabled && (elv == ElevationData.Database.ElvMissingFlag)) + elv = ElevationData.Database[lat, lon, ELEVATIONMODEL.ASTER3, false]; if (Properties.Settings.Default.Elevation_SRTM1_Enabled && (elv == ElevationData.Database.ElvMissingFlag)) elv = ElevationData.Database[lat, lon, ELEVATIONMODEL.SRTM1, false]; if (Properties.Settings.Default.Elevation_SRTM3_Enabled && (elv == ElevationData.Database.ElvMissingFlag)) @@ -2736,6 +2843,32 @@ namespace AirScout ElvMinMaxInfo elv = new ElvMinMaxInfo(); // try to get elevation data from distinct elevation model // start with detailed one + if (Properties.Settings.Default.Elevation_ASTER1_Enabled && (elv.MaxElv == ElevationData.Database.ElvMissingFlag)) + { + ElvMinMaxInfo info = ElevationData.Database.GetMaxElvLoc(loc, ELEVATIONMODEL.ASTER1, false); + if (info != null) + { + elv.MaxLat = info.MaxLat; + elv.MaxLon = info.MaxLon; + elv.MaxElv = info.MaxElv; + elv.MinLat = info.MinLat; + elv.MinLon = info.MinLon; + elv.MinElv = info.MinElv; + } + } + if (Properties.Settings.Default.Elevation_ASTER3_Enabled && (elv.MaxElv == ElevationData.Database.ElvMissingFlag)) + { + ElvMinMaxInfo info = ElevationData.Database.GetMaxElvLoc(loc, ELEVATIONMODEL.ASTER3, false); + if (info != null) + { + elv.MaxLat = info.MaxLat; + elv.MaxLon = info.MaxLon; + elv.MaxElv = info.MaxElv; + elv.MinLat = info.MinLat; + elv.MinLon = info.MinLon; + elv.MinElv = info.MinElv; + } + } if (Properties.Settings.Default.Elevation_SRTM1_Enabled && (elv.MaxElv == ElevationData.Database.ElvMissingFlag)) { ElvMinMaxInfo info = ElevationData.Database.GetMaxElvLoc(loc, ELEVATIONMODEL.SRTM1, false); @@ -2787,7 +2920,11 @@ namespace AirScout public void SetElevationModel() { - if (Properties.Settings.Default.Elevation_SRTM1_Enabled) + if (Properties.Settings.Default.Elevation_ASTER1_Enabled) + Properties.Settings.Default.ElevationModel = ELEVATIONMODEL.ASTER1; + else if (Properties.Settings.Default.Elevation_ASTER3_Enabled) + Properties.Settings.Default.ElevationModel = ELEVATIONMODEL.ASTER3; + else if (Properties.Settings.Default.Elevation_SRTM1_Enabled) Properties.Settings.Default.ElevationModel = ELEVATIONMODEL.SRTM1; else if (Properties.Settings.Default.Elevation_SRTM3_Enabled) Properties.Settings.Default.ElevationModel = ELEVATIONMODEL.SRTM3; @@ -2950,6 +3087,9 @@ namespace AirScout // update map provider gm_Main.MapProvider = GMapProviders.Find(Properties.Settings.Default.Map_Provider); + // update map opacity + gm_Main.Opacity = (double)Properties.Settings.Default.Map_Opacity; + // update ToolTipFont ToolTipFont = CreateFontFromString(Properties.Settings.Default.Map_ToolTipFont); @@ -3508,7 +3648,11 @@ namespace AirScout Charts_ShowLegends(5000); // refresh path info tp_Elevation.Text = "Pathinfo "; - if (Properties.Settings.Default.ElevationModel == ELEVATIONMODEL.SRTM1) + if (Properties.Settings.Default.ElevationModel == ELEVATIONMODEL.ASTER1) + tp_Elevation.Text = tp_Elevation.Text + "[ASTER1]"; + else if (Properties.Settings.Default.ElevationModel == ELEVATIONMODEL.ASTER3) + tp_Elevation.Text = tp_Elevation.Text + "[ASTER3]"; + else if (Properties.Settings.Default.ElevationModel == ELEVATIONMODEL.SRTM1) tp_Elevation.Text = tp_Elevation.Text + "[SRTM1]"; else if (Properties.Settings.Default.ElevationModel == ELEVATIONMODEL.SRTM3) tp_Elevation.Text = tp_Elevation.Text + "[SRTM3]"; @@ -7154,6 +7298,26 @@ namespace AirScout if (tsl_Database_LED_SRTM1.ToolTipText != text) tsl_Database_LED_SRTM1.ToolTipText = text; } + else if (sender == this.bw_ASTER3Updater) + { + Properties.Settings.Default.Elevation_ASTER3_DatabaseStatus = (DATABASESTATUS)e.UserState; + Color color = DatabaseStatus.GetDatabaseStatusColor(Properties.Settings.Default.Elevation_ASTER3_DatabaseStatus); + if (tsl_Database_LED_ASTER3.BackColor != color) + tsl_Database_LED_ASTER3.BackColor = color; + string text = "ASTER3 Database Status\n\n" + DatabaseStatus.GetDatabaseStatusText(Properties.Settings.Default.Elevation_ASTER3_DatabaseStatus); + if (tsl_Database_LED_ASTER3.ToolTipText != text) + tsl_Database_LED_ASTER3.ToolTipText = text; + } + else if (sender == this.bw_ASTER1Updater) + { + Properties.Settings.Default.Elevation_ASTER1_DatabaseStatus = (DATABASESTATUS)e.UserState; + Color color = DatabaseStatus.GetDatabaseStatusColor(Properties.Settings.Default.Elevation_ASTER1_DatabaseStatus); + if (tsl_Database_LED_ASTER1.BackColor != color) + tsl_Database_LED_ASTER1.BackColor = color; + string text = "ASTER1 Database Status\n\n" + DatabaseStatus.GetDatabaseStatusText(Properties.Settings.Default.Elevation_ASTER1_DatabaseStatus); + if (tsl_Database_LED_ASTER1.ToolTipText != text) + tsl_Database_LED_ASTER1.ToolTipText = text; + } } if (!this.Disposing && (ss_Main != null)) ss_Main.Update(); diff --git a/AirScout/MapDlg.resx b/AirScout/MapDlg.resx index a29f15c..735db0f 100644 --- a/AirScout/MapDlg.resx +++ b/AirScout/MapDlg.resx @@ -125,7 +125,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACc - DQAAAk1TRnQBSQFMAgEBAwEAAYgBCwGIAQsBIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo + DQAAAk1TRnQBSQFMAgEBAwEAAagBCwGoAQsBIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo AwABgAMAASADAAEBAQABCAYAARAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA @@ -330,6 +330,18 @@ iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO wwAADsMBx2+oZAAAABBJREFUGFdjqMcBhpREfT0AN/NfQdTsp04AAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAABBJREFUGFdjqMcBhpREfT0AN/NfQdTsp04AAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAABBJREFUGFdjqMcBhpREfT0AN/NfQdTsp04AAAAASUVORK5CYII= @@ -340,7 +352,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACM - DAAAAk1TRnQBSQFMAwEBAAHwAQkB8AEJASABAAEgAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA + DAAAAk1TRnQBSQFMAwEBAAEQAQoBEAEKASABAAEgAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA AYADAAEgAwABAQEAAQgGAAEQGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHAAdwBwAEA AfABygGmAQABMwUAATMBAAEzAQABMwEAAjMCAAMWAQADHAEAAyIBAAMpAQADVQEAA00BAANCAQADOQEA AYABfAH/AQACUAH/AQABkwEAAdYBAAH/AewBzAEAAcYB1gHvAQAB1gLnAQABkAGpAa0CAAH/ATMDAAFm diff --git a/AirScout/OptionsDlg.Designer.cs b/AirScout/OptionsDlg.Designer.cs index 5c23f23..30fdbe7 100644 --- a/AirScout/OptionsDlg.Designer.cs +++ b/AirScout/OptionsDlg.Designer.cs @@ -38,32 +38,20 @@ this.btn_Options_DXUpdate = new System.Windows.Forms.Button(); this.btn_Options_DeleteAllElevationPaths = new System.Windows.Forms.Button(); this.btn_Options_DeleteAllPropagationPaths = new System.Windows.Forms.Button(); - this.cb_Options_Locations_RestrictToAreaOfInterest = new System.Windows.Forms.CheckBox(); - this.cb_Options_Path_BestCaseElevation = new System.Windows.Forms.CheckBox(); - this.cb_Options_Planes_KeepHistory = new System.Windows.Forms.CheckBox(); this.btn_Options_Open_TmpDirectory = new System.Windows.Forms.Button(); this.btn_Options_Open_LogDirectory = new System.Windows.Forms.Button(); this.btn_DeleteAllMapTiles = new System.Windows.Forms.Button(); this.btn_Options_Open_PluginDirectory = new System.Windows.Forms.Button(); this.btn_Options_Open_AirScoutDirectory = new System.Windows.Forms.Button(); - this.pb_Donate = new System.Windows.Forms.PictureBox(); this.tab_Options_Planes = new System.Windows.Forms.TabPage(); this.groupBox48 = new System.Windows.Forms.GroupBox(); - this.int32TextBox1 = new ScoutBase.Core.Int32TextBox(); this.label33 = new System.Windows.Forms.Label(); - this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled = new System.Windows.Forms.CheckBox(); - this.tb_Options_Planes_Interval = new ScoutBase.Core.Int32TextBox(); this.label22 = new System.Windows.Forms.Label(); - this.cb_Options_Planes_LogErrors = new System.Windows.Forms.CheckBox(); this.groupBox40 = new System.Windows.Forms.GroupBox(); this.label55 = new System.Windows.Forms.Label(); - this.ud_Options_Planes_Position_DatabaseLifetime = new System.Windows.Forms.NumericUpDown(); this.label53 = new System.Windows.Forms.Label(); this.label32 = new System.Windows.Forms.Label(); this.groupBox38 = new System.Windows.Forms.GroupBox(); - this.tb_Options_Planes_Positions_TTL = new ScoutBase.Core.Int32TextBox(); - this.tb_Options_Planes_MaxAlt = new ScoutBase.Core.Int32TextBox(); - this.tb_Options_Planes_MinAlt = new ScoutBase.Core.Int32TextBox(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); @@ -71,8 +59,6 @@ this.label7 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.groupBox26 = new System.Windows.Forms.GroupBox(); - this.tb_Options_Planes_Filter_MinAlt = new ScoutBase.Core.Int32TextBox(); - this.tb_Options_Planes_Filter_Max_Circumcircle = new ScoutBase.Core.Int32TextBox(); this.label96 = new System.Windows.Forms.Label(); this.label94 = new System.Windows.Forms.Label(); this.label95 = new System.Windows.Forms.Label(); @@ -101,9 +87,8 @@ this.cb_Options_PlaneFeed1 = new System.Windows.Forms.ComboBox(); this.tab_Options_Path = new System.Windows.Forms.TabPage(); this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.label145 = new System.Windows.Forms.Label(); this.btn_Options_Path_Export = new System.Windows.Forms.Button(); - this.tb_Options_Path_MaxLength = new ScoutBase.Core.DoubleTextBox(); + this.label147 = new System.Windows.Forms.Label(); this.label131 = new System.Windows.Forms.Label(); this.label130 = new System.Windows.Forms.Label(); this.tb_Options_Path_StepWidth = new System.Windows.Forms.TextBox(); @@ -118,8 +103,6 @@ this.groupBox13 = new System.Windows.Forms.GroupBox(); this.gm_Options_SRTM1 = new GMap.NET.WindowsForms.GMapControl(); this.groupBox12 = new System.Windows.Forms.GroupBox(); - this.cb_Options_Elevation_SRTM1_EnableCache = new System.Windows.Forms.CheckBox(); - this.cb_Options_Elevation_SRTM1 = new System.Windows.Forms.CheckBox(); this.tab_Options_SRTM3 = new System.Windows.Forms.TabPage(); this.groupBox42 = new System.Windows.Forms.GroupBox(); this.label100 = new System.Windows.Forms.Label(); @@ -128,8 +111,6 @@ this.groupBox9 = new System.Windows.Forms.GroupBox(); this.gm_Options_SRTM3 = new GMap.NET.WindowsForms.GMapControl(); this.groupBox8 = new System.Windows.Forms.GroupBox(); - this.cb_Options_Elevation_SRTM3_EnableCache = new System.Windows.Forms.CheckBox(); - this.cb_Options_Elevation_SRTM3 = new System.Windows.Forms.CheckBox(); this.tab_Options_GLOBE = new System.Windows.Forms.TabPage(); this.groupBox41 = new System.Windows.Forms.GroupBox(); this.label99 = new System.Windows.Forms.Label(); @@ -138,30 +119,16 @@ this.groupBox11 = new System.Windows.Forms.GroupBox(); this.gm_Options_GLOBE = new GMap.NET.WindowsForms.GMapControl(); this.groupBox10 = new System.Windows.Forms.GroupBox(); - this.cb_Options_Elevation_GLOBE_EnableCache = new System.Windows.Forms.CheckBox(); - this.cb_Options_Elevation_GLOBE = new System.Windows.Forms.CheckBox(); this.tab_Options_Map = new System.Windows.Forms.TabPage(); this.groupBox49 = new System.Windows.Forms.GroupBox(); - this.cb_Options_Map_SmallMarkers = new System.Windows.Forms.CheckBox(); - this.cb_Options_Map_LabelCalls = new System.Windows.Forms.CheckBox(); this.groupBox37 = new System.Windows.Forms.GroupBox(); this.label34 = new System.Windows.Forms.Label(); - this.ud_Options_Charts_FontSize = new System.Windows.Forms.NumericUpDown(); this.groupBox39 = new System.Windows.Forms.GroupBox(); - this.tb_Options_Map_Update_Interval = new ScoutBase.Core.Int32TextBox(); this.label97 = new System.Windows.Forms.Label(); this.label29 = new System.Windows.Forms.Label(); this.groupBox23 = new System.Windows.Forms.GroupBox(); - this.ud_Options_Map_Preloader_MaxZoom = new System.Windows.Forms.NumericUpDown(); this.label144 = new System.Windows.Forms.Label(); - this.cb_Options_Map_Preloader_Enabled = new System.Windows.Forms.CheckBox(); - this.cb_Options_Watchlist_Activate = new System.Windows.Forms.CheckBox(); - this.cb_Options_Airports_Activate = new System.Windows.Forms.CheckBox(); this.groupBox30 = new System.Windows.Forms.GroupBox(); - this.tb_Options_Planes_IconSize_S = new ScoutBase.Core.Int32TextBox(); - this.tb_Options_Planes_IconSize_H = new ScoutBase.Core.Int32TextBox(); - this.tb_Options_Planes_IconSize_M = new ScoutBase.Core.Int32TextBox(); - this.tb_Options_Planes_IconSize_L = new ScoutBase.Core.Int32TextBox(); this.label84 = new System.Windows.Forms.Label(); this.label83 = new System.Windows.Forms.Label(); this.label82 = new System.Windows.Forms.Label(); @@ -172,23 +139,10 @@ this.label76 = new System.Windows.Forms.Label(); this.label74 = new System.Windows.Forms.Label(); this.label75 = new System.Windows.Forms.Label(); - this.cb_Options_InfoWin_Angle = new System.Windows.Forms.CheckBox(); - this.cb_Options_InfoWin_Speed = new System.Windows.Forms.CheckBox(); - this.cb_Options_InfoWin_Squint = new System.Windows.Forms.CheckBox(); - this.cb_Options_InfoWin_Epsilon = new System.Windows.Forms.CheckBox(); - this.cb_Options_InfoWin_Dist = new System.Windows.Forms.CheckBox(); - this.cb_Options_InfoWin_Time = new System.Windows.Forms.CheckBox(); - this.cb_Options_InfoWin_Type = new System.Windows.Forms.CheckBox(); - this.cb_Options_InfoWin_Track = new System.Windows.Forms.CheckBox(); - this.cb_Options_InfoWin_Alt = new System.Windows.Forms.CheckBox(); - this.cb_Options_InfoWin_Position = new System.Windows.Forms.CheckBox(); this.groupBox22 = new System.Windows.Forms.GroupBox(); - this.rb_Options_InfoWin_Imperial = new System.Windows.Forms.RadioButton(); - this.rb_Options_InfoWin_Metric = new System.Windows.Forms.RadioButton(); this.label72 = new System.Windows.Forms.Label(); this.btn_Options_SelectFont = new System.Windows.Forms.Button(); this.label62 = new System.Windows.Forms.Label(); - this.tb_Options_Map_ToolTipFont = new System.Windows.Forms.TextBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.label61 = new System.Windows.Forms.Label(); this.cb_Options_Map_Provider = new System.Windows.Forms.ComboBox(); @@ -225,17 +179,12 @@ this.label28 = new System.Windows.Forms.Label(); this.label41 = new System.Windows.Forms.Label(); this.groupBox14 = new System.Windows.Forms.GroupBox(); - this.cb_Options_SmallLettersForSubSquares = new System.Windows.Forms.CheckBox(); - this.cb_Options_Locator_AutoLength = new System.Windows.Forms.CheckBox(); this.label48 = new System.Windows.Forms.Label(); - this.ud_Options_Locator_MaxLength = new System.Windows.Forms.NumericUpDown(); this.groupBox16 = new System.Windows.Forms.GroupBox(); this.label52 = new System.Windows.Forms.Label(); this.groupBox5 = new System.Windows.Forms.GroupBox(); - this.btn_Options_DXMap = new System.Windows.Forms.Button(); this.tb_Options_DXLon = new ScoutBase.Core.DoubleTextBox(); this.tb_Options_DXLat = new ScoutBase.Core.DoubleTextBox(); - this.tb_Options_DXLoc = new ScoutBase.Core.LocatorTextBox(); this.tb_Options_DXCall = new ScoutBase.Core.CallsignTextBox(); this.label21 = new System.Windows.Forms.Label(); this.btn_Options_DXHorizon = new System.Windows.Forms.Button(); @@ -247,11 +196,9 @@ this.label43 = new System.Windows.Forms.Label(); this.label44 = new System.Windows.Forms.Label(); this.groupBox4 = new System.Windows.Forms.GroupBox(); - this.btn_Options_MyMap = new System.Windows.Forms.Button(); this.btn_Options_MyHorizon = new System.Windows.Forms.Button(); this.tb_Options_MyLon = new ScoutBase.Core.DoubleTextBox(); this.tb_Options_MyLat = new ScoutBase.Core.DoubleTextBox(); - this.tb_Options_MyLoc = new ScoutBase.Core.LocatorTextBox(); this.tb_Options_MyCall = new ScoutBase.Core.CallsignTextBox(); this.label18 = new System.Windows.Forms.Label(); this.btn_MyCall_QRZ = new System.Windows.Forms.Button(); @@ -263,10 +210,6 @@ this.label11 = new System.Windows.Forms.Label(); this.tab_Options_General = new System.Windows.Forms.TabPage(); this.groupBox25 = new System.Windows.Forms.GroupBox(); - this.tb_Coverage_MaxLat = new ScoutBase.Core.DoubleTextBox(); - this.tb_Coverage_MinLat = new ScoutBase.Core.DoubleTextBox(); - this.tb_Coverage_MaxLon = new ScoutBase.Core.DoubleTextBox(); - this.tb_Coverage_MinLon = new ScoutBase.Core.DoubleTextBox(); this.gm_Options_Coverage = new GMap.NET.WindowsForms.GMapControl(); this.label35 = new System.Windows.Forms.Label(); this.label54 = new System.Windows.Forms.Label(); @@ -278,9 +221,7 @@ this.groupBox27 = new System.Windows.Forms.GroupBox(); this.label108 = new System.Windows.Forms.Label(); this.gb_Options_Database_Settings = new System.Windows.Forms.GroupBox(); - this.cb_Options_Background_Calculations_Enable = new System.Windows.Forms.CheckBox(); this.label47 = new System.Windows.Forms.Label(); - this.ud_Options_Database_Update_Period = new System.Windows.Forms.NumericUpDown(); this.rb_Options_Database_Update_Periodically = new System.Windows.Forms.RadioButton(); this.rb_Options_Database_Update_OnStartup = new System.Windows.Forms.RadioButton(); this.rb_Options_Database_Update_Never = new System.Windows.Forms.RadioButton(); @@ -343,86 +284,65 @@ this.tb_Options_ScoutBase_Database_FileSize = new System.Windows.Forms.TextBox(); this.label50 = new System.Windows.Forms.Label(); this.label49 = new System.Windows.Forms.Label(); + this.tab_Options_ASTER3 = new System.Windows.Forms.TabPage(); + this.groupBox51 = new System.Windows.Forms.GroupBox(); + this.label146 = new System.Windows.Forms.Label(); + this.btn_Options_ASTER3_Copyright = new System.Windows.Forms.Button(); + this.groupBox52 = new System.Windows.Forms.GroupBox(); + this.gm_Options_ASTER3 = new GMap.NET.WindowsForms.GMapControl(); + this.groupBox53 = new System.Windows.Forms.GroupBox(); + this.tba_Option_ASTER1 = new System.Windows.Forms.TabPage(); + this.groupBox54 = new System.Windows.Forms.GroupBox(); + this.label145 = new System.Windows.Forms.Label(); + this.btn_Options_ASTER1_Copyright = new System.Windows.Forms.Button(); + this.groupBox55 = new System.Windows.Forms.GroupBox(); + this.gm_Options_ASTER1 = new GMap.NET.WindowsForms.GMapControl(); + this.groupBox56 = new System.Windows.Forms.GroupBox(); this.tab_Options_Alarm = new System.Windows.Forms.TabPage(); this.groupBox21 = new System.Windows.Forms.GroupBox(); - this.cb_Options_Alarm_Activate = new System.Windows.Forms.CheckBox(); this.groupBox19 = new System.Windows.Forms.GroupBox(); - this.cb_Options_Alarm_PlaySound = new System.Windows.Forms.CheckBox(); this.cb_Options_Alarm_BringWindowToFront = new System.Windows.Forms.CheckBox(); this.groupBox20 = new System.Windows.Forms.GroupBox(); - this.tb_Options_Alarm_Distance = new ScoutBase.Core.DoubleTextBox(); this.label36 = new System.Windows.Forms.Label(); this.label56 = new System.Windows.Forms.Label(); this.tab_Options_Network = new System.Windows.Forms.TabPage(); this.label86 = new System.Windows.Forms.Label(); this.groupBox32 = new System.Windows.Forms.GroupBox(); - this.tb_Options_Webserver_Port = new ScoutBase.Core.Int32TextBox(); this.label85 = new System.Windows.Forms.Label(); this.groupBox31 = new System.Windows.Forms.GroupBox(); - this.cb_Options_Server_Activate = new System.Windows.Forms.CheckBox(); this.label3 = new System.Windows.Forms.Label(); this.groupBox24 = new System.Windows.Forms.GroupBox(); - this.tb_Options_Server_Port = new ScoutBase.Core.Int32TextBox(); this.label6 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); - this.tb_Options_Server_Name = new System.Windows.Forms.TextBox(); this.tab_Options_SpecLab = new System.Windows.Forms.TabPage(); this.groupBox3 = new System.Windows.Forms.GroupBox(); - this.tb_Options_SpecLab_UpdateInterval = new ScoutBase.Core.DoubleTextBox(); - this.tb_Options_SpecLab_F2 = new ScoutBase.Core.Int32TextBox(); - this.tb_Options_SpecLab_F1 = new ScoutBase.Core.Int32TextBox(); this.label70 = new System.Windows.Forms.Label(); this.label71 = new System.Windows.Forms.Label(); this.label68 = new System.Windows.Forms.Label(); this.label69 = new System.Windows.Forms.Label(); this.label67 = new System.Windows.Forms.Label(); this.label66 = new System.Windows.Forms.Label(); - this.tb_SpecLab_FileName = new System.Windows.Forms.TextBox(); this.label63 = new System.Windows.Forms.Label(); this.label64 = new System.Windows.Forms.Label(); this.label65 = new System.Windows.Forms.Label(); - this.tb_SpecLab_URL = new System.Windows.Forms.TextBox(); - this.cb_SpecLab_Enabled = new System.Windows.Forms.CheckBox(); this.tab_Options_Track = new System.Windows.Forms.TabPage(); this.groupBox36 = new System.Windows.Forms.GroupBox(); - this.rb_Options_Track_File_None = new System.Windows.Forms.RadioButton(); - this.rb_Options_Track_File_WSJT = new System.Windows.Forms.RadioButton(); - this.rb_Options_Track_File_Native = new System.Windows.Forms.RadioButton(); this.groupBox35 = new System.Windows.Forms.GroupBox(); - this.rb_Options_Track_DDE_None = new System.Windows.Forms.RadioButton(); - this.rb_Options_Track_DDE_HRD = new System.Windows.Forms.RadioButton(); this.groupBox34 = new System.Windows.Forms.GroupBox(); - this.tb_Options_Track_UDP_AirScout_Port = new ScoutBase.Core.Int32TextBox(); - this.tb_Options_Track_UDP_WinTest_Port = new ScoutBase.Core.Int32TextBox(); this.label90 = new System.Windows.Forms.Label(); this.label89 = new System.Windows.Forms.Label(); - this.rb_Options_Track_UDP_None = new System.Windows.Forms.RadioButton(); - this.rb_Options_Track_UDP_AirScout = new System.Windows.Forms.RadioButton(); - this.rb_Options_Track_UDP_WinTest = new System.Windows.Forms.RadioButton(); this.groupBox33 = new System.Windows.Forms.GroupBox(); - this.tb_Options_Track_Serial_Baudrate = new ScoutBase.Core.Int32TextBox(); - this.rb_Options_Track_Serial_None = new System.Windows.Forms.RadioButton(); this.label88 = new System.Windows.Forms.Label(); this.label87 = new System.Windows.Forms.Label(); - this.tb_Options_Track_Serial_Port = new System.Windows.Forms.TextBox(); - this.rb_Options_Track_Serial_GS232_AZEL = new System.Windows.Forms.RadioButton(); - this.rb_Options_Track_Serial_GS232_AZ = new System.Windows.Forms.RadioButton(); this.groupBox28 = new System.Windows.Forms.GroupBox(); - this.cb_Options_Track_Activate = new System.Windows.Forms.CheckBox(); this.tab_Options_Watchlist = new System.Windows.Forms.TabPage(); this.groupBox50 = new System.Windows.Forms.GroupBox(); - this.pictureBox3 = new System.Windows.Forms.PictureBox(); - this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.label37 = new System.Windows.Forms.Label(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.btn_Options_Watchlist_Clear = new System.Windows.Forms.Button(); this.groupBox17 = new System.Windows.Forms.GroupBox(); - this.cb_Options_Watchlist_SyncWithKST = new System.Windows.Forms.CheckBox(); - this.tb_Options_Watchlist_MaxCount = new ScoutBase.Core.Int32TextBox(); this.label31 = new System.Windows.Forms.Label(); this.btn_Options_Watchlist_Manage = new System.Windows.Forms.Button(); this.tab_Options_Misc = new System.Windows.Forms.TabPage(); - this.pictureBox4 = new System.Windows.Forms.PictureBox(); this.label143 = new System.Windows.Forms.Label(); this.groupBox15 = new System.Windows.Forms.GroupBox(); this.tab_Options_Info = new System.Windows.Forms.TabPage(); @@ -451,11 +371,111 @@ this.bw_SRTM1_MapUpdater = new System.ComponentModel.BackgroundWorker(); this.bw_GLOBE_MapUpdater = new System.ComponentModel.BackgroundWorker(); this.bw_StationDataUpdater = new System.ComponentModel.BackgroundWorker(); - ((System.ComponentModel.ISupportInitialize)(this.pb_Donate)).BeginInit(); + this.bw_ASTER3_MapUpdater = new System.ComponentModel.BackgroundWorker(); + this.bw_ASTER1_MapUpdater = new System.ComponentModel.BackgroundWorker(); + this.label148 = new System.Windows.Forms.Label(); + this.tb_Coverage_MaxLat = new ScoutBase.Core.DoubleTextBox(); + this.tb_Coverage_MinLat = new ScoutBase.Core.DoubleTextBox(); + this.tb_Coverage_MaxLon = new ScoutBase.Core.DoubleTextBox(); + this.tb_Coverage_MinLon = new ScoutBase.Core.DoubleTextBox(); + this.cb_Options_Background_Calculations_Enable = new System.Windows.Forms.CheckBox(); + this.ud_Options_Database_Update_Period = new System.Windows.Forms.NumericUpDown(); + this.cb_Options_Locations_RestrictToAreaOfInterest = new System.Windows.Forms.CheckBox(); + this.cb_Options_SmallLettersForSubSquares = new System.Windows.Forms.CheckBox(); + this.cb_Options_Locator_AutoLength = new System.Windows.Forms.CheckBox(); + this.ud_Options_Locator_MaxLength = new System.Windows.Forms.NumericUpDown(); + this.tb_Options_DXLoc = new ScoutBase.Core.LocatorTextBox(); + this.tb_Options_MyLoc = new ScoutBase.Core.LocatorTextBox(); + this.cb_Options_Map_SmallMarkers = new System.Windows.Forms.CheckBox(); + this.cb_Options_Map_LabelCalls = new System.Windows.Forms.CheckBox(); + this.ud_Options_Charts_FontSize = new System.Windows.Forms.NumericUpDown(); + this.tb_Options_Map_Update_Interval = new ScoutBase.Core.Int32TextBox(); + this.ud_Options_Map_Preloader_MaxZoom = new System.Windows.Forms.NumericUpDown(); + this.cb_Options_Map_Preloader_Enabled = new System.Windows.Forms.CheckBox(); + this.cb_Options_Watchlist_Activate = new System.Windows.Forms.CheckBox(); + this.cb_Options_Airports_Activate = new System.Windows.Forms.CheckBox(); + this.tb_Options_Planes_IconSize_S = new ScoutBase.Core.Int32TextBox(); + this.tb_Options_Planes_IconSize_H = new ScoutBase.Core.Int32TextBox(); + this.tb_Options_Planes_IconSize_M = new ScoutBase.Core.Int32TextBox(); + this.tb_Options_Planes_IconSize_L = new ScoutBase.Core.Int32TextBox(); + this.cb_Options_InfoWin_Angle = new System.Windows.Forms.CheckBox(); + this.cb_Options_InfoWin_Speed = new System.Windows.Forms.CheckBox(); + this.cb_Options_InfoWin_Squint = new System.Windows.Forms.CheckBox(); + this.cb_Options_InfoWin_Epsilon = new System.Windows.Forms.CheckBox(); + this.cb_Options_InfoWin_Dist = new System.Windows.Forms.CheckBox(); + this.cb_Options_InfoWin_Time = new System.Windows.Forms.CheckBox(); + this.cb_Options_InfoWin_Type = new System.Windows.Forms.CheckBox(); + this.cb_Options_InfoWin_Track = new System.Windows.Forms.CheckBox(); + this.cb_Options_InfoWin_Alt = new System.Windows.Forms.CheckBox(); + this.cb_Options_InfoWin_Position = new System.Windows.Forms.CheckBox(); + this.rb_Options_InfoWin_Imperial = new System.Windows.Forms.RadioButton(); + this.rb_Options_InfoWin_Metric = new System.Windows.Forms.RadioButton(); + this.tb_Options_Map_ToolTipFont = new System.Windows.Forms.TextBox(); + this.cb_Options_Elevation_GLOBE_EnableCache = new System.Windows.Forms.CheckBox(); + this.cb_Options_Elevation_GLOBE = new System.Windows.Forms.CheckBox(); + this.cb_Options_Elevation_SRTM3_EnableCache = new System.Windows.Forms.CheckBox(); + this.cb_Options_Elevation_SRTM3 = new System.Windows.Forms.CheckBox(); + this.cb_Options_Elevation_SRTM1_EnableCache = new System.Windows.Forms.CheckBox(); + this.cb_Options_Elevation_SRTM1 = new System.Windows.Forms.CheckBox(); + this.cb_Options_Elevation_ASTER3_EnableCache = new System.Windows.Forms.CheckBox(); + this.cb_Options_Elevation_ASTER3 = new System.Windows.Forms.CheckBox(); + this.cb_Options_Elevation_ASTER1_EnableCache = new System.Windows.Forms.CheckBox(); + this.cb_Options_Elevation_ASTER1 = new System.Windows.Forms.CheckBox(); + this.tb_Options_Path_MaxLength = new ScoutBase.Core.DoubleTextBox(); + this.cb_Options_Path_BestCaseElevation = new System.Windows.Forms.CheckBox(); + this.int32TextBox1 = new ScoutBase.Core.Int32TextBox(); + this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled = new System.Windows.Forms.CheckBox(); + this.tb_Options_Planes_Interval = new ScoutBase.Core.Int32TextBox(); + this.cb_Options_Planes_LogErrors = new System.Windows.Forms.CheckBox(); + this.cb_Options_Planes_KeepHistory = new System.Windows.Forms.CheckBox(); + this.ud_Options_Planes_Position_DatabaseLifetime = new System.Windows.Forms.NumericUpDown(); + this.tb_Options_Planes_Positions_TTL = new ScoutBase.Core.Int32TextBox(); + this.tb_Options_Planes_MaxAlt = new ScoutBase.Core.Int32TextBox(); + this.tb_Options_Planes_MinAlt = new ScoutBase.Core.Int32TextBox(); + this.tb_Options_Planes_Filter_MinAlt = new ScoutBase.Core.Int32TextBox(); + this.tb_Options_Planes_Filter_Max_Circumcircle = new ScoutBase.Core.Int32TextBox(); + this.cb_Options_Alarm_Activate = new System.Windows.Forms.CheckBox(); + this.cb_Options_Alarm_PlaySound = new System.Windows.Forms.CheckBox(); + this.tb_Options_Alarm_Distance = new ScoutBase.Core.DoubleTextBox(); + this.tb_Options_Webserver_Port = new ScoutBase.Core.Int32TextBox(); + this.cb_Options_Server_Activate = new System.Windows.Forms.CheckBox(); + this.tb_Options_Server_Port = new ScoutBase.Core.Int32TextBox(); + this.tb_Options_Server_Name = new System.Windows.Forms.TextBox(); + this.tb_Options_SpecLab_UpdateInterval = new ScoutBase.Core.DoubleTextBox(); + this.tb_Options_SpecLab_F2 = new ScoutBase.Core.Int32TextBox(); + this.tb_Options_SpecLab_F1 = new ScoutBase.Core.Int32TextBox(); + this.tb_SpecLab_FileName = new System.Windows.Forms.TextBox(); + this.tb_SpecLab_URL = new System.Windows.Forms.TextBox(); + this.cb_SpecLab_Enabled = new System.Windows.Forms.CheckBox(); + this.rb_Options_Track_File_None = new System.Windows.Forms.RadioButton(); + this.rb_Options_Track_File_WSJT = new System.Windows.Forms.RadioButton(); + this.rb_Options_Track_File_Native = new System.Windows.Forms.RadioButton(); + this.rb_Options_Track_DDE_None = new System.Windows.Forms.RadioButton(); + this.rb_Options_Track_DDE_HRD = new System.Windows.Forms.RadioButton(); + this.tb_Options_Track_UDP_AirScout_Port = new ScoutBase.Core.Int32TextBox(); + this.tb_Options_Track_UDP_WinTest_Port = new ScoutBase.Core.Int32TextBox(); + this.rb_Options_Track_UDP_None = new System.Windows.Forms.RadioButton(); + this.rb_Options_Track_UDP_AirScout = new System.Windows.Forms.RadioButton(); + this.rb_Options_Track_UDP_WinTest = new System.Windows.Forms.RadioButton(); + this.tb_Options_Track_Serial_Baudrate = new ScoutBase.Core.Int32TextBox(); + this.rb_Options_Track_Serial_None = new System.Windows.Forms.RadioButton(); + this.tb_Options_Track_Serial_Port = new System.Windows.Forms.TextBox(); + this.rb_Options_Track_Serial_GS232_AZEL = new System.Windows.Forms.RadioButton(); + this.rb_Options_Track_Serial_GS232_AZ = new System.Windows.Forms.RadioButton(); + this.cb_Options_Track_Activate = new System.Windows.Forms.CheckBox(); + this.cb_Options_Watchlist_SyncWithKST = new System.Windows.Forms.CheckBox(); + this.tb_Options_Watchlist_MaxCount = new ScoutBase.Core.Int32TextBox(); + this.btn_Options_DXMap = new System.Windows.Forms.Button(); + this.btn_Options_MyMap = new System.Windows.Forms.Button(); + this.pictureBox3 = new System.Windows.Forms.PictureBox(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.pb_Donate = new System.Windows.Forms.PictureBox(); + this.pictureBox4 = new System.Windows.Forms.PictureBox(); + this.ud_Options_Map_Opacity = new AirScout.PercentageControl(); this.tab_Options_Planes.SuspendLayout(); this.groupBox48.SuspendLayout(); this.groupBox40.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Planes_Position_DatabaseLifetime)).BeginInit(); this.groupBox38.SuspendLayout(); this.groupBox26.SuspendLayout(); this.groupBox6.SuspendLayout(); @@ -477,10 +497,8 @@ this.tab_Options_Map.SuspendLayout(); this.groupBox49.SuspendLayout(); this.groupBox37.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Charts_FontSize)).BeginInit(); this.groupBox39.SuspendLayout(); this.groupBox23.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Map_Preloader_MaxZoom)).BeginInit(); this.groupBox30.SuspendLayout(); this.groupBox7.SuspendLayout(); this.groupBox29.SuspendLayout(); @@ -492,7 +510,6 @@ this.groupBox45.SuspendLayout(); this.groupBox44.SuspendLayout(); this.groupBox14.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Locator_MaxLength)).BeginInit(); this.groupBox16.SuspendLayout(); this.groupBox5.SuspendLayout(); this.groupBox4.SuspendLayout(); @@ -503,8 +520,15 @@ this.groupBox47.SuspendLayout(); this.groupBox27.SuspendLayout(); this.gb_Options_Database_Settings.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Database_Update_Period)).BeginInit(); this.gb_Options_Database_Info.SuspendLayout(); + this.tab_Options_ASTER3.SuspendLayout(); + this.groupBox51.SuspendLayout(); + this.groupBox52.SuspendLayout(); + this.groupBox53.SuspendLayout(); + this.tba_Option_ASTER1.SuspendLayout(); + this.groupBox54.SuspendLayout(); + this.groupBox55.SuspendLayout(); + this.groupBox56.SuspendLayout(); this.tab_Options_Alarm.SuspendLayout(); this.groupBox21.SuspendLayout(); this.groupBox19.SuspendLayout(); @@ -523,15 +547,22 @@ this.groupBox28.SuspendLayout(); this.tab_Options_Watchlist.SuspendLayout(); this.groupBox50.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.groupBox17.SuspendLayout(); this.tab_Options_Misc.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit(); this.groupBox15.SuspendLayout(); this.tab_Options_Info.SuspendLayout(); this.ss_Options.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Database_Update_Period)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Locator_MaxLength)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Charts_FontSize)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Map_Preloader_MaxZoom)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Planes_Position_DatabaseLifetime)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pb_Donate)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Map_Opacity)).BeginInit(); this.SuspendLayout(); // // btn_Options_OK @@ -617,56 +648,6 @@ this.btn_Options_DeleteAllPropagationPaths.UseVisualStyleBackColor = true; this.btn_Options_DeleteAllPropagationPaths.Click += new System.EventHandler(this.btn_Options_DeleteAllPropagationPaths_Click); // - // cb_Options_Locations_RestrictToAreaOfInterest - // - this.cb_Options_Locations_RestrictToAreaOfInterest.AutoSize = true; - this.cb_Options_Locations_RestrictToAreaOfInterest.Checked = global::AirScout.Properties.Settings.Default.Location_RestrictToAreaOfInterest; - this.cb_Options_Locations_RestrictToAreaOfInterest.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_Locations_RestrictToAreaOfInterest.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Location_RestrictToAreaOfInterest", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Locations_RestrictToAreaOfInterest.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Locations_RestrictToAreaOfInterest.Location = new System.Drawing.Point(12, 58); - this.cb_Options_Locations_RestrictToAreaOfInterest.Name = "cb_Options_Locations_RestrictToAreaOfInterest"; - this.cb_Options_Locations_RestrictToAreaOfInterest.Size = new System.Drawing.Size(230, 17); - this.cb_Options_Locations_RestrictToAreaOfInterest.TabIndex = 12; - this.cb_Options_Locations_RestrictToAreaOfInterest.Text = "Restrict locations to current Area of Interest"; - this.tt_Options.SetToolTip(this.cb_Options_Locations_RestrictToAreaOfInterest, "Restrict stations kept in the database to Area of Interest \r\n(all other stations" + - " will be removed during the update process)"); - this.cb_Options_Locations_RestrictToAreaOfInterest.UseVisualStyleBackColor = true; - // - // cb_Options_Path_BestCaseElevation - // - this.cb_Options_Path_BestCaseElevation.AutoSize = true; - this.cb_Options_Path_BestCaseElevation.Checked = global::AirScout.Properties.Settings.Default.Path_BestCaseElevation; - this.cb_Options_Path_BestCaseElevation.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_Path_BestCaseElevation.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Path_BestCaseElevation", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Path_BestCaseElevation.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Path_BestCaseElevation.Location = new System.Drawing.Point(6, 411); - this.cb_Options_Path_BestCaseElevation.Name = "cb_Options_Path_BestCaseElevation"; - this.cb_Options_Path_BestCaseElevation.Size = new System.Drawing.Size(438, 17); - this.cb_Options_Path_BestCaseElevation.TabIndex = 28; - this.cb_Options_Path_BestCaseElevation.Tag = ""; - this.cb_Options_Path_BestCaseElevation.Text = "Use best case elevation from grid square for both stations if precise location is" + - " unknown"; - this.tt_Options.SetToolTip(this.cb_Options_Path_BestCaseElevation, "If an exact position of a station is not available, use highest available elevati" + - "on within the given grid square. \r\nThis position is ONLY used for path calculati" + - "on and is not kept in database."); - this.cb_Options_Path_BestCaseElevation.UseVisualStyleBackColor = true; - // - // cb_Options_Planes_KeepHistory - // - this.cb_Options_Planes_KeepHistory.AutoSize = true; - this.cb_Options_Planes_KeepHistory.Checked = global::AirScout.Properties.Settings.Default.Planes_KeepHistory; - this.cb_Options_Planes_KeepHistory.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Planes_KeepHistory", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Planes_KeepHistory.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Planes_KeepHistory.Location = new System.Drawing.Point(18, 81); - this.cb_Options_Planes_KeepHistory.Name = "cb_Options_Planes_KeepHistory"; - this.cb_Options_Planes_KeepHistory.Size = new System.Drawing.Size(156, 17); - this.cb_Options_Planes_KeepHistory.TabIndex = 4; - this.cb_Options_Planes_KeepHistory.Text = "Keep Plane Position History"; - this.tt_Options.SetToolTip(this.cb_Options_Planes_KeepHistory, "Check this option to keep plane positions in database for history analysis.\r\nCAUT" + - "ION! This will need lot of CPU performance and space on disk!"); - this.cb_Options_Planes_KeepHistory.UseVisualStyleBackColor = true; - // // btn_Options_Open_TmpDirectory // this.btn_Options_Open_TmpDirectory.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -727,19 +708,6 @@ this.btn_Options_Open_AirScoutDirectory.UseVisualStyleBackColor = true; this.btn_Options_Open_AirScoutDirectory.Click += new System.EventHandler(this.btn_Options_Open_AirScoutDirectory_Click); // - // pb_Donate - // - this.pb_Donate.Image = ((System.Drawing.Image)(resources.GetObject("pb_Donate.Image"))); - this.pb_Donate.InitialImage = ((System.Drawing.Image)(resources.GetObject("pb_Donate.InitialImage"))); - this.pb_Donate.Location = new System.Drawing.Point(18, 272); - this.pb_Donate.Name = "pb_Donate"; - this.pb_Donate.Size = new System.Drawing.Size(306, 113); - this.pb_Donate.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pb_Donate.TabIndex = 38; - this.pb_Donate.TabStop = false; - this.tt_Options.SetToolTip(this.pb_Donate, "Click here to open a browser window with link."); - this.pb_Donate.Click += new System.EventHandler(this.pb_Donate_Click); - // // tab_Options_Planes // this.tab_Options_Planes.BackColor = System.Drawing.SystemColors.Control; @@ -772,20 +740,6 @@ this.groupBox48.TabStop = false; this.groupBox48.Text = "General Plane Feed Settings"; // - // int32TextBox1 - // - this.int32TextBox1.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_ExtendedPlausibilityCheck_MaxErrorDist", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.int32TextBox1.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.int32TextBox1.FormatSpecifier = "F0"; - this.int32TextBox1.Location = new System.Drawing.Point(199, 84); - this.int32TextBox1.MaxValue = 600; - this.int32TextBox1.MinValue = 10; - this.int32TextBox1.Name = "int32TextBox1"; - this.int32TextBox1.Size = new System.Drawing.Size(52, 22); - this.int32TextBox1.TabIndex = 46; - this.int32TextBox1.Text = "10"; - this.int32TextBox1.Value = global::AirScout.Properties.Settings.Default.Planes_ExtendedPlausibilityCheck_MaxErrorDist; - // // label33 // this.label33.AutoSize = true; @@ -796,34 +750,6 @@ this.label33.TabIndex = 45; this.label33.Text = "Max. allowed distance between \r\nreported and estimated position [km]:"; // - // cb_Options_Planes_ExtendedPlausibilityCheck_Enabled - // - this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.AutoSize = true; - this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.Checked = global::AirScout.Properties.Settings.Default.Planes_ExtendedPlausibilityCheck_Enabled; - this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Planes_ExtendedPlausibilityCheck_Enabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.Location = new System.Drawing.Point(13, 53); - this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.Name = "cb_Options_Planes_ExtendedPlausibilityCheck_Enabled"; - this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.Size = new System.Drawing.Size(256, 17); - this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.TabIndex = 44; - this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.Text = "Enable extended plausibility check of aircraft info"; - this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.UseVisualStyleBackColor = true; - // - // tb_Options_Planes_Interval - // - this.tb_Options_Planes_Interval.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_Interval", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Planes_Interval.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Planes_Interval.FormatSpecifier = "F0"; - this.tb_Options_Planes_Interval.Location = new System.Drawing.Point(199, 22); - this.tb_Options_Planes_Interval.MaxValue = 600; - this.tb_Options_Planes_Interval.MinValue = 10; - this.tb_Options_Planes_Interval.Name = "tb_Options_Planes_Interval"; - this.tb_Options_Planes_Interval.Size = new System.Drawing.Size(52, 22); - this.tb_Options_Planes_Interval.TabIndex = 43; - this.tb_Options_Planes_Interval.Text = "60"; - this.tb_Options_Planes_Interval.Value = global::AirScout.Properties.Settings.Default.Planes_Interval; - // // label22 // this.label22.AutoSize = true; @@ -834,19 +760,6 @@ this.label22.TabIndex = 35; this.label22.Text = "Interval [sec]:"; // - // cb_Options_Planes_LogErrors - // - this.cb_Options_Planes_LogErrors.AutoSize = true; - this.cb_Options_Planes_LogErrors.Checked = global::AirScout.Properties.Settings.Default.Planes_LogErrors; - this.cb_Options_Planes_LogErrors.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Planes_LogErrors", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Planes_LogErrors.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Planes_LogErrors.Location = new System.Drawing.Point(12, 118); - this.cb_Options_Planes_LogErrors.Name = "cb_Options_Planes_LogErrors"; - this.cb_Options_Planes_LogErrors.Size = new System.Drawing.Size(249, 17); - this.cb_Options_Planes_LogErrors.TabIndex = 0; - this.cb_Options_Planes_LogErrors.Text = "Log errors as warnings to AirScout\'s main logfile"; - this.cb_Options_Planes_LogErrors.UseVisualStyleBackColor = true; - // // groupBox40 // this.groupBox40.Controls.Add(this.cb_Options_Planes_KeepHistory); @@ -871,26 +784,6 @@ this.label55.TabIndex = 3; this.label55.Text = "Aircraft positions older than above entered value will be deleted on next startup" + " (0 = forever)."; - // - // ud_Options_Planes_Position_DatabaseLifetime - // - this.ud_Options_Planes_Position_DatabaseLifetime.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "AircraftDatabase_MaxDaysLifetime", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.ud_Options_Planes_Position_DatabaseLifetime.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ud_Options_Planes_Position_DatabaseLifetime.Location = new System.Drawing.Point(199, 14); - this.ud_Options_Planes_Position_DatabaseLifetime.Maximum = new decimal(new int[] { - 365, - 0, - 0, - 0}); - this.ud_Options_Planes_Position_DatabaseLifetime.Minimum = new decimal(new int[] { - 1, - 0, - 0, - 0}); - this.ud_Options_Planes_Position_DatabaseLifetime.Name = "ud_Options_Planes_Position_DatabaseLifetime"; - this.ud_Options_Planes_Position_DatabaseLifetime.Size = new System.Drawing.Size(49, 22); - this.ud_Options_Planes_Position_DatabaseLifetime.TabIndex = 2; - this.ud_Options_Planes_Position_DatabaseLifetime.Value = global::AirScout.Properties.Settings.Default.AircraftDatabase_MaxDaysLifetime; // // label53 // @@ -931,48 +824,6 @@ this.groupBox38.TabStop = false; this.groupBox38.Text = "Plane Position Database Filters"; // - // tb_Options_Planes_Positions_TTL - // - this.tb_Options_Planes_Positions_TTL.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_Position_TTL", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Planes_Positions_TTL.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Planes_Positions_TTL.FormatSpecifier = "F0"; - this.tb_Options_Planes_Positions_TTL.Location = new System.Drawing.Point(192, 65); - this.tb_Options_Planes_Positions_TTL.MaxValue = 30; - this.tb_Options_Planes_Positions_TTL.MinValue = 0; - this.tb_Options_Planes_Positions_TTL.Name = "tb_Options_Planes_Positions_TTL"; - this.tb_Options_Planes_Positions_TTL.Size = new System.Drawing.Size(52, 22); - this.tb_Options_Planes_Positions_TTL.TabIndex = 43; - this.tb_Options_Planes_Positions_TTL.Text = "5"; - this.tb_Options_Planes_Positions_TTL.Value = global::AirScout.Properties.Settings.Default.Planes_Position_TTL; - // - // tb_Options_Planes_MaxAlt - // - this.tb_Options_Planes_MaxAlt.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_MaxAlt", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Planes_MaxAlt.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Planes_MaxAlt.FormatSpecifier = "F0"; - this.tb_Options_Planes_MaxAlt.Location = new System.Drawing.Point(192, 39); - this.tb_Options_Planes_MaxAlt.MaxValue = 20000; - this.tb_Options_Planes_MaxAlt.MinValue = 0; - this.tb_Options_Planes_MaxAlt.Name = "tb_Options_Planes_MaxAlt"; - this.tb_Options_Planes_MaxAlt.Size = new System.Drawing.Size(52, 22); - this.tb_Options_Planes_MaxAlt.TabIndex = 42; - this.tb_Options_Planes_MaxAlt.Text = "12200"; - this.tb_Options_Planes_MaxAlt.Value = global::AirScout.Properties.Settings.Default.Planes_MaxAlt; - // - // tb_Options_Planes_MinAlt - // - this.tb_Options_Planes_MinAlt.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_MinAlt", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Planes_MinAlt.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Planes_MinAlt.FormatSpecifier = "F0"; - this.tb_Options_Planes_MinAlt.Location = new System.Drawing.Point(192, 14); - this.tb_Options_Planes_MinAlt.MaxValue = 20000; - this.tb_Options_Planes_MinAlt.MinValue = 0; - this.tb_Options_Planes_MinAlt.Name = "tb_Options_Planes_MinAlt"; - this.tb_Options_Planes_MinAlt.Size = new System.Drawing.Size(52, 22); - this.tb_Options_Planes_MinAlt.TabIndex = 41; - this.tb_Options_Planes_MinAlt.Text = "5000"; - this.tb_Options_Planes_MinAlt.Value = global::AirScout.Properties.Settings.Default.Planes_MinAlt; - // // label2 // this.label2.AutoSize = true; @@ -1051,34 +902,6 @@ this.groupBox26.TabStop = false; this.groupBox26.Text = "Plane Live Position Filters"; // - // tb_Options_Planes_Filter_MinAlt - // - this.tb_Options_Planes_Filter_MinAlt.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_Filter_Min_Alt", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Planes_Filter_MinAlt.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Planes_Filter_MinAlt.FormatSpecifier = "F0"; - this.tb_Options_Planes_Filter_MinAlt.Location = new System.Drawing.Point(192, 86); - this.tb_Options_Planes_Filter_MinAlt.MaxValue = 12000; - this.tb_Options_Planes_Filter_MinAlt.MinValue = 0; - this.tb_Options_Planes_Filter_MinAlt.Name = "tb_Options_Planes_Filter_MinAlt"; - this.tb_Options_Planes_Filter_MinAlt.Size = new System.Drawing.Size(52, 22); - this.tb_Options_Planes_Filter_MinAlt.TabIndex = 43; - this.tb_Options_Planes_Filter_MinAlt.Text = "0"; - this.tb_Options_Planes_Filter_MinAlt.Value = global::AirScout.Properties.Settings.Default.Planes_Filter_Min_Alt; - // - // tb_Options_Planes_Filter_Max_Circumcircle - // - this.tb_Options_Planes_Filter_Max_Circumcircle.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_Filter_Max_Circumcircle", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Planes_Filter_Max_Circumcircle.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Planes_Filter_Max_Circumcircle.FormatSpecifier = "F0"; - this.tb_Options_Planes_Filter_Max_Circumcircle.Location = new System.Drawing.Point(192, 59); - this.tb_Options_Planes_Filter_Max_Circumcircle.MaxValue = 1000; - this.tb_Options_Planes_Filter_Max_Circumcircle.MinValue = -1; - this.tb_Options_Planes_Filter_Max_Circumcircle.Name = "tb_Options_Planes_Filter_Max_Circumcircle"; - this.tb_Options_Planes_Filter_Max_Circumcircle.Size = new System.Drawing.Size(52, 22); - this.tb_Options_Planes_Filter_Max_Circumcircle.TabIndex = 42; - this.tb_Options_Planes_Filter_Max_Circumcircle.Text = "0"; - this.tb_Options_Planes_Filter_Max_Circumcircle.Value = global::AirScout.Properties.Settings.Default.Planes_Filter_Max_Circumcircle; - // // label96 // this.label96.AutoSize = true; @@ -1392,8 +1215,8 @@ // // groupBox1 // - this.groupBox1.Controls.Add(this.label145); this.groupBox1.Controls.Add(this.btn_Options_Path_Export); + this.groupBox1.Controls.Add(this.label147); this.groupBox1.Controls.Add(this.tb_Options_Path_MaxLength); this.groupBox1.Controls.Add(this.label131); this.groupBox1.Controls.Add(this.label130); @@ -1409,42 +1232,28 @@ this.groupBox1.TabIndex = 3; this.groupBox1.TabStop = false; this.groupBox1.Text = "Path Options"; - // - // label145 - // - this.label145.AutoSize = true; - this.label145.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label145.Location = new System.Drawing.Point(6, 438); - this.label145.Name = "label145"; - this.label145.Size = new System.Drawing.Size(430, 13); - this.label145.TabIndex = 41; - this.label145.Text = "Export elevation path to CSV (do not change settings before as they may not have " + - "effect):"; // // btn_Options_Path_Export // this.btn_Options_Path_Export.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btn_Options_Path_Export.Location = new System.Drawing.Point(500, 433); + this.btn_Options_Path_Export.Location = new System.Drawing.Point(484, 433); this.btn_Options_Path_Export.Name = "btn_Options_Path_Export"; this.btn_Options_Path_Export.Size = new System.Drawing.Size(75, 23); - this.btn_Options_Path_Export.TabIndex = 40; + this.btn_Options_Path_Export.TabIndex = 41; this.btn_Options_Path_Export.Text = "Export"; this.btn_Options_Path_Export.UseVisualStyleBackColor = true; this.btn_Options_Path_Export.Click += new System.EventHandler(this.btn_Options_Path_Export_Click); // - // tb_Options_Path_MaxLength + // label147 // - this.tb_Options_Path_MaxLength.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Path_MaxLength", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Path_MaxLength.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Path_MaxLength.FormatSpecifier = "F0"; - this.tb_Options_Path_MaxLength.Location = new System.Drawing.Point(318, 385); - this.tb_Options_Path_MaxLength.MaxValue = double.NaN; - this.tb_Options_Path_MaxLength.MinValue = double.NaN; - this.tb_Options_Path_MaxLength.Name = "tb_Options_Path_MaxLength"; - this.tb_Options_Path_MaxLength.Size = new System.Drawing.Size(57, 20); - this.tb_Options_Path_MaxLength.TabIndex = 39; - this.tb_Options_Path_MaxLength.Text = "1000"; - this.tb_Options_Path_MaxLength.Value = global::AirScout.Properties.Settings.Default.Path_MaxLength; + this.label147.AutoSize = true; + this.label147.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label147.Location = new System.Drawing.Point(6, 438); + this.label147.Name = "label147"; + this.label147.Size = new System.Drawing.Size(433, 13); + this.label147.TabIndex = 40; + this.label147.Text = "Export elevation path to CSV (do not change settings before as they may not have " + + " effect):"; // // label131 // @@ -1616,34 +1425,6 @@ this.groupBox12.TabStop = false; this.groupBox12.Text = "Use Elevation Model"; // - // cb_Options_Elevation_SRTM1_EnableCache - // - this.cb_Options_Elevation_SRTM1_EnableCache.AutoSize = true; - this.cb_Options_Elevation_SRTM1_EnableCache.Checked = global::AirScout.Properties.Settings.Default.Elevation_SRTM1_EnableCache; - this.cb_Options_Elevation_SRTM1_EnableCache.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Elevation_SRTM1_EnableCache", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Elevation_SRTM1_EnableCache.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Elevation_SRTM1_EnableCache.Location = new System.Drawing.Point(6, 42); - this.cb_Options_Elevation_SRTM1_EnableCache.Name = "cb_Options_Elevation_SRTM1_EnableCache"; - this.cb_Options_Elevation_SRTM1_EnableCache.Size = new System.Drawing.Size(179, 17); - this.cb_Options_Elevation_SRTM1_EnableCache.TabIndex = 17; - this.cb_Options_Elevation_SRTM1_EnableCache.Tag = ""; - this.cb_Options_Elevation_SRTM1_EnableCache.Text = "Keep downloaded elevation tiles"; - this.cb_Options_Elevation_SRTM1_EnableCache.UseVisualStyleBackColor = true; - // - // cb_Options_Elevation_SRTM1 - // - this.cb_Options_Elevation_SRTM1.AutoSize = true; - this.cb_Options_Elevation_SRTM1.Checked = global::AirScout.Properties.Settings.Default.Elevation_SRTM1_Enabled; - this.cb_Options_Elevation_SRTM1.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Elevation_SRTM1_Enabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Elevation_SRTM1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Elevation_SRTM1.Location = new System.Drawing.Point(6, 19); - this.cb_Options_Elevation_SRTM1.Name = "cb_Options_Elevation_SRTM1"; - this.cb_Options_Elevation_SRTM1.Size = new System.Drawing.Size(155, 17); - this.cb_Options_Elevation_SRTM1.TabIndex = 16; - this.cb_Options_Elevation_SRTM1.Tag = ""; - this.cb_Options_Elevation_SRTM1.Text = "Use SRTM1 elevation data"; - this.cb_Options_Elevation_SRTM1.UseVisualStyleBackColor = true; - // // tab_Options_SRTM3 // this.tab_Options_SRTM3.BackColor = System.Drawing.SystemColors.Control; @@ -1751,34 +1532,6 @@ this.groupBox8.TabStop = false; this.groupBox8.Text = "Use Elevation Model"; // - // cb_Options_Elevation_SRTM3_EnableCache - // - this.cb_Options_Elevation_SRTM3_EnableCache.AutoSize = true; - this.cb_Options_Elevation_SRTM3_EnableCache.Checked = global::AirScout.Properties.Settings.Default.Elevation_SRTM3_EnableCache; - this.cb_Options_Elevation_SRTM3_EnableCache.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Elevation_SRTM3_EnableCache", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Elevation_SRTM3_EnableCache.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Elevation_SRTM3_EnableCache.Location = new System.Drawing.Point(6, 42); - this.cb_Options_Elevation_SRTM3_EnableCache.Name = "cb_Options_Elevation_SRTM3_EnableCache"; - this.cb_Options_Elevation_SRTM3_EnableCache.Size = new System.Drawing.Size(179, 17); - this.cb_Options_Elevation_SRTM3_EnableCache.TabIndex = 13; - this.cb_Options_Elevation_SRTM3_EnableCache.Tag = ""; - this.cb_Options_Elevation_SRTM3_EnableCache.Text = "Keep downloaded elevation tiles"; - this.cb_Options_Elevation_SRTM3_EnableCache.UseVisualStyleBackColor = true; - // - // cb_Options_Elevation_SRTM3 - // - this.cb_Options_Elevation_SRTM3.AutoSize = true; - this.cb_Options_Elevation_SRTM3.Checked = global::AirScout.Properties.Settings.Default.Elevation_SRTM3_Enabled; - this.cb_Options_Elevation_SRTM3.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Elevation_SRTM3_Enabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Elevation_SRTM3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Elevation_SRTM3.Location = new System.Drawing.Point(6, 19); - this.cb_Options_Elevation_SRTM3.Name = "cb_Options_Elevation_SRTM3"; - this.cb_Options_Elevation_SRTM3.Size = new System.Drawing.Size(155, 17); - this.cb_Options_Elevation_SRTM3.TabIndex = 12; - this.cb_Options_Elevation_SRTM3.Tag = ""; - this.cb_Options_Elevation_SRTM3.Text = "Use SRTM3 elevation data"; - this.cb_Options_Elevation_SRTM3.UseVisualStyleBackColor = true; - // // tab_Options_GLOBE // this.tab_Options_GLOBE.BackColor = System.Drawing.SystemColors.Control; @@ -1886,36 +1639,6 @@ this.groupBox10.TabStop = false; this.groupBox10.Text = "Use Elevation Model"; // - // cb_Options_Elevation_GLOBE_EnableCache - // - this.cb_Options_Elevation_GLOBE_EnableCache.AutoSize = true; - this.cb_Options_Elevation_GLOBE_EnableCache.Checked = global::AirScout.Properties.Settings.Default.Elevation_GLOBE_EnableCache; - this.cb_Options_Elevation_GLOBE_EnableCache.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_Elevation_GLOBE_EnableCache.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Elevation_GLOBE_EnableCache", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Elevation_GLOBE_EnableCache.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Elevation_GLOBE_EnableCache.Location = new System.Drawing.Point(12, 42); - this.cb_Options_Elevation_GLOBE_EnableCache.Name = "cb_Options_Elevation_GLOBE_EnableCache"; - this.cb_Options_Elevation_GLOBE_EnableCache.Size = new System.Drawing.Size(179, 17); - this.cb_Options_Elevation_GLOBE_EnableCache.TabIndex = 8; - this.cb_Options_Elevation_GLOBE_EnableCache.Tag = ""; - this.cb_Options_Elevation_GLOBE_EnableCache.Text = "Keep downloaded elevation tiles"; - this.cb_Options_Elevation_GLOBE_EnableCache.UseVisualStyleBackColor = true; - // - // cb_Options_Elevation_GLOBE - // - this.cb_Options_Elevation_GLOBE.AutoSize = true; - this.cb_Options_Elevation_GLOBE.Checked = global::AirScout.Properties.Settings.Default.Elevation_GLOBE_Enabled; - this.cb_Options_Elevation_GLOBE.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_Elevation_GLOBE.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Elevation_GLOBE_Enabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Elevation_GLOBE.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Elevation_GLOBE.Location = new System.Drawing.Point(12, 19); - this.cb_Options_Elevation_GLOBE.Name = "cb_Options_Elevation_GLOBE"; - this.cb_Options_Elevation_GLOBE.Size = new System.Drawing.Size(154, 17); - this.cb_Options_Elevation_GLOBE.TabIndex = 7; - this.cb_Options_Elevation_GLOBE.Tag = ""; - this.cb_Options_Elevation_GLOBE.Text = "Use GLOBE elevation data"; - this.cb_Options_Elevation_GLOBE.UseVisualStyleBackColor = true; - // // tab_Options_Map // this.tab_Options_Map.BackColor = System.Drawing.SystemColors.Control; @@ -1942,45 +1665,17 @@ this.groupBox49.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox49.Location = new System.Drawing.Point(415, 140); this.groupBox49.Name = "groupBox49"; - this.groupBox49.Size = new System.Drawing.Size(242, 80); + this.groupBox49.Size = new System.Drawing.Size(242, 99); this.groupBox49.TabIndex = 10; this.groupBox49.TabStop = false; this.groupBox49.Text = "Multi-Path"; // - // cb_Options_Map_SmallMarkers - // - this.cb_Options_Map_SmallMarkers.AutoSize = true; - this.cb_Options_Map_SmallMarkers.Checked = global::AirScout.Properties.Settings.Default.Map_SmallMarkers; - this.cb_Options_Map_SmallMarkers.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_Map_SmallMarkers.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Map_SmallMarkers", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Map_SmallMarkers.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Map_SmallMarkers.Location = new System.Drawing.Point(18, 22); - this.cb_Options_Map_SmallMarkers.Name = "cb_Options_Map_SmallMarkers"; - this.cb_Options_Map_SmallMarkers.Size = new System.Drawing.Size(199, 17); - this.cb_Options_Map_SmallMarkers.TabIndex = 2; - this.cb_Options_Map_SmallMarkers.Text = "Use Small Markers for all Path Marks"; - this.cb_Options_Map_SmallMarkers.UseVisualStyleBackColor = true; - // - // cb_Options_Map_LabelCalls - // - this.cb_Options_Map_LabelCalls.AutoSize = true; - this.cb_Options_Map_LabelCalls.Checked = global::AirScout.Properties.Settings.Default.Map_LabelCalls; - this.cb_Options_Map_LabelCalls.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_Map_LabelCalls.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Map_LabelCalls", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Map_LabelCalls.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Map_LabelCalls.Location = new System.Drawing.Point(18, 45); - this.cb_Options_Map_LabelCalls.Name = "cb_Options_Map_LabelCalls"; - this.cb_Options_Map_LabelCalls.Size = new System.Drawing.Size(209, 17); - this.cb_Options_Map_LabelCalls.TabIndex = 3; - this.cb_Options_Map_LabelCalls.Text = "Show Labels with Callsign at Locations"; - this.cb_Options_Map_LabelCalls.UseVisualStyleBackColor = true; - // // groupBox37 // this.groupBox37.Controls.Add(this.label34); this.groupBox37.Controls.Add(this.ud_Options_Charts_FontSize); this.groupBox37.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.groupBox37.Location = new System.Drawing.Point(415, 301); + this.groupBox37.Location = new System.Drawing.Point(415, 320); this.groupBox37.Name = "groupBox37"; this.groupBox37.Size = new System.Drawing.Size(242, 51); this.groupBox37.TabIndex = 9; @@ -1997,53 +1692,19 @@ this.label34.TabIndex = 2; this.label34.Text = "Font Size for Axes in Diagrams etc.:"; // - // ud_Options_Charts_FontSize - // - this.ud_Options_Charts_FontSize.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Charts_FontSize", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.ud_Options_Charts_FontSize.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ud_Options_Charts_FontSize.Location = new System.Drawing.Point(192, 15); - this.ud_Options_Charts_FontSize.Maximum = new decimal(new int[] { - 16, - 0, - 0, - 0}); - this.ud_Options_Charts_FontSize.Minimum = new decimal(new int[] { - 6, - 0, - 0, - 0}); - this.ud_Options_Charts_FontSize.Name = "ud_Options_Charts_FontSize"; - this.ud_Options_Charts_FontSize.Size = new System.Drawing.Size(45, 22); - this.ud_Options_Charts_FontSize.TabIndex = 0; - this.ud_Options_Charts_FontSize.Value = global::AirScout.Properties.Settings.Default.Charts_FontSize; - // // groupBox39 // this.groupBox39.Controls.Add(this.tb_Options_Map_Update_Interval); this.groupBox39.Controls.Add(this.label97); this.groupBox39.Controls.Add(this.label29); this.groupBox39.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.groupBox39.Location = new System.Drawing.Point(415, 226); + this.groupBox39.Location = new System.Drawing.Point(415, 245); this.groupBox39.Name = "groupBox39"; this.groupBox39.Size = new System.Drawing.Size(242, 69); this.groupBox39.TabIndex = 8; this.groupBox39.TabStop = false; this.groupBox39.Text = "Screen Updates"; // - // tb_Options_Map_Update_Interval - // - this.tb_Options_Map_Update_Interval.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Map_Update", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Map_Update_Interval.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Map_Update_Interval.FormatSpecifier = "F0"; - this.tb_Options_Map_Update_Interval.Location = new System.Drawing.Point(119, 33); - this.tb_Options_Map_Update_Interval.MaxValue = 3600; - this.tb_Options_Map_Update_Interval.MinValue = 0; - this.tb_Options_Map_Update_Interval.Name = "tb_Options_Map_Update_Interval"; - this.tb_Options_Map_Update_Interval.Size = new System.Drawing.Size(37, 22); - this.tb_Options_Map_Update_Interval.TabIndex = 23; - this.tb_Options_Map_Update_Interval.Text = "1"; - this.tb_Options_Map_Update_Interval.Value = global::AirScout.Properties.Settings.Default.Map_Update; - // // label97 // this.label97.AutoSize = true; @@ -2066,6 +1727,8 @@ // // groupBox23 // + this.groupBox23.Controls.Add(this.ud_Options_Map_Opacity); + this.groupBox23.Controls.Add(this.label148); this.groupBox23.Controls.Add(this.ud_Options_Map_Preloader_MaxZoom); this.groupBox23.Controls.Add(this.label144); this.groupBox23.Controls.Add(this.cb_Options_Map_Preloader_Enabled); @@ -2074,78 +1737,21 @@ this.groupBox23.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox23.Location = new System.Drawing.Point(14, 139); this.groupBox23.Name = "groupBox23"; - this.groupBox23.Size = new System.Drawing.Size(394, 81); + this.groupBox23.Size = new System.Drawing.Size(394, 100); this.groupBox23.TabIndex = 7; this.groupBox23.TabStop = false; this.groupBox23.Text = "General "; // - // ud_Options_Map_Preloader_MaxZoom - // - this.ud_Options_Map_Preloader_MaxZoom.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Map_Preloader_MaxZoom", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.ud_Options_Map_Preloader_MaxZoom.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ud_Options_Map_Preloader_MaxZoom.Location = new System.Drawing.Point(319, 44); - this.ud_Options_Map_Preloader_MaxZoom.Maximum = new decimal(new int[] { - 11, - 0, - 0, - 0}); - this.ud_Options_Map_Preloader_MaxZoom.Name = "ud_Options_Map_Preloader_MaxZoom"; - this.ud_Options_Map_Preloader_MaxZoom.Size = new System.Drawing.Size(54, 22); - this.ud_Options_Map_Preloader_MaxZoom.TabIndex = 6; - this.ud_Options_Map_Preloader_MaxZoom.Value = global::AirScout.Properties.Settings.Default.Map_Preloader_MaxZoom; - // // label144 // this.label144.AutoSize = true; this.label144.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label144.Location = new System.Drawing.Point(226, 42); + this.label144.Location = new System.Drawing.Point(226, 64); this.label144.Name = "label144"; this.label144.Size = new System.Drawing.Size(87, 26); this.label144.TabIndex = 5; this.label144.Text = "Preload down to \r\nZoom Level:"; // - // cb_Options_Map_Preloader_Enabled - // - this.cb_Options_Map_Preloader_Enabled.AutoSize = true; - this.cb_Options_Map_Preloader_Enabled.Checked = global::AirScout.Properties.Settings.Default.Map_Preloader_Enabled; - this.cb_Options_Map_Preloader_Enabled.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_Map_Preloader_Enabled.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Map_Preloader_Enabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Map_Preloader_Enabled.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Map_Preloader_Enabled.Location = new System.Drawing.Point(15, 41); - this.cb_Options_Map_Preloader_Enabled.Name = "cb_Options_Map_Preloader_Enabled"; - this.cb_Options_Map_Preloader_Enabled.Size = new System.Drawing.Size(205, 30); - this.cb_Options_Map_Preloader_Enabled.TabIndex = 4; - this.cb_Options_Map_Preloader_Enabled.Text = "Enable Map Preloading from AirScout \r\nWeb Server or Selected Provider"; - this.cb_Options_Map_Preloader_Enabled.UseVisualStyleBackColor = true; - // - // cb_Options_Watchlist_Activate - // - this.cb_Options_Watchlist_Activate.AutoSize = true; - this.cb_Options_Watchlist_Activate.Checked = global::AirScout.Properties.Settings.Default.Watchlist_Activated; - this.cb_Options_Watchlist_Activate.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_Watchlist_Activate.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Watchlist_Activated", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Watchlist_Activate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Watchlist_Activate.Location = new System.Drawing.Point(229, 19); - this.cb_Options_Watchlist_Activate.Name = "cb_Options_Watchlist_Activate"; - this.cb_Options_Watchlist_Activate.Size = new System.Drawing.Size(144, 17); - this.cb_Options_Watchlist_Activate.TabIndex = 1; - this.cb_Options_Watchlist_Activate.Text = "Show Watchlist Callsigns"; - this.cb_Options_Watchlist_Activate.UseVisualStyleBackColor = true; - // - // cb_Options_Airports_Activate - // - this.cb_Options_Airports_Activate.AutoSize = true; - this.cb_Options_Airports_Activate.Checked = global::AirScout.Properties.Settings.Default.Airports_Activate; - this.cb_Options_Airports_Activate.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_Airports_Activate.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Airports_Activate", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Airports_Activate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Airports_Activate.Location = new System.Drawing.Point(16, 19); - this.cb_Options_Airports_Activate.Name = "cb_Options_Airports_Activate"; - this.cb_Options_Airports_Activate.Size = new System.Drawing.Size(91, 17); - this.cb_Options_Airports_Activate.TabIndex = 0; - this.cb_Options_Airports_Activate.Text = "Show Airports"; - this.cb_Options_Airports_Activate.UseVisualStyleBackColor = true; - // // groupBox30 // this.groupBox30.Controls.Add(this.tb_Options_Planes_IconSize_S); @@ -2158,69 +1764,13 @@ this.groupBox30.Controls.Add(this.label81); this.groupBox30.Controls.Add(this.label80); this.groupBox30.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.groupBox30.Location = new System.Drawing.Point(415, 358); + this.groupBox30.Location = new System.Drawing.Point(415, 377); this.groupBox30.Name = "groupBox30"; this.groupBox30.Size = new System.Drawing.Size(242, 97); this.groupBox30.TabIndex = 6; this.groupBox30.TabStop = false; this.groupBox30.Text = "Plane Icon Sizes per Category"; // - // tb_Options_Planes_IconSize_S - // - this.tb_Options_Planes_IconSize_S.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_IconSize_S", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Planes_IconSize_S.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Planes_IconSize_S.FormatSpecifier = "F0"; - this.tb_Options_Planes_IconSize_S.Location = new System.Drawing.Point(183, 47); - this.tb_Options_Planes_IconSize_S.MaxValue = 128; - this.tb_Options_Planes_IconSize_S.MinValue = 0; - this.tb_Options_Planes_IconSize_S.Name = "tb_Options_Planes_IconSize_S"; - this.tb_Options_Planes_IconSize_S.Size = new System.Drawing.Size(37, 22); - this.tb_Options_Planes_IconSize_S.TabIndex = 16; - this.tb_Options_Planes_IconSize_S.Text = "48"; - this.tb_Options_Planes_IconSize_S.Value = global::AirScout.Properties.Settings.Default.Planes_IconSize_S; - // - // tb_Options_Planes_IconSize_H - // - this.tb_Options_Planes_IconSize_H.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_IconSize_H", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Planes_IconSize_H.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Planes_IconSize_H.FormatSpecifier = "F0"; - this.tb_Options_Planes_IconSize_H.Location = new System.Drawing.Point(183, 19); - this.tb_Options_Planes_IconSize_H.MaxValue = 128; - this.tb_Options_Planes_IconSize_H.MinValue = 0; - this.tb_Options_Planes_IconSize_H.Name = "tb_Options_Planes_IconSize_H"; - this.tb_Options_Planes_IconSize_H.Size = new System.Drawing.Size(37, 22); - this.tb_Options_Planes_IconSize_H.TabIndex = 15; - this.tb_Options_Planes_IconSize_H.Text = "36"; - this.tb_Options_Planes_IconSize_H.Value = global::AirScout.Properties.Settings.Default.Planes_IconSize_H; - // - // tb_Options_Planes_IconSize_M - // - this.tb_Options_Planes_IconSize_M.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_IconSize_M", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Planes_IconSize_M.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Planes_IconSize_M.FormatSpecifier = "F0"; - this.tb_Options_Planes_IconSize_M.Location = new System.Drawing.Point(63, 47); - this.tb_Options_Planes_IconSize_M.MaxValue = 128; - this.tb_Options_Planes_IconSize_M.MinValue = 0; - this.tb_Options_Planes_IconSize_M.Name = "tb_Options_Planes_IconSize_M"; - this.tb_Options_Planes_IconSize_M.Size = new System.Drawing.Size(37, 22); - this.tb_Options_Planes_IconSize_M.TabIndex = 14; - this.tb_Options_Planes_IconSize_M.Text = "24"; - this.tb_Options_Planes_IconSize_M.Value = global::AirScout.Properties.Settings.Default.Planes_IconSize_M; - // - // tb_Options_Planes_IconSize_L - // - this.tb_Options_Planes_IconSize_L.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_IconSize_L", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Planes_IconSize_L.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Planes_IconSize_L.FormatSpecifier = "F0"; - this.tb_Options_Planes_IconSize_L.Location = new System.Drawing.Point(63, 21); - this.tb_Options_Planes_IconSize_L.MaxValue = 128; - this.tb_Options_Planes_IconSize_L.MinValue = 0; - this.tb_Options_Planes_IconSize_L.Name = "tb_Options_Planes_IconSize_L"; - this.tb_Options_Planes_IconSize_L.Size = new System.Drawing.Size(37, 22); - this.tb_Options_Planes_IconSize_L.TabIndex = 13; - this.tb_Options_Planes_IconSize_L.Text = "16"; - this.tb_Options_Planes_IconSize_L.Value = global::AirScout.Properties.Settings.Default.Planes_IconSize_L; - // // label84 // this.label84.AutoSize = true; @@ -2285,7 +1835,7 @@ this.groupBox7.Controls.Add(this.cb_Options_InfoWin_Alt); this.groupBox7.Controls.Add(this.cb_Options_InfoWin_Position); this.groupBox7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.groupBox7.Location = new System.Drawing.Point(14, 301); + this.groupBox7.Location = new System.Drawing.Point(14, 320); this.groupBox7.Name = "groupBox7"; this.groupBox7.Size = new System.Drawing.Size(394, 154); this.groupBox7.TabIndex = 5; @@ -2332,153 +1882,6 @@ this.label75.TabIndex = 17; this.label75.Text = "are affecting both Simple and Detailed Info Window."; // - // cb_Options_InfoWin_Angle - // - this.cb_Options_InfoWin_Angle.AutoSize = true; - this.cb_Options_InfoWin_Angle.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Angle; - this.cb_Options_InfoWin_Angle.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Angle", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_InfoWin_Angle.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_InfoWin_Angle.Location = new System.Drawing.Point(139, 75); - this.cb_Options_InfoWin_Angle.Name = "cb_Options_InfoWin_Angle"; - this.cb_Options_InfoWin_Angle.Size = new System.Drawing.Size(96, 17); - this.cb_Options_InfoWin_Angle.TabIndex = 15; - this.cb_Options_InfoWin_Angle.Tag = ""; - this.cb_Options_InfoWin_Angle.Text = "Crossing Angle"; - this.cb_Options_InfoWin_Angle.UseVisualStyleBackColor = true; - // - // cb_Options_InfoWin_Speed - // - this.cb_Options_InfoWin_Speed.AutoSize = true; - this.cb_Options_InfoWin_Speed.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Speed; - this.cb_Options_InfoWin_Speed.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Speed", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_InfoWin_Speed.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_InfoWin_Speed.Location = new System.Drawing.Point(26, 100); - this.cb_Options_InfoWin_Speed.Name = "cb_Options_InfoWin_Speed"; - this.cb_Options_InfoWin_Speed.Size = new System.Drawing.Size(87, 17); - this.cb_Options_InfoWin_Speed.TabIndex = 14; - this.cb_Options_InfoWin_Speed.Tag = ""; - this.cb_Options_InfoWin_Speed.Text = "Plane Speed"; - this.cb_Options_InfoWin_Speed.UseVisualStyleBackColor = true; - // - // cb_Options_InfoWin_Squint - // - this.cb_Options_InfoWin_Squint.AutoSize = true; - this.cb_Options_InfoWin_Squint.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Squint; - this.cb_Options_InfoWin_Squint.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_InfoWin_Squint.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Squint", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_InfoWin_Squint.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_InfoWin_Squint.Location = new System.Drawing.Point(139, 121); - this.cb_Options_InfoWin_Squint.Name = "cb_Options_InfoWin_Squint"; - this.cb_Options_InfoWin_Squint.Size = new System.Drawing.Size(86, 17); - this.cb_Options_InfoWin_Squint.TabIndex = 13; - this.cb_Options_InfoWin_Squint.Tag = ""; - this.cb_Options_InfoWin_Squint.Text = "Squint Angle"; - this.cb_Options_InfoWin_Squint.UseVisualStyleBackColor = true; - // - // cb_Options_InfoWin_Epsilon - // - this.cb_Options_InfoWin_Epsilon.AutoSize = true; - this.cb_Options_InfoWin_Epsilon.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Epsilon; - this.cb_Options_InfoWin_Epsilon.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Epsilon", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_InfoWin_Epsilon.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_InfoWin_Epsilon.Location = new System.Drawing.Point(139, 98); - this.cb_Options_InfoWin_Epsilon.Name = "cb_Options_InfoWin_Epsilon"; - this.cb_Options_InfoWin_Epsilon.Size = new System.Drawing.Size(105, 17); - this.cb_Options_InfoWin_Epsilon.TabIndex = 12; - this.cb_Options_InfoWin_Epsilon.Tag = ""; - this.cb_Options_InfoWin_Epsilon.Text = "Elevation Angles"; - this.cb_Options_InfoWin_Epsilon.UseVisualStyleBackColor = true; - // - // cb_Options_InfoWin_Dist - // - this.cb_Options_InfoWin_Dist.AutoSize = true; - this.cb_Options_InfoWin_Dist.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Dist; - this.cb_Options_InfoWin_Dist.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_InfoWin_Dist.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Dist", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_InfoWin_Dist.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_InfoWin_Dist.Location = new System.Drawing.Point(139, 29); - this.cb_Options_InfoWin_Dist.Name = "cb_Options_InfoWin_Dist"; - this.cb_Options_InfoWin_Dist.Size = new System.Drawing.Size(111, 17); - this.cb_Options_InfoWin_Dist.TabIndex = 11; - this.cb_Options_InfoWin_Dist.Tag = ""; - this.cb_Options_InfoWin_Dist.Text = "Crossing Distance"; - this.cb_Options_InfoWin_Dist.UseVisualStyleBackColor = true; - // - // cb_Options_InfoWin_Time - // - this.cb_Options_InfoWin_Time.AutoSize = true; - this.cb_Options_InfoWin_Time.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Time; - this.cb_Options_InfoWin_Time.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_InfoWin_Time.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Time", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_InfoWin_Time.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_InfoWin_Time.Location = new System.Drawing.Point(139, 52); - this.cb_Options_InfoWin_Time.Name = "cb_Options_InfoWin_Time"; - this.cb_Options_InfoWin_Time.Size = new System.Drawing.Size(92, 17); - this.cb_Options_InfoWin_Time.TabIndex = 10; - this.cb_Options_InfoWin_Time.Tag = ""; - this.cb_Options_InfoWin_Time.Text = "Crossing Time"; - this.cb_Options_InfoWin_Time.UseVisualStyleBackColor = true; - // - // cb_Options_InfoWin_Type - // - this.cb_Options_InfoWin_Type.AutoSize = true; - this.cb_Options_InfoWin_Type.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Type; - this.cb_Options_InfoWin_Type.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_InfoWin_Type.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Type", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_InfoWin_Type.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_InfoWin_Type.Location = new System.Drawing.Point(26, 123); - this.cb_Options_InfoWin_Type.Name = "cb_Options_InfoWin_Type"; - this.cb_Options_InfoWin_Type.Size = new System.Drawing.Size(90, 17); - this.cb_Options_InfoWin_Type.TabIndex = 9; - this.cb_Options_InfoWin_Type.Tag = ""; - this.cb_Options_InfoWin_Type.Text = "Plane Type"; - this.cb_Options_InfoWin_Type.UseVisualStyleBackColor = true; - // - // cb_Options_InfoWin_Track - // - this.cb_Options_InfoWin_Track.AutoSize = true; - this.cb_Options_InfoWin_Track.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Track; - this.cb_Options_InfoWin_Track.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_InfoWin_Track.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Track", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_InfoWin_Track.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_InfoWin_Track.Location = new System.Drawing.Point(26, 77); - this.cb_Options_InfoWin_Track.Name = "cb_Options_InfoWin_Track"; - this.cb_Options_InfoWin_Track.Size = new System.Drawing.Size(95, 17); - this.cb_Options_InfoWin_Track.TabIndex = 8; - this.cb_Options_InfoWin_Track.Tag = ""; - this.cb_Options_InfoWin_Track.Text = "Plane Track"; - this.cb_Options_InfoWin_Track.UseVisualStyleBackColor = true; - // - // cb_Options_InfoWin_Alt - // - this.cb_Options_InfoWin_Alt.AutoSize = true; - this.cb_Options_InfoWin_Alt.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Alt; - this.cb_Options_InfoWin_Alt.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_InfoWin_Alt.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Alt", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_InfoWin_Alt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_InfoWin_Alt.Location = new System.Drawing.Point(26, 54); - this.cb_Options_InfoWin_Alt.Name = "cb_Options_InfoWin_Alt"; - this.cb_Options_InfoWin_Alt.Size = new System.Drawing.Size(105, 17); - this.cb_Options_InfoWin_Alt.TabIndex = 7; - this.cb_Options_InfoWin_Alt.Tag = ""; - this.cb_Options_InfoWin_Alt.Text = "Plane Altitude"; - this.cb_Options_InfoWin_Alt.UseVisualStyleBackColor = true; - // - // cb_Options_InfoWin_Position - // - this.cb_Options_InfoWin_Position.AutoSize = true; - this.cb_Options_InfoWin_Position.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Position; - this.cb_Options_InfoWin_Position.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_InfoWin_Position.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Position", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_InfoWin_Position.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_InfoWin_Position.Location = new System.Drawing.Point(26, 31); - this.cb_Options_InfoWin_Position.Name = "cb_Options_InfoWin_Position"; - this.cb_Options_InfoWin_Position.Size = new System.Drawing.Size(107, 17); - this.cb_Options_InfoWin_Position.TabIndex = 6; - this.cb_Options_InfoWin_Position.Tag = ""; - this.cb_Options_InfoWin_Position.Text = "Plane Position"; - this.cb_Options_InfoWin_Position.UseVisualStyleBackColor = true; - // // groupBox22 // this.groupBox22.Controls.Add(this.rb_Options_InfoWin_Imperial); @@ -2488,42 +1891,13 @@ this.groupBox22.Controls.Add(this.label62); this.groupBox22.Controls.Add(this.tb_Options_Map_ToolTipFont); this.groupBox22.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.groupBox22.Location = new System.Drawing.Point(13, 226); + this.groupBox22.Location = new System.Drawing.Point(13, 245); this.groupBox22.Name = "groupBox22"; this.groupBox22.Size = new System.Drawing.Size(395, 69); this.groupBox22.TabIndex = 4; this.groupBox22.TabStop = false; this.groupBox22.Text = "Info Window Options"; // - // rb_Options_InfoWin_Imperial - // - this.rb_Options_InfoWin_Imperial.AutoSize = true; - this.rb_Options_InfoWin_Imperial.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Imperial; - this.rb_Options_InfoWin_Imperial.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Imperial", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.rb_Options_InfoWin_Imperial.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.rb_Options_InfoWin_Imperial.Location = new System.Drawing.Point(156, 18); - this.rb_Options_InfoWin_Imperial.Name = "rb_Options_InfoWin_Imperial"; - this.rb_Options_InfoWin_Imperial.Size = new System.Drawing.Size(61, 17); - this.rb_Options_InfoWin_Imperial.TabIndex = 5; - this.rb_Options_InfoWin_Imperial.Tag = ""; - this.rb_Options_InfoWin_Imperial.Text = "Imperial"; - this.rb_Options_InfoWin_Imperial.UseVisualStyleBackColor = true; - // - // rb_Options_InfoWin_Metric - // - this.rb_Options_InfoWin_Metric.AutoSize = true; - this.rb_Options_InfoWin_Metric.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Metric; - this.rb_Options_InfoWin_Metric.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Metric", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.rb_Options_InfoWin_Metric.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.rb_Options_InfoWin_Metric.Location = new System.Drawing.Point(83, 18); - this.rb_Options_InfoWin_Metric.Name = "rb_Options_InfoWin_Metric"; - this.rb_Options_InfoWin_Metric.Size = new System.Drawing.Size(54, 17); - this.rb_Options_InfoWin_Metric.TabIndex = 4; - this.rb_Options_InfoWin_Metric.TabStop = true; - this.rb_Options_InfoWin_Metric.Tag = ""; - this.rb_Options_InfoWin_Metric.Text = "Metric"; - this.rb_Options_InfoWin_Metric.UseVisualStyleBackColor = true; - // // label72 // this.label72.AutoSize = true; @@ -2555,17 +1929,6 @@ this.label62.TabIndex = 1; this.label62.Text = "Font:"; // - // tb_Options_Map_ToolTipFont - // - this.tb_Options_Map_ToolTipFont.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::AirScout.Properties.Settings.Default, "Map_ToolTipFont", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Map_ToolTipFont.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Map_ToolTipFont.Location = new System.Drawing.Point(72, 39); - this.tb_Options_Map_ToolTipFont.Name = "tb_Options_Map_ToolTipFont"; - this.tb_Options_Map_ToolTipFont.ReadOnly = true; - this.tb_Options_Map_ToolTipFont.Size = new System.Drawing.Size(179, 20); - this.tb_Options_Map_ToolTipFont.TabIndex = 0; - this.tb_Options_Map_ToolTipFont.Text = global::AirScout.Properties.Settings.Default.Map_ToolTipFont; - // // groupBox2 // this.groupBox2.Controls.Add(this.label61); @@ -2581,9 +1944,9 @@ // label61 // this.label61.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label61.Location = new System.Drawing.Point(26, 17); + this.label61.Location = new System.Drawing.Point(6, 17); this.label61.Name = "label61"; - this.label61.Size = new System.Drawing.Size(612, 69); + this.label61.Size = new System.Drawing.Size(632, 69); this.label61.TabIndex = 1; this.label61.Text = resources.GetString("label61.Text"); this.label61.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -2987,34 +2350,6 @@ this.groupBox14.TabStop = false; this.groupBox14.Text = "Location Settings"; // - // cb_Options_SmallLettersForSubSquares - // - this.cb_Options_SmallLettersForSubSquares.AutoSize = true; - this.cb_Options_SmallLettersForSubSquares.Checked = global::AirScout.Properties.Settings.Default.Locator_SmallLettersForSubsquares; - this.cb_Options_SmallLettersForSubSquares.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Locator_SmallLettersForSubsquares", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_SmallLettersForSubSquares.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_SmallLettersForSubSquares.Location = new System.Drawing.Point(239, 16); - this.cb_Options_SmallLettersForSubSquares.Name = "cb_Options_SmallLettersForSubSquares"; - this.cb_Options_SmallLettersForSubSquares.Size = new System.Drawing.Size(157, 17); - this.cb_Options_SmallLettersForSubSquares.TabIndex = 11; - this.cb_Options_SmallLettersForSubSquares.Text = "Small letters for subsquares:"; - this.cb_Options_SmallLettersForSubSquares.UseVisualStyleBackColor = true; - this.cb_Options_SmallLettersForSubSquares.CheckedChanged += new System.EventHandler(this.cb_Options_SmallLettersForSubSquares_CheckedChanged); - // - // cb_Options_Locator_AutoLength - // - this.cb_Options_Locator_AutoLength.AutoSize = true; - this.cb_Options_Locator_AutoLength.Checked = global::AirScout.Properties.Settings.Default.Locator_AutoLength; - this.cb_Options_Locator_AutoLength.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_Locator_AutoLength.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Locator_AutoLength", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Locator_AutoLength.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Locator_AutoLength.Location = new System.Drawing.Point(12, 38); - this.cb_Options_Locator_AutoLength.Name = "cb_Options_Locator_AutoLength"; - this.cb_Options_Locator_AutoLength.Size = new System.Drawing.Size(319, 17); - this.cb_Options_Locator_AutoLength.TabIndex = 10; - this.cb_Options_Locator_AutoLength.Text = "Cut locator to significant digits automatically (Minimum 6 digits):"; - this.cb_Options_Locator_AutoLength.UseVisualStyleBackColor = true; - // // label48 // this.label48.AutoSize = true; @@ -3025,31 +2360,6 @@ this.label48.TabIndex = 1; this.label48.Text = "Number of Locator digits (6 ..14):"; // - // ud_Options_Locator_MaxLength - // - this.ud_Options_Locator_MaxLength.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Locator_MaxLength", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.ud_Options_Locator_MaxLength.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ud_Options_Locator_MaxLength.Increment = new decimal(new int[] { - 2, - 0, - 0, - 0}); - this.ud_Options_Locator_MaxLength.Location = new System.Drawing.Point(180, 15); - this.ud_Options_Locator_MaxLength.Maximum = new decimal(new int[] { - 14, - 0, - 0, - 0}); - this.ud_Options_Locator_MaxLength.Minimum = new decimal(new int[] { - 6, - 0, - 0, - 0}); - this.ud_Options_Locator_MaxLength.Name = "ud_Options_Locator_MaxLength"; - this.ud_Options_Locator_MaxLength.Size = new System.Drawing.Size(50, 20); - this.ud_Options_Locator_MaxLength.TabIndex = 9; - this.ud_Options_Locator_MaxLength.Value = global::AirScout.Properties.Settings.Default.Locator_MaxLength; - // // groupBox16 // this.groupBox16.Controls.Add(this.label52); @@ -3096,18 +2406,6 @@ this.groupBox5.TabStop = false; this.groupBox5.Text = "DX Station"; // - // btn_Options_DXMap - // - this.btn_Options_DXMap.BackgroundImage = global::AirScout.Properties.Resources.Map2; - this.btn_Options_DXMap.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.btn_Options_DXMap.Location = new System.Drawing.Point(8, 135); - this.btn_Options_DXMap.Name = "btn_Options_DXMap"; - this.btn_Options_DXMap.Size = new System.Drawing.Size(75, 81); - this.btn_Options_DXMap.TabIndex = 29; - this.btn_Options_DXMap.Text = "\r\nMap"; - this.btn_Options_DXMap.UseVisualStyleBackColor = true; - this.btn_Options_DXMap.Click += new System.EventHandler(this.btn_Options_DXMap_Click); - // // tb_Options_DXLon // this.tb_Options_DXLon.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -3136,21 +2434,6 @@ this.tb_Options_DXLat.Value = 52.05626084D; this.tb_Options_DXLat.TextChanged += new System.EventHandler(this.tb_Options_DXLat_TextChanged); // - // tb_Options_DXLoc - // - this.tb_Options_DXLoc.BackColor = System.Drawing.SystemColors.Window; - this.tb_Options_DXLoc.DataBindings.Add(new System.Windows.Forms.Binding("SmallLettersForSubsquares", global::AirScout.Properties.Settings.Default, "Locator_SmallLettersForSubsquares", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_DXLoc.ErrorBackColor = System.Drawing.Color.Red; - this.tb_Options_DXLoc.ErrorForeColor = System.Drawing.Color.White; - this.tb_Options_DXLoc.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_DXLoc.ForeColor = System.Drawing.SystemColors.WindowText; - this.tb_Options_DXLoc.Location = new System.Drawing.Point(90, 36); - this.tb_Options_DXLoc.Name = "tb_Options_DXLoc"; - this.tb_Options_DXLoc.Size = new System.Drawing.Size(100, 21); - this.tb_Options_DXLoc.SmallLettersForSubsquares = global::AirScout.Properties.Settings.Default.Locator_SmallLettersForSubsquares; - this.tb_Options_DXLoc.TabIndex = 6; - this.tb_Options_DXLoc.TextChanged += new System.EventHandler(this.tb_Options_DXLoc_TextChanged); - // // tb_Options_DXCall // this.tb_Options_DXCall.BackColor = System.Drawing.SystemColors.Window; @@ -3282,18 +2565,6 @@ this.groupBox4.TabStop = false; this.groupBox4.Text = "My Station"; // - // btn_Options_MyMap - // - this.btn_Options_MyMap.BackgroundImage = global::AirScout.Properties.Resources.Map2; - this.btn_Options_MyMap.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.btn_Options_MyMap.Location = new System.Drawing.Point(7, 134); - this.btn_Options_MyMap.Name = "btn_Options_MyMap"; - this.btn_Options_MyMap.Size = new System.Drawing.Size(75, 81); - this.btn_Options_MyMap.TabIndex = 30; - this.btn_Options_MyMap.Text = "\r\nMap"; - this.btn_Options_MyMap.UseVisualStyleBackColor = true; - this.btn_Options_MyMap.Click += new System.EventHandler(this.btn_Options_MyMap_Click); - // // btn_Options_MyHorizon // this.btn_Options_MyHorizon.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -3333,21 +2604,6 @@ this.tb_Options_MyLat.Value = 50.937067D; this.tb_Options_MyLat.TextChanged += new System.EventHandler(this.tb_Options_MyLat_TextChanged); // - // tb_Options_MyLoc - // - this.tb_Options_MyLoc.BackColor = System.Drawing.SystemColors.Window; - this.tb_Options_MyLoc.DataBindings.Add(new System.Windows.Forms.Binding("SmallLettersForSubsquares", global::AirScout.Properties.Settings.Default, "Locator_SmallLettersForSubsquares", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_MyLoc.ErrorBackColor = System.Drawing.Color.Red; - this.tb_Options_MyLoc.ErrorForeColor = System.Drawing.Color.White; - this.tb_Options_MyLoc.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_MyLoc.ForeColor = System.Drawing.SystemColors.WindowText; - this.tb_Options_MyLoc.Location = new System.Drawing.Point(89, 36); - this.tb_Options_MyLoc.Name = "tb_Options_MyLoc"; - this.tb_Options_MyLoc.Size = new System.Drawing.Size(100, 21); - this.tb_Options_MyLoc.SmallLettersForSubsquares = global::AirScout.Properties.Settings.Default.Locator_SmallLettersForSubsquares; - this.tb_Options_MyLoc.TabIndex = 2; - this.tb_Options_MyLoc.TextChanged += new System.EventHandler(this.tb_Options_MyLoc_TextChanged); - // // tb_Options_MyCall // this.tb_Options_MyCall.BackColor = System.Drawing.SystemColors.Window; @@ -3476,66 +2732,6 @@ this.groupBox25.TabStop = false; this.groupBox25.Text = "Covered Area"; // - // tb_Coverage_MaxLat - // - this.tb_Coverage_MaxLat.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "MaxLat", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Coverage_MaxLat.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Coverage_MaxLat.FormatSpecifier = "F0"; - this.tb_Coverage_MaxLat.Location = new System.Drawing.Point(589, 416); - this.tb_Coverage_MaxLat.MaxValue = 90D; - this.tb_Coverage_MaxLat.MinValue = -90D; - this.tb_Coverage_MaxLat.Name = "tb_Coverage_MaxLat"; - this.tb_Coverage_MaxLat.Size = new System.Drawing.Size(50, 22); - this.tb_Coverage_MaxLat.TabIndex = 4; - this.tb_Coverage_MaxLat.Text = "60"; - this.tb_Coverage_MaxLat.Value = global::AirScout.Properties.Settings.Default.MaxLat; - this.tb_Coverage_MaxLat.TextChanged += new System.EventHandler(this.tab_Options_General_Update); - // - // tb_Coverage_MinLat - // - this.tb_Coverage_MinLat.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "MinLat", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Coverage_MinLat.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Coverage_MinLat.FormatSpecifier = "F0"; - this.tb_Coverage_MinLat.Location = new System.Drawing.Point(589, 391); - this.tb_Coverage_MinLat.MaxValue = 90D; - this.tb_Coverage_MinLat.MinValue = -90D; - this.tb_Coverage_MinLat.Name = "tb_Coverage_MinLat"; - this.tb_Coverage_MinLat.Size = new System.Drawing.Size(50, 22); - this.tb_Coverage_MinLat.TabIndex = 3; - this.tb_Coverage_MinLat.Text = "35"; - this.tb_Coverage_MinLat.Value = global::AirScout.Properties.Settings.Default.MinLat; - this.tb_Coverage_MinLat.TextChanged += new System.EventHandler(this.tab_Options_General_Update); - // - // tb_Coverage_MaxLon - // - this.tb_Coverage_MaxLon.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "MaxLon", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Coverage_MaxLon.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Coverage_MaxLon.FormatSpecifier = "F0"; - this.tb_Coverage_MaxLon.Location = new System.Drawing.Point(589, 364); - this.tb_Coverage_MaxLon.MaxValue = 180D; - this.tb_Coverage_MaxLon.MinValue = -180D; - this.tb_Coverage_MaxLon.Name = "tb_Coverage_MaxLon"; - this.tb_Coverage_MaxLon.Size = new System.Drawing.Size(50, 22); - this.tb_Coverage_MaxLon.TabIndex = 2; - this.tb_Coverage_MaxLon.Text = "30"; - this.tb_Coverage_MaxLon.Value = global::AirScout.Properties.Settings.Default.MaxLon; - this.tb_Coverage_MaxLon.TextChanged += new System.EventHandler(this.tab_Options_General_Update); - // - // tb_Coverage_MinLon - // - this.tb_Coverage_MinLon.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "MinLon", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Coverage_MinLon.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Coverage_MinLon.FormatSpecifier = "F0"; - this.tb_Coverage_MinLon.Location = new System.Drawing.Point(589, 337); - this.tb_Coverage_MinLon.MaxValue = 180D; - this.tb_Coverage_MinLon.MinValue = -180D; - this.tb_Coverage_MinLon.Name = "tb_Coverage_MinLon"; - this.tb_Coverage_MinLon.Size = new System.Drawing.Size(50, 22); - this.tb_Coverage_MinLon.TabIndex = 1; - this.tb_Coverage_MinLon.Text = "-15"; - this.tb_Coverage_MinLon.Value = global::AirScout.Properties.Settings.Default.MinLon; - this.tb_Coverage_MinLon.TextChanged += new System.EventHandler(this.tab_Options_General_Update); - // // gm_Options_Coverage // this.gm_Options_Coverage.Bearing = 0F; @@ -3609,6 +2805,8 @@ this.tc_Options.Controls.Add(this.tab_Options_GLOBE); this.tc_Options.Controls.Add(this.tab_Options_SRTM3); this.tc_Options.Controls.Add(this.tab_Options_SRTM1); + this.tc_Options.Controls.Add(this.tab_Options_ASTER3); + this.tc_Options.Controls.Add(this.tba_Option_ASTER1); this.tc_Options.Controls.Add(this.tab_Options_Path); this.tc_Options.Controls.Add(this.tab_Options_Planes); this.tc_Options.Controls.Add(this.tab_Options_Alarm); @@ -3693,20 +2891,6 @@ this.gb_Options_Database_Settings.TabStop = false; this.gb_Options_Database_Settings.Text = "Background Update and Pre-Calculation Settings"; // - // cb_Options_Background_Calculations_Enable - // - this.cb_Options_Background_Calculations_Enable.AutoSize = true; - this.cb_Options_Background_Calculations_Enable.Checked = global::AirScout.Properties.Settings.Default.Background_Calculations_Enable; - this.cb_Options_Background_Calculations_Enable.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_Background_Calculations_Enable.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Background_Calculations_Enable", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Background_Calculations_Enable.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Background_Calculations_Enable.Location = new System.Drawing.Point(22, 126); - this.cb_Options_Background_Calculations_Enable.Name = "cb_Options_Background_Calculations_Enable"; - this.cb_Options_Background_Calculations_Enable.Size = new System.Drawing.Size(308, 17); - this.cb_Options_Background_Calculations_Enable.TabIndex = 6; - this.cb_Options_Background_Calculations_Enable.Text = "Enable Background Pre-Calculations for paths/horizons etc."; - this.cb_Options_Background_Calculations_Enable.UseVisualStyleBackColor = true; - // // label47 // this.label47.AutoSize = true; @@ -3717,26 +2901,6 @@ this.label47.TabIndex = 5; this.label47.Text = "Update interval [min]:"; // - // ud_Options_Database_Update_Period - // - this.ud_Options_Database_Update_Period.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Background_Update_Period", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.ud_Options_Database_Update_Period.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ud_Options_Database_Update_Period.Location = new System.Drawing.Point(278, 84); - this.ud_Options_Database_Update_Period.Maximum = new decimal(new int[] { - 6000, - 0, - 0, - 0}); - this.ud_Options_Database_Update_Period.Minimum = new decimal(new int[] { - 1, - 0, - 0, - 0}); - this.ud_Options_Database_Update_Period.Name = "ud_Options_Database_Update_Period"; - this.ud_Options_Database_Update_Period.Size = new System.Drawing.Size(39, 20); - this.ud_Options_Database_Update_Period.TabIndex = 3; - this.ud_Options_Database_Update_Period.Value = global::AirScout.Properties.Settings.Default.Background_Update_Period; - // // rb_Options_Database_Update_Periodically // this.rb_Options_Database_Update_Periodically.AutoSize = true; @@ -4441,6 +3605,198 @@ this.label49.TabIndex = 0; this.label49.Text = "Station Data:"; // + // tab_Options_ASTER3 + // + this.tab_Options_ASTER3.BackColor = System.Drawing.SystemColors.Control; + this.tab_Options_ASTER3.Controls.Add(this.groupBox51); + this.tab_Options_ASTER3.Controls.Add(this.btn_Options_ASTER3_Copyright); + this.tab_Options_ASTER3.Controls.Add(this.groupBox52); + this.tab_Options_ASTER3.Controls.Add(this.groupBox53); + this.tab_Options_ASTER3.Location = new System.Drawing.Point(4, 40); + this.tab_Options_ASTER3.Name = "tab_Options_ASTER3"; + this.tab_Options_ASTER3.Size = new System.Drawing.Size(671, 480); + this.tab_Options_ASTER3.TabIndex = 18; + this.tab_Options_ASTER3.Text = "ASTER3"; + this.tab_Options_ASTER3.Enter += new System.EventHandler(this.tab_Options_ASTER3_Enter); + this.tab_Options_ASTER3.Leave += new System.EventHandler(this.tab_Options_ASTER3_Leave); + // + // groupBox51 + // + this.groupBox51.BackColor = System.Drawing.Color.White; + this.groupBox51.Controls.Add(this.label146); + this.groupBox51.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.groupBox51.Location = new System.Drawing.Point(216, 11); + this.groupBox51.Name = "groupBox51"; + this.groupBox51.Size = new System.Drawing.Size(312, 69); + this.groupBox51.TabIndex = 19; + this.groupBox51.TabStop = false; + this.groupBox51.Text = "(A)dvanced (S)paceborn (Thermal (E)mission and (R)eflection Radiometer 3 arscec"; + // + // label146 + // + this.label146.AutoSize = true; + this.label146.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label146.Location = new System.Drawing.Point(39, 35); + this.label146.Name = "label146"; + this.label146.Size = new System.Drawing.Size(204, 26); + this.label146.TabIndex = 0; + this.label146.Text = "A 3 arcsec (90m) grided elevation model.\r\nCoverage: 83°S ... 83°N; 180°W ... 180°" + + "E"; + // + // btn_Options_ASTER3_Copyright + // + this.btn_Options_ASTER3_Copyright.Location = new System.Drawing.Point(534, 16); + this.btn_Options_ASTER3_Copyright.Name = "btn_Options_ASTER3_Copyright"; + this.btn_Options_ASTER3_Copyright.Size = new System.Drawing.Size(116, 64); + this.btn_Options_ASTER3_Copyright.TabIndex = 18; + this.btn_Options_ASTER3_Copyright.Text = "Licence/Copyright \r\nInformation"; + this.btn_Options_ASTER3_Copyright.UseVisualStyleBackColor = true; + this.btn_Options_ASTER3_Copyright.Click += new System.EventHandler(this.btn_Options_ASTER3_Copyright_Click); + // + // groupBox52 + // + this.groupBox52.Controls.Add(this.gm_Options_ASTER3); + this.groupBox52.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.groupBox52.Location = new System.Drawing.Point(3, 86); + this.groupBox52.Name = "groupBox52"; + this.groupBox52.Size = new System.Drawing.Size(650, 368); + this.groupBox52.TabIndex = 13; + this.groupBox52.TabStop = false; + this.groupBox52.Text = "Info"; + // + // gm_Options_ASTER3 + // + this.gm_Options_ASTER3.Bearing = 0F; + this.gm_Options_ASTER3.CanDragMap = true; + this.gm_Options_ASTER3.Dock = System.Windows.Forms.DockStyle.Fill; + this.gm_Options_ASTER3.EmptyTileColor = System.Drawing.Color.Navy; + this.gm_Options_ASTER3.GrayScaleMode = false; + this.gm_Options_ASTER3.HelperLineOption = GMap.NET.WindowsForms.HelperLineOptions.DontShow; + this.gm_Options_ASTER3.LevelsKeepInMemmory = 5; + this.gm_Options_ASTER3.Location = new System.Drawing.Point(3, 16); + this.gm_Options_ASTER3.MarkersEnabled = true; + this.gm_Options_ASTER3.MaxZoom = 2; + this.gm_Options_ASTER3.MinZoom = 2; + this.gm_Options_ASTER3.MouseWheelZoomType = GMap.NET.MouseWheelZoomType.MousePositionAndCenter; + this.gm_Options_ASTER3.Name = "gm_Options_ASTER3"; + this.gm_Options_ASTER3.NegativeMode = false; + this.gm_Options_ASTER3.PolygonsEnabled = true; + this.gm_Options_ASTER3.RetryLoadTile = 0; + this.gm_Options_ASTER3.RoutesEnabled = true; + this.gm_Options_ASTER3.SelectedAreaFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(65)))), ((int)(((byte)(105)))), ((int)(((byte)(225))))); + this.gm_Options_ASTER3.ShowTileGridLines = false; + this.gm_Options_ASTER3.Size = new System.Drawing.Size(644, 349); + this.gm_Options_ASTER3.TabIndex = 15; + this.gm_Options_ASTER3.Zoom = 0D; + // + // groupBox53 + // + this.groupBox53.Controls.Add(this.cb_Options_Elevation_ASTER3_EnableCache); + this.groupBox53.Controls.Add(this.cb_Options_Elevation_ASTER3); + this.groupBox53.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.groupBox53.Location = new System.Drawing.Point(3, 11); + this.groupBox53.Name = "groupBox53"; + this.groupBox53.Size = new System.Drawing.Size(194, 69); + this.groupBox53.TabIndex = 12; + this.groupBox53.TabStop = false; + this.groupBox53.Text = "Use Elevation Model"; + // + // tba_Option_ASTER1 + // + this.tba_Option_ASTER1.BackColor = System.Drawing.SystemColors.Control; + this.tba_Option_ASTER1.Controls.Add(this.groupBox54); + this.tba_Option_ASTER1.Controls.Add(this.btn_Options_ASTER1_Copyright); + this.tba_Option_ASTER1.Controls.Add(this.groupBox55); + this.tba_Option_ASTER1.Controls.Add(this.groupBox56); + this.tba_Option_ASTER1.Location = new System.Drawing.Point(4, 40); + this.tba_Option_ASTER1.Name = "tba_Option_ASTER1"; + this.tba_Option_ASTER1.Size = new System.Drawing.Size(671, 480); + this.tba_Option_ASTER1.TabIndex = 19; + this.tba_Option_ASTER1.Text = "ASTER1"; + this.tba_Option_ASTER1.Enter += new System.EventHandler(this.tba_Option_ASTER1_Enter); + this.tba_Option_ASTER1.Leave += new System.EventHandler(this.tba_Option_ASTER1_Leave); + // + // groupBox54 + // + this.groupBox54.BackColor = System.Drawing.Color.White; + this.groupBox54.Controls.Add(this.label145); + this.groupBox54.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.groupBox54.Location = new System.Drawing.Point(216, 11); + this.groupBox54.Name = "groupBox54"; + this.groupBox54.Size = new System.Drawing.Size(312, 69); + this.groupBox54.TabIndex = 19; + this.groupBox54.TabStop = false; + this.groupBox54.Text = "(A)dvanced (S)paceborn (Thermal (E)mission and (R)eflection Radiometer 1 arscec"; + // + // label145 + // + this.label145.AutoSize = true; + this.label145.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label145.Location = new System.Drawing.Point(39, 35); + this.label145.Name = "label145"; + this.label145.Size = new System.Drawing.Size(204, 26); + this.label145.TabIndex = 0; + this.label145.Text = "A 1 arcsec (30m) grided elevation model.\r\nCoverage: 83°S ... 83°N; 180°W ... 180°" + + "E"; + // + // btn_Options_ASTER1_Copyright + // + this.btn_Options_ASTER1_Copyright.Location = new System.Drawing.Point(534, 16); + this.btn_Options_ASTER1_Copyright.Name = "btn_Options_ASTER1_Copyright"; + this.btn_Options_ASTER1_Copyright.Size = new System.Drawing.Size(116, 64); + this.btn_Options_ASTER1_Copyright.TabIndex = 18; + this.btn_Options_ASTER1_Copyright.Text = "Licence/Copyright \r\nInformation"; + this.btn_Options_ASTER1_Copyright.UseVisualStyleBackColor = true; + this.btn_Options_ASTER1_Copyright.Click += new System.EventHandler(this.btn_Options_ASTER1_Copyright_Click); + // + // groupBox55 + // + this.groupBox55.Controls.Add(this.gm_Options_ASTER1); + this.groupBox55.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.groupBox55.Location = new System.Drawing.Point(3, 86); + this.groupBox55.Name = "groupBox55"; + this.groupBox55.Size = new System.Drawing.Size(650, 368); + this.groupBox55.TabIndex = 13; + this.groupBox55.TabStop = false; + this.groupBox55.Text = "Info"; + // + // gm_Options_ASTER1 + // + this.gm_Options_ASTER1.Bearing = 0F; + this.gm_Options_ASTER1.CanDragMap = true; + this.gm_Options_ASTER1.Dock = System.Windows.Forms.DockStyle.Fill; + this.gm_Options_ASTER1.EmptyTileColor = System.Drawing.Color.Navy; + this.gm_Options_ASTER1.GrayScaleMode = false; + this.gm_Options_ASTER1.HelperLineOption = GMap.NET.WindowsForms.HelperLineOptions.DontShow; + this.gm_Options_ASTER1.LevelsKeepInMemmory = 5; + this.gm_Options_ASTER1.Location = new System.Drawing.Point(3, 16); + this.gm_Options_ASTER1.MarkersEnabled = true; + this.gm_Options_ASTER1.MaxZoom = 2; + this.gm_Options_ASTER1.MinZoom = 2; + this.gm_Options_ASTER1.MouseWheelZoomType = GMap.NET.MouseWheelZoomType.MousePositionAndCenter; + this.gm_Options_ASTER1.Name = "gm_Options_ASTER1"; + this.gm_Options_ASTER1.NegativeMode = false; + this.gm_Options_ASTER1.PolygonsEnabled = true; + this.gm_Options_ASTER1.RetryLoadTile = 0; + this.gm_Options_ASTER1.RoutesEnabled = true; + this.gm_Options_ASTER1.SelectedAreaFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(65)))), ((int)(((byte)(105)))), ((int)(((byte)(225))))); + this.gm_Options_ASTER1.ShowTileGridLines = false; + this.gm_Options_ASTER1.Size = new System.Drawing.Size(644, 349); + this.gm_Options_ASTER1.TabIndex = 15; + this.gm_Options_ASTER1.Zoom = 0D; + // + // groupBox56 + // + this.groupBox56.Controls.Add(this.cb_Options_Elevation_ASTER1_EnableCache); + this.groupBox56.Controls.Add(this.cb_Options_Elevation_ASTER1); + this.groupBox56.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.groupBox56.Location = new System.Drawing.Point(3, 11); + this.groupBox56.Name = "groupBox56"; + this.groupBox56.Size = new System.Drawing.Size(194, 69); + this.groupBox56.TabIndex = 12; + this.groupBox56.TabStop = false; + this.groupBox56.Text = "Use Elevation Model"; + // // tab_Options_Alarm // this.tab_Options_Alarm.BackColor = System.Drawing.SystemColors.Control; @@ -4465,20 +3821,6 @@ this.groupBox21.TabStop = false; this.groupBox21.Text = "Activate Alarm"; // - // cb_Options_Alarm_Activate - // - this.cb_Options_Alarm_Activate.AutoSize = true; - this.cb_Options_Alarm_Activate.Checked = global::AirScout.Properties.Settings.Default.Alarm_Activate; - this.cb_Options_Alarm_Activate.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Alarm_Activate", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Alarm_Activate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Alarm_Activate.Location = new System.Drawing.Point(13, 19); - this.cb_Options_Alarm_Activate.Name = "cb_Options_Alarm_Activate"; - this.cb_Options_Alarm_Activate.Size = new System.Drawing.Size(94, 17); - this.cb_Options_Alarm_Activate.TabIndex = 1; - this.cb_Options_Alarm_Activate.Tag = ""; - this.cb_Options_Alarm_Activate.Text = "Activate Alarm"; - this.cb_Options_Alarm_Activate.UseVisualStyleBackColor = true; - // // groupBox19 // this.groupBox19.Controls.Add(this.cb_Options_Alarm_PlaySound); @@ -4491,21 +3833,6 @@ this.groupBox19.TabStop = false; this.groupBox19.Text = "Alarm Settings"; // - // cb_Options_Alarm_PlaySound - // - this.cb_Options_Alarm_PlaySound.AutoSize = true; - this.cb_Options_Alarm_PlaySound.Checked = global::AirScout.Properties.Settings.Default.Alarm_PlaySound; - this.cb_Options_Alarm_PlaySound.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_Alarm_PlaySound.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Alarm_PlaySound", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Alarm_PlaySound.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Alarm_PlaySound.Location = new System.Drawing.Point(13, 53); - this.cb_Options_Alarm_PlaySound.Name = "cb_Options_Alarm_PlaySound"; - this.cb_Options_Alarm_PlaySound.Size = new System.Drawing.Size(78, 17); - this.cb_Options_Alarm_PlaySound.TabIndex = 1; - this.cb_Options_Alarm_PlaySound.Tag = ""; - this.cb_Options_Alarm_PlaySound.Text = "Play sound"; - this.cb_Options_Alarm_PlaySound.UseVisualStyleBackColor = true; - // // cb_Options_Alarm_BringWindowToFront // this.cb_Options_Alarm_BringWindowToFront.AutoSize = true; @@ -4533,20 +3860,6 @@ this.groupBox20.TabStop = false; this.groupBox20.Text = "Generate Alarm"; // - // tb_Options_Alarm_Distance - // - this.tb_Options_Alarm_Distance.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Alarm_Distance", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Alarm_Distance.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Alarm_Distance.FormatSpecifier = "F0"; - this.tb_Options_Alarm_Distance.Location = new System.Drawing.Point(143, 49); - this.tb_Options_Alarm_Distance.MaxValue = 1000D; - this.tb_Options_Alarm_Distance.MinValue = 0D; - this.tb_Options_Alarm_Distance.Name = "tb_Options_Alarm_Distance"; - this.tb_Options_Alarm_Distance.Size = new System.Drawing.Size(75, 22); - this.tb_Options_Alarm_Distance.TabIndex = 3; - this.tb_Options_Alarm_Distance.Text = "100"; - this.tb_Options_Alarm_Distance.Value = global::AirScout.Properties.Settings.Default.Alarm_Distance; - // // label36 // this.label36.AutoSize = true; @@ -4607,20 +3920,6 @@ this.groupBox32.TabStop = false; this.groupBox32.Text = "HTTP Server Settings"; // - // tb_Options_Webserver_Port - // - this.tb_Options_Webserver_Port.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Webserver_Port", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Webserver_Port.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Webserver_Port.FormatSpecifier = "F0"; - this.tb_Options_Webserver_Port.Location = new System.Drawing.Point(150, 28); - this.tb_Options_Webserver_Port.MaxValue = 65535; - this.tb_Options_Webserver_Port.MinValue = 0; - this.tb_Options_Webserver_Port.Name = "tb_Options_Webserver_Port"; - this.tb_Options_Webserver_Port.Size = new System.Drawing.Size(57, 22); - this.tb_Options_Webserver_Port.TabIndex = 8; - this.tb_Options_Webserver_Port.Text = "9880"; - this.tb_Options_Webserver_Port.Value = global::AirScout.Properties.Settings.Default.Webserver_Port; - // // label85 // this.label85.AutoSize = true; @@ -4643,20 +3942,6 @@ this.groupBox31.TabStop = false; this.groupBox31.Text = "Activate Server"; // - // cb_Options_Server_Activate - // - this.cb_Options_Server_Activate.AutoSize = true; - this.cb_Options_Server_Activate.Checked = global::AirScout.Properties.Settings.Default.Server_Activate; - this.cb_Options_Server_Activate.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Server_Activate", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Server_Activate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Server_Activate.Location = new System.Drawing.Point(13, 23); - this.cb_Options_Server_Activate.Name = "cb_Options_Server_Activate"; - this.cb_Options_Server_Activate.Size = new System.Drawing.Size(142, 17); - this.cb_Options_Server_Activate.TabIndex = 1; - this.cb_Options_Server_Activate.Tag = ""; - this.cb_Options_Server_Activate.Text = "Activate Network Server"; - this.cb_Options_Server_Activate.UseVisualStyleBackColor = true; - // // label3 // this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -4680,20 +3965,6 @@ this.groupBox24.TabStop = false; this.groupBox24.Text = "UDP Server Settings"; // - // tb_Options_Server_Port - // - this.tb_Options_Server_Port.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Server_Port", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Server_Port.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Server_Port.FormatSpecifier = "F0"; - this.tb_Options_Server_Port.Location = new System.Drawing.Point(153, 56); - this.tb_Options_Server_Port.MaxValue = 65535; - this.tb_Options_Server_Port.MinValue = 0; - this.tb_Options_Server_Port.Name = "tb_Options_Server_Port"; - this.tb_Options_Server_Port.Size = new System.Drawing.Size(57, 22); - this.tb_Options_Server_Port.TabIndex = 6; - this.tb_Options_Server_Port.Text = "9872"; - this.tb_Options_Server_Port.Value = global::AirScout.Properties.Settings.Default.Server_Port; - // // label6 // this.label6.AutoSize = true; @@ -4714,18 +3985,6 @@ this.label4.TabIndex = 4; this.label4.Text = "AirScout UDP Server Name:"; // - // tb_Options_Server_Name - // - this.tb_Options_Server_Name.BackColor = System.Drawing.Color.FloralWhite; - this.tb_Options_Server_Name.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::AirScout.Properties.Settings.Default, "Server_Name", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Server_Name.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Server_Name.Location = new System.Drawing.Point(153, 30); - this.tb_Options_Server_Name.Name = "tb_Options_Server_Name"; - this.tb_Options_Server_Name.Size = new System.Drawing.Size(57, 20); - this.tb_Options_Server_Name.TabIndex = 2; - this.tb_Options_Server_Name.Tag = ""; - this.tb_Options_Server_Name.Text = global::AirScout.Properties.Settings.Default.Server_Name; - // // tab_Options_SpecLab // this.tab_Options_SpecLab.BackColor = System.Drawing.SystemColors.Control; @@ -4763,48 +4022,6 @@ this.groupBox3.TabStop = false; this.groupBox3.Text = "Spectrum Lab Settings"; // - // tb_Options_SpecLab_UpdateInterval - // - this.tb_Options_SpecLab_UpdateInterval.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "SpecLab_Update", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_SpecLab_UpdateInterval.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_SpecLab_UpdateInterval.FormatSpecifier = "F1"; - this.tb_Options_SpecLab_UpdateInterval.Location = new System.Drawing.Point(106, 230); - this.tb_Options_SpecLab_UpdateInterval.MaxValue = 100D; - this.tb_Options_SpecLab_UpdateInterval.MinValue = 0D; - this.tb_Options_SpecLab_UpdateInterval.Name = "tb_Options_SpecLab_UpdateInterval"; - this.tb_Options_SpecLab_UpdateInterval.Size = new System.Drawing.Size(63, 22); - this.tb_Options_SpecLab_UpdateInterval.TabIndex = 18; - this.tb_Options_SpecLab_UpdateInterval.Text = "1.0"; - this.tb_Options_SpecLab_UpdateInterval.Value = global::AirScout.Properties.Settings.Default.SpecLab_Update; - // - // tb_Options_SpecLab_F2 - // - this.tb_Options_SpecLab_F2.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "SpecLab_F2", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_SpecLab_F2.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_SpecLab_F2.FormatSpecifier = "F0"; - this.tb_Options_SpecLab_F2.Location = new System.Drawing.Point(109, 205); - this.tb_Options_SpecLab_F2.MaxValue = 10000; - this.tb_Options_SpecLab_F2.MinValue = 0; - this.tb_Options_SpecLab_F2.Name = "tb_Options_SpecLab_F2"; - this.tb_Options_SpecLab_F2.Size = new System.Drawing.Size(60, 22); - this.tb_Options_SpecLab_F2.TabIndex = 17; - this.tb_Options_SpecLab_F2.Text = "1600"; - this.tb_Options_SpecLab_F2.Value = global::AirScout.Properties.Settings.Default.SpecLab_F2; - // - // tb_Options_SpecLab_F1 - // - this.tb_Options_SpecLab_F1.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "SpecLab_F1", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_SpecLab_F1.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_SpecLab_F1.FormatSpecifier = "F0"; - this.tb_Options_SpecLab_F1.Location = new System.Drawing.Point(109, 179); - this.tb_Options_SpecLab_F1.MaxValue = 10000; - this.tb_Options_SpecLab_F1.MinValue = 0; - this.tb_Options_SpecLab_F1.Name = "tb_Options_SpecLab_F1"; - this.tb_Options_SpecLab_F1.Size = new System.Drawing.Size(60, 22); - this.tb_Options_SpecLab_F1.TabIndex = 16; - this.tb_Options_SpecLab_F1.Text = "400"; - this.tb_Options_SpecLab_F1.Value = global::AirScout.Properties.Settings.Default.SpecLab_F1; - // // label70 // this.label70.AutoSize = true; @@ -4865,18 +4082,6 @@ this.label66.TabIndex = 8; this.label66.Text = "F1:"; // - // tb_SpecLab_FileName - // - this.tb_SpecLab_FileName.BackColor = System.Drawing.Color.FloralWhite; - this.tb_SpecLab_FileName.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::AirScout.Properties.Settings.Default, "SpecLab_FileName", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_SpecLab_FileName.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_SpecLab_FileName.Location = new System.Drawing.Point(109, 153); - this.tb_SpecLab_FileName.Name = "tb_SpecLab_FileName"; - this.tb_SpecLab_FileName.Size = new System.Drawing.Size(347, 20); - this.tb_SpecLab_FileName.TabIndex = 6; - this.tb_SpecLab_FileName.Tag = ""; - this.tb_SpecLab_FileName.Text = global::AirScout.Properties.Settings.Default.SpecLab_FileName; - // // label63 // this.label63.AutoSize = true; @@ -4906,32 +4111,6 @@ this.label65.TabIndex = 3; this.label65.Text = resources.GetString("label65.Text"); // - // tb_SpecLab_URL - // - this.tb_SpecLab_URL.BackColor = System.Drawing.Color.FloralWhite; - this.tb_SpecLab_URL.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::AirScout.Properties.Settings.Default, "SpecLab_URL", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_SpecLab_URL.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_SpecLab_URL.Location = new System.Drawing.Point(109, 126); - this.tb_SpecLab_URL.Name = "tb_SpecLab_URL"; - this.tb_SpecLab_URL.Size = new System.Drawing.Size(347, 20); - this.tb_SpecLab_URL.TabIndex = 2; - this.tb_SpecLab_URL.Tag = ""; - this.tb_SpecLab_URL.Text = global::AirScout.Properties.Settings.Default.SpecLab_URL; - // - // cb_SpecLab_Enabled - // - this.cb_SpecLab_Enabled.AutoSize = true; - this.cb_SpecLab_Enabled.Checked = global::AirScout.Properties.Settings.Default.SpecLab_Enabled; - this.cb_SpecLab_Enabled.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "SpecLab_Enabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_SpecLab_Enabled.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_SpecLab_Enabled.Location = new System.Drawing.Point(18, 90); - this.cb_SpecLab_Enabled.Name = "cb_SpecLab_Enabled"; - this.cb_SpecLab_Enabled.Size = new System.Drawing.Size(122, 17); - this.cb_SpecLab_Enabled.TabIndex = 1; - this.cb_SpecLab_Enabled.Tag = ""; - this.cb_SpecLab_Enabled.Text = "Activate Connection"; - this.cb_SpecLab_Enabled.UseVisualStyleBackColor = true; - // // tab_Options_Track // this.tab_Options_Track.BackColor = System.Drawing.SystemColors.Control; @@ -4960,49 +4139,6 @@ this.groupBox36.TabStop = false; this.groupBox36.Text = "File Output"; // - // rb_Options_Track_File_None - // - this.rb_Options_Track_File_None.AutoSize = true; - this.rb_Options_Track_File_None.Checked = global::AirScout.Properties.Settings.Default.Track_File_None; - this.rb_Options_Track_File_None.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_File_None", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.rb_Options_Track_File_None.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.rb_Options_Track_File_None.Location = new System.Drawing.Point(17, 19); - this.rb_Options_Track_File_None.Name = "rb_Options_Track_File_None"; - this.rb_Options_Track_File_None.Size = new System.Drawing.Size(51, 17); - this.rb_Options_Track_File_None.TabIndex = 12; - this.rb_Options_Track_File_None.TabStop = true; - this.rb_Options_Track_File_None.Tag = ""; - this.rb_Options_Track_File_None.Text = "None"; - this.rb_Options_Track_File_None.UseVisualStyleBackColor = true; - // - // rb_Options_Track_File_WSJT - // - this.rb_Options_Track_File_WSJT.AutoSize = true; - this.rb_Options_Track_File_WSJT.Checked = global::AirScout.Properties.Settings.Default.Track_File_WSJT; - this.rb_Options_Track_File_WSJT.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_File_WSJT", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.rb_Options_Track_File_WSJT.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.rb_Options_Track_File_WSJT.Location = new System.Drawing.Point(17, 66); - this.rb_Options_Track_File_WSJT.Name = "rb_Options_Track_File_WSJT"; - this.rb_Options_Track_File_WSJT.Size = new System.Drawing.Size(84, 17); - this.rb_Options_Track_File_WSJT.TabIndex = 7; - this.rb_Options_Track_File_WSJT.Tag = ""; - this.rb_Options_Track_File_WSJT.Text = "WSJT Az/El"; - this.rb_Options_Track_File_WSJT.UseVisualStyleBackColor = true; - // - // rb_Options_Track_File_Native - // - this.rb_Options_Track_File_Native.AutoSize = true; - this.rb_Options_Track_File_Native.Checked = global::AirScout.Properties.Settings.Default.Track_File_Native; - this.rb_Options_Track_File_Native.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_File_Native", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.rb_Options_Track_File_Native.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.rb_Options_Track_File_Native.Location = new System.Drawing.Point(17, 43); - this.rb_Options_Track_File_Native.Name = "rb_Options_Track_File_Native"; - this.rb_Options_Track_File_Native.Size = new System.Drawing.Size(85, 17); - this.rb_Options_Track_File_Native.TabIndex = 6; - this.rb_Options_Track_File_Native.Tag = ""; - this.rb_Options_Track_File_Native.Text = "Native Az/El"; - this.rb_Options_Track_File_Native.UseVisualStyleBackColor = true; - // // groupBox35 // this.groupBox35.Controls.Add(this.rb_Options_Track_DDE_None); @@ -5015,35 +4151,6 @@ this.groupBox35.TabStop = false; this.groupBox35.Text = "DDE Output"; // - // rb_Options_Track_DDE_None - // - this.rb_Options_Track_DDE_None.AutoSize = true; - this.rb_Options_Track_DDE_None.Checked = global::AirScout.Properties.Settings.Default.Track_DDE_None; - this.rb_Options_Track_DDE_None.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_DDE_None", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.rb_Options_Track_DDE_None.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.rb_Options_Track_DDE_None.Location = new System.Drawing.Point(17, 19); - this.rb_Options_Track_DDE_None.Name = "rb_Options_Track_DDE_None"; - this.rb_Options_Track_DDE_None.Size = new System.Drawing.Size(51, 17); - this.rb_Options_Track_DDE_None.TabIndex = 11; - this.rb_Options_Track_DDE_None.TabStop = true; - this.rb_Options_Track_DDE_None.Tag = ""; - this.rb_Options_Track_DDE_None.Text = "None"; - this.rb_Options_Track_DDE_None.UseVisualStyleBackColor = true; - // - // rb_Options_Track_DDE_HRD - // - this.rb_Options_Track_DDE_HRD.AutoSize = true; - this.rb_Options_Track_DDE_HRD.Checked = global::AirScout.Properties.Settings.Default.Track_DDE_HRD; - this.rb_Options_Track_DDE_HRD.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_DDE_HRD", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.rb_Options_Track_DDE_HRD.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.rb_Options_Track_DDE_HRD.Location = new System.Drawing.Point(17, 42); - this.rb_Options_Track_DDE_HRD.Name = "rb_Options_Track_DDE_HRD"; - this.rb_Options_Track_DDE_HRD.Size = new System.Drawing.Size(202, 17); - this.rb_Options_Track_DDE_HRD.TabIndex = 6; - this.rb_Options_Track_DDE_HRD.Tag = ""; - this.rb_Options_Track_DDE_HRD.Text = "Ham Radio Deluxe (HRDRotator.exe)"; - this.rb_Options_Track_DDE_HRD.UseVisualStyleBackColor = true; - // // groupBox34 // this.groupBox34.Controls.Add(this.tb_Options_Track_UDP_AirScout_Port); @@ -5061,34 +4168,6 @@ this.groupBox34.TabStop = false; this.groupBox34.Text = "Network Output"; // - // tb_Options_Track_UDP_AirScout_Port - // - this.tb_Options_Track_UDP_AirScout_Port.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Track_UDP_AirScout_Port", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Track_UDP_AirScout_Port.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Track_UDP_AirScout_Port.FormatSpecifier = "F0"; - this.tb_Options_Track_UDP_AirScout_Port.Location = new System.Drawing.Point(526, 71); - this.tb_Options_Track_UDP_AirScout_Port.MaxValue = 0; - this.tb_Options_Track_UDP_AirScout_Port.MinValue = 0; - this.tb_Options_Track_UDP_AirScout_Port.Name = "tb_Options_Track_UDP_AirScout_Port"; - this.tb_Options_Track_UDP_AirScout_Port.Size = new System.Drawing.Size(43, 22); - this.tb_Options_Track_UDP_AirScout_Port.TabIndex = 17; - this.tb_Options_Track_UDP_AirScout_Port.Text = "9872"; - this.tb_Options_Track_UDP_AirScout_Port.Value = global::AirScout.Properties.Settings.Default.Track_UDP_AirScout_Port; - // - // tb_Options_Track_UDP_WinTest_Port - // - this.tb_Options_Track_UDP_WinTest_Port.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Track_UDP_WinTest_Port", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Track_UDP_WinTest_Port.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Track_UDP_WinTest_Port.FormatSpecifier = "F0"; - this.tb_Options_Track_UDP_WinTest_Port.Location = new System.Drawing.Point(526, 42); - this.tb_Options_Track_UDP_WinTest_Port.MaxValue = 0; - this.tb_Options_Track_UDP_WinTest_Port.MinValue = 0; - this.tb_Options_Track_UDP_WinTest_Port.Name = "tb_Options_Track_UDP_WinTest_Port"; - this.tb_Options_Track_UDP_WinTest_Port.Size = new System.Drawing.Size(43, 22); - this.tb_Options_Track_UDP_WinTest_Port.TabIndex = 16; - this.tb_Options_Track_UDP_WinTest_Port.Text = "9871"; - this.tb_Options_Track_UDP_WinTest_Port.Value = global::AirScout.Properties.Settings.Default.Track_UDP_WinTest_Port; - // // label90 // this.label90.AutoSize = true; @@ -5109,50 +4188,6 @@ this.label89.TabIndex = 13; this.label89.Text = "Port:"; // - // rb_Options_Track_UDP_None - // - this.rb_Options_Track_UDP_None.AutoSize = true; - this.rb_Options_Track_UDP_None.Checked = global::AirScout.Properties.Settings.Default.Track_UDP_None; - this.rb_Options_Track_UDP_None.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_UDP_None", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.rb_Options_Track_UDP_None.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.rb_Options_Track_UDP_None.Location = new System.Drawing.Point(17, 19); - this.rb_Options_Track_UDP_None.Name = "rb_Options_Track_UDP_None"; - this.rb_Options_Track_UDP_None.Size = new System.Drawing.Size(51, 17); - this.rb_Options_Track_UDP_None.TabIndex = 11; - this.rb_Options_Track_UDP_None.TabStop = true; - this.rb_Options_Track_UDP_None.Tag = ""; - this.rb_Options_Track_UDP_None.Text = "None"; - this.rb_Options_Track_UDP_None.UseVisualStyleBackColor = true; - // - // rb_Options_Track_UDP_AirScout - // - this.rb_Options_Track_UDP_AirScout.AutoSize = true; - this.rb_Options_Track_UDP_AirScout.Checked = global::AirScout.Properties.Settings.Default.Track_UDP_AirScout; - this.rb_Options_Track_UDP_AirScout.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_UDP_AirScout", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.rb_Options_Track_UDP_AirScout.Enabled = false; - this.rb_Options_Track_UDP_AirScout.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.rb_Options_Track_UDP_AirScout.Location = new System.Drawing.Point(17, 65); - this.rb_Options_Track_UDP_AirScout.Name = "rb_Options_Track_UDP_AirScout"; - this.rb_Options_Track_UDP_AirScout.Size = new System.Drawing.Size(280, 17); - this.rb_Options_Track_UDP_AirScout.TabIndex = 7; - this.rb_Options_Track_UDP_AirScout.Tag = ""; - this.rb_Options_Track_UDP_AirScout.Text = "UDP Broadcast (AirScout) Az/El (not implemented yet)"; - this.rb_Options_Track_UDP_AirScout.UseVisualStyleBackColor = true; - // - // rb_Options_Track_UDP_WinTest - // - this.rb_Options_Track_UDP_WinTest.AutoSize = true; - this.rb_Options_Track_UDP_WinTest.Checked = global::AirScout.Properties.Settings.Default.Track_UDP_WinTest; - this.rb_Options_Track_UDP_WinTest.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_UDP_WinTest", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.rb_Options_Track_UDP_WinTest.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.rb_Options_Track_UDP_WinTest.Location = new System.Drawing.Point(17, 42); - this.rb_Options_Track_UDP_WinTest.Name = "rb_Options_Track_UDP_WinTest"; - this.rb_Options_Track_UDP_WinTest.Size = new System.Drawing.Size(188, 17); - this.rb_Options_Track_UDP_WinTest.TabIndex = 6; - this.rb_Options_Track_UDP_WinTest.Tag = ""; - this.rb_Options_Track_UDP_WinTest.Text = "UDP Broadcast (Win-Test) Az only"; - this.rb_Options_Track_UDP_WinTest.UseVisualStyleBackColor = true; - // // groupBox33 // this.groupBox33.Controls.Add(this.tb_Options_Track_Serial_Baudrate); @@ -5170,35 +4205,6 @@ this.groupBox33.TabStop = false; this.groupBox33.Text = "Serial Output"; // - // tb_Options_Track_Serial_Baudrate - // - this.tb_Options_Track_Serial_Baudrate.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Track_Serial_Baudrate", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Track_Serial_Baudrate.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Track_Serial_Baudrate.FormatSpecifier = "F0"; - this.tb_Options_Track_Serial_Baudrate.Location = new System.Drawing.Point(526, 13); - this.tb_Options_Track_Serial_Baudrate.MaxValue = 115200; - this.tb_Options_Track_Serial_Baudrate.MinValue = 0; - this.tb_Options_Track_Serial_Baudrate.Name = "tb_Options_Track_Serial_Baudrate"; - this.tb_Options_Track_Serial_Baudrate.Size = new System.Drawing.Size(72, 22); - this.tb_Options_Track_Serial_Baudrate.TabIndex = 11; - this.tb_Options_Track_Serial_Baudrate.Text = "4800"; - this.tb_Options_Track_Serial_Baudrate.Value = global::AirScout.Properties.Settings.Default.Track_Serial_Baudrate; - // - // rb_Options_Track_Serial_None - // - this.rb_Options_Track_Serial_None.AutoSize = true; - this.rb_Options_Track_Serial_None.Checked = global::AirScout.Properties.Settings.Default.Track_Serial_None; - this.rb_Options_Track_Serial_None.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_Serial_None", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.rb_Options_Track_Serial_None.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.rb_Options_Track_Serial_None.Location = new System.Drawing.Point(17, 15); - this.rb_Options_Track_Serial_None.Name = "rb_Options_Track_Serial_None"; - this.rb_Options_Track_Serial_None.Size = new System.Drawing.Size(51, 17); - this.rb_Options_Track_Serial_None.TabIndex = 10; - this.rb_Options_Track_Serial_None.TabStop = true; - this.rb_Options_Track_Serial_None.Tag = ""; - this.rb_Options_Track_Serial_None.Text = "None"; - this.rb_Options_Track_Serial_None.UseVisualStyleBackColor = true; - // // label88 // this.label88.AutoSize = true; @@ -5219,46 +4225,6 @@ this.label87.TabIndex = 7; this.label87.Text = "Port:"; // - // tb_Options_Track_Serial_Port - // - this.tb_Options_Track_Serial_Port.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; - this.tb_Options_Track_Serial_Port.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::AirScout.Properties.Settings.Default, "Track_Serial_Port", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Track_Serial_Port.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Track_Serial_Port.Location = new System.Drawing.Point(407, 14); - this.tb_Options_Track_Serial_Port.Name = "tb_Options_Track_Serial_Port"; - this.tb_Options_Track_Serial_Port.Size = new System.Drawing.Size(54, 22); - this.tb_Options_Track_Serial_Port.TabIndex = 6; - this.tb_Options_Track_Serial_Port.Tag = ""; - this.tb_Options_Track_Serial_Port.Text = global::AirScout.Properties.Settings.Default.Track_Serial_Port; - // - // rb_Options_Track_Serial_GS232_AZEL - // - this.rb_Options_Track_Serial_GS232_AZEL.AutoSize = true; - this.rb_Options_Track_Serial_GS232_AZEL.Checked = global::AirScout.Properties.Settings.Default.Track_Serial_GS232_AZEL; - this.rb_Options_Track_Serial_GS232_AZEL.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_Serial_GS232_AZEL", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.rb_Options_Track_Serial_GS232_AZEL.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.rb_Options_Track_Serial_GS232_AZEL.Location = new System.Drawing.Point(17, 61); - this.rb_Options_Track_Serial_GS232_AZEL.Name = "rb_Options_Track_Serial_GS232_AZEL"; - this.rb_Options_Track_Serial_GS232_AZEL.Size = new System.Drawing.Size(97, 17); - this.rb_Options_Track_Serial_GS232_AZEL.TabIndex = 5; - this.rb_Options_Track_Serial_GS232_AZEL.Tag = ""; - this.rb_Options_Track_Serial_GS232_AZEL.Text = "GS-232A Az/El"; - this.rb_Options_Track_Serial_GS232_AZEL.UseVisualStyleBackColor = true; - // - // rb_Options_Track_Serial_GS232_AZ - // - this.rb_Options_Track_Serial_GS232_AZ.AutoSize = true; - this.rb_Options_Track_Serial_GS232_AZ.Checked = global::AirScout.Properties.Settings.Default.Track_Serial_GS232_AZ; - this.rb_Options_Track_Serial_GS232_AZ.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_Serial_GS232_AZ", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.rb_Options_Track_Serial_GS232_AZ.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.rb_Options_Track_Serial_GS232_AZ.Location = new System.Drawing.Point(17, 38); - this.rb_Options_Track_Serial_GS232_AZ.Name = "rb_Options_Track_Serial_GS232_AZ"; - this.rb_Options_Track_Serial_GS232_AZ.Size = new System.Drawing.Size(105, 17); - this.rb_Options_Track_Serial_GS232_AZ.TabIndex = 0; - this.rb_Options_Track_Serial_GS232_AZ.Tag = ""; - this.rb_Options_Track_Serial_GS232_AZ.Text = "GS-232A Az only"; - this.rb_Options_Track_Serial_GS232_AZ.UseVisualStyleBackColor = true; - // // groupBox28 // this.groupBox28.Controls.Add(this.cb_Options_Track_Activate); @@ -5271,20 +4237,6 @@ this.groupBox28.Text = "Activate Antenna Tracking"; this.groupBox28.Enter += new System.EventHandler(this.tab_Options_Track_Enter); // - // cb_Options_Track_Activate - // - this.cb_Options_Track_Activate.AutoSize = true; - this.cb_Options_Track_Activate.Checked = global::AirScout.Properties.Settings.Default.Track_Activate; - this.cb_Options_Track_Activate.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_Activate", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Track_Activate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Track_Activate.Location = new System.Drawing.Point(13, 19); - this.cb_Options_Track_Activate.Name = "cb_Options_Track_Activate"; - this.cb_Options_Track_Activate.Size = new System.Drawing.Size(153, 17); - this.cb_Options_Track_Activate.TabIndex = 1; - this.cb_Options_Track_Activate.Tag = ""; - this.cb_Options_Track_Activate.Text = "Activate Antenna Tracking"; - this.cb_Options_Track_Activate.UseVisualStyleBackColor = true; - // // tab_Options_Watchlist // this.tab_Options_Watchlist.BackColor = System.Drawing.SystemColors.Control; @@ -5314,26 +4266,6 @@ this.groupBox50.TabStop = false; this.groupBox50.Text = "Info"; // - // pictureBox3 - // - this.pictureBox3.Image = global::AirScout.Properties.Resources.AirScout_Watchlist; - this.pictureBox3.Location = new System.Drawing.Point(520, 19); - this.pictureBox3.Name = "pictureBox3"; - this.pictureBox3.Size = new System.Drawing.Size(113, 344); - this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox3.TabIndex = 3; - this.pictureBox3.TabStop = false; - // - // pictureBox2 - // - this.pictureBox2.Image = global::AirScout.Properties.Resources.AirScout_Marker; - this.pictureBox2.Location = new System.Drawing.Point(281, 36); - this.pictureBox2.Name = "pictureBox2"; - this.pictureBox2.Size = new System.Drawing.Size(210, 118); - this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox2.TabIndex = 2; - this.pictureBox2.TabStop = false; - // // label37 // this.label37.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -5344,17 +4276,6 @@ this.label37.Text = resources.GetString("label37.Text"); this.label37.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // - // pictureBox1 - // - this.pictureBox1.Image = global::AirScout.Properties.Resources.AirScout_Multi; - this.pictureBox1.InitialImage = global::AirScout.Properties.Resources.AirScout_Multi; - this.pictureBox1.Location = new System.Drawing.Point(6, 15); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(283, 153); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox1.TabIndex = 0; - this.pictureBox1.TabStop = false; - // // btn_Options_Watchlist_Clear // this.btn_Options_Watchlist_Clear.Enabled = false; @@ -5380,39 +4301,6 @@ this.groupBox17.TabStop = false; this.groupBox17.Text = "General"; // - // cb_Options_Watchlist_SyncWithKST - // - this.cb_Options_Watchlist_SyncWithKST.AutoSize = true; - this.cb_Options_Watchlist_SyncWithKST.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; - this.cb_Options_Watchlist_SyncWithKST.Checked = global::AirScout.Properties.Settings.Default.Watchlist_SyncWithKST; - this.cb_Options_Watchlist_SyncWithKST.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_Options_Watchlist_SyncWithKST.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::AirScout.Properties.Settings.Default, "Server_Activate", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Watchlist_SyncWithKST.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Watchlist_SyncWithKST", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.cb_Options_Watchlist_SyncWithKST.Enabled = global::AirScout.Properties.Settings.Default.Server_Activate; - this.cb_Options_Watchlist_SyncWithKST.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cb_Options_Watchlist_SyncWithKST.Location = new System.Drawing.Point(6, 47); - this.cb_Options_Watchlist_SyncWithKST.Name = "cb_Options_Watchlist_SyncWithKST"; - this.cb_Options_Watchlist_SyncWithKST.Size = new System.Drawing.Size(436, 17); - this.cb_Options_Watchlist_SyncWithKST.TabIndex = 6; - this.cb_Options_Watchlist_SyncWithKST.Text = "Keep in sync with KST user list (needs wtKST > V3.1 and network functions activat" + - "ed):"; - this.cb_Options_Watchlist_SyncWithKST.UseVisualStyleBackColor = true; - this.cb_Options_Watchlist_SyncWithKST.CheckedChanged += new System.EventHandler(this.cb_Options_Watchlist_SyncWithKST_CheckedChanged); - // - // tb_Options_Watchlist_MaxCount - // - this.tb_Options_Watchlist_MaxCount.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Watchlist_MaxCount", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.tb_Options_Watchlist_MaxCount.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tb_Options_Watchlist_MaxCount.FormatSpecifier = "F0"; - this.tb_Options_Watchlist_MaxCount.Location = new System.Drawing.Point(395, 20); - this.tb_Options_Watchlist_MaxCount.MaxValue = 1000; - this.tb_Options_Watchlist_MaxCount.MinValue = 1; - this.tb_Options_Watchlist_MaxCount.Name = "tb_Options_Watchlist_MaxCount"; - this.tb_Options_Watchlist_MaxCount.Size = new System.Drawing.Size(47, 22); - this.tb_Options_Watchlist_MaxCount.TabIndex = 5; - this.tb_Options_Watchlist_MaxCount.Text = "1000"; - this.tb_Options_Watchlist_MaxCount.Value = global::AirScout.Properties.Settings.Default.Watchlist_MaxCount; - // // label31 // this.label31.AutoSize = true; @@ -5448,18 +4336,6 @@ this.tab_Options_Misc.TabIndex = 17; this.tab_Options_Misc.Text = "Misc."; // - // pictureBox4 - // - this.pictureBox4.BackColor = System.Drawing.Color.White; - this.pictureBox4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pictureBox4.Image = global::AirScout.Properties.Resources.Settings; - this.pictureBox4.Location = new System.Drawing.Point(343, 108); - this.pictureBox4.Name = "pictureBox4"; - this.pictureBox4.Size = new System.Drawing.Size(306, 277); - this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox4.TabIndex = 5; - this.pictureBox4.TabStop = false; - // // label143 // this.label143.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -5757,6 +4633,1459 @@ this.bw_StationDataUpdater.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.bw_StationDataUpdater_ProgressChanged); this.bw_StationDataUpdater.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bw_StationDataUpdater_RunWorkerCompleted); // + // bw_ASTER3_MapUpdater + // + this.bw_ASTER3_MapUpdater.WorkerReportsProgress = true; + this.bw_ASTER3_MapUpdater.WorkerSupportsCancellation = true; + this.bw_ASTER3_MapUpdater.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bw_ASTER3_MapUpdater_DoWork); + this.bw_ASTER3_MapUpdater.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.bw_ASTER3_MapUpdater_ProgressChanged); + this.bw_ASTER3_MapUpdater.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bw_ASTER3_MapUpdater_RunWorkerCompleted); + // + // bw_ASTER1_MapUpdater + // + this.bw_ASTER1_MapUpdater.WorkerReportsProgress = true; + this.bw_ASTER1_MapUpdater.WorkerSupportsCancellation = true; + this.bw_ASTER1_MapUpdater.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bw_ASTER1_MapUpdater_DoWork); + this.bw_ASTER1_MapUpdater.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.bw_ASTER1_MapUpdater_ProgressChanged); + this.bw_ASTER1_MapUpdater.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bw_ASTER1_MapUpdater_RunWorkerCompleted); + // + // label148 + // + this.label148.AutoSize = true; + this.label148.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label148.Location = new System.Drawing.Point(218, 20); + this.label148.Name = "label148"; + this.label148.Size = new System.Drawing.Size(96, 13); + this.label148.TabIndex = 7; + this.label148.Text = "Main Map Opacity:"; + // + // tb_Coverage_MaxLat + // + this.tb_Coverage_MaxLat.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "MaxLat", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Coverage_MaxLat.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Coverage_MaxLat.FormatSpecifier = "F0"; + this.tb_Coverage_MaxLat.Location = new System.Drawing.Point(589, 416); + this.tb_Coverage_MaxLat.MaxValue = 90D; + this.tb_Coverage_MaxLat.MinValue = -90D; + this.tb_Coverage_MaxLat.Name = "tb_Coverage_MaxLat"; + this.tb_Coverage_MaxLat.Size = new System.Drawing.Size(50, 22); + this.tb_Coverage_MaxLat.TabIndex = 4; + this.tb_Coverage_MaxLat.Text = "60"; + this.tb_Coverage_MaxLat.Value = global::AirScout.Properties.Settings.Default.MaxLat; + this.tb_Coverage_MaxLat.TextChanged += new System.EventHandler(this.tab_Options_General_Update); + // + // tb_Coverage_MinLat + // + this.tb_Coverage_MinLat.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "MinLat", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Coverage_MinLat.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Coverage_MinLat.FormatSpecifier = "F0"; + this.tb_Coverage_MinLat.Location = new System.Drawing.Point(589, 391); + this.tb_Coverage_MinLat.MaxValue = 90D; + this.tb_Coverage_MinLat.MinValue = -90D; + this.tb_Coverage_MinLat.Name = "tb_Coverage_MinLat"; + this.tb_Coverage_MinLat.Size = new System.Drawing.Size(50, 22); + this.tb_Coverage_MinLat.TabIndex = 3; + this.tb_Coverage_MinLat.Text = "35"; + this.tb_Coverage_MinLat.Value = global::AirScout.Properties.Settings.Default.MinLat; + this.tb_Coverage_MinLat.TextChanged += new System.EventHandler(this.tab_Options_General_Update); + // + // tb_Coverage_MaxLon + // + this.tb_Coverage_MaxLon.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "MaxLon", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Coverage_MaxLon.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Coverage_MaxLon.FormatSpecifier = "F0"; + this.tb_Coverage_MaxLon.Location = new System.Drawing.Point(589, 364); + this.tb_Coverage_MaxLon.MaxValue = 180D; + this.tb_Coverage_MaxLon.MinValue = -180D; + this.tb_Coverage_MaxLon.Name = "tb_Coverage_MaxLon"; + this.tb_Coverage_MaxLon.Size = new System.Drawing.Size(50, 22); + this.tb_Coverage_MaxLon.TabIndex = 2; + this.tb_Coverage_MaxLon.Text = "30"; + this.tb_Coverage_MaxLon.Value = global::AirScout.Properties.Settings.Default.MaxLon; + this.tb_Coverage_MaxLon.TextChanged += new System.EventHandler(this.tab_Options_General_Update); + // + // tb_Coverage_MinLon + // + this.tb_Coverage_MinLon.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "MinLon", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Coverage_MinLon.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Coverage_MinLon.FormatSpecifier = "F0"; + this.tb_Coverage_MinLon.Location = new System.Drawing.Point(589, 337); + this.tb_Coverage_MinLon.MaxValue = 180D; + this.tb_Coverage_MinLon.MinValue = -180D; + this.tb_Coverage_MinLon.Name = "tb_Coverage_MinLon"; + this.tb_Coverage_MinLon.Size = new System.Drawing.Size(50, 22); + this.tb_Coverage_MinLon.TabIndex = 1; + this.tb_Coverage_MinLon.Text = "-15"; + this.tb_Coverage_MinLon.Value = global::AirScout.Properties.Settings.Default.MinLon; + this.tb_Coverage_MinLon.TextChanged += new System.EventHandler(this.tab_Options_General_Update); + // + // cb_Options_Background_Calculations_Enable + // + this.cb_Options_Background_Calculations_Enable.AutoSize = true; + this.cb_Options_Background_Calculations_Enable.Checked = global::AirScout.Properties.Settings.Default.Background_Calculations_Enable; + this.cb_Options_Background_Calculations_Enable.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_Background_Calculations_Enable.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Background_Calculations_Enable", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Background_Calculations_Enable.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Background_Calculations_Enable.Location = new System.Drawing.Point(22, 126); + this.cb_Options_Background_Calculations_Enable.Name = "cb_Options_Background_Calculations_Enable"; + this.cb_Options_Background_Calculations_Enable.Size = new System.Drawing.Size(308, 17); + this.cb_Options_Background_Calculations_Enable.TabIndex = 6; + this.cb_Options_Background_Calculations_Enable.Text = "Enable Background Pre-Calculations for paths/horizons etc."; + this.cb_Options_Background_Calculations_Enable.UseVisualStyleBackColor = true; + // + // ud_Options_Database_Update_Period + // + this.ud_Options_Database_Update_Period.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Background_Update_Period", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.ud_Options_Database_Update_Period.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ud_Options_Database_Update_Period.Location = new System.Drawing.Point(278, 84); + this.ud_Options_Database_Update_Period.Maximum = new decimal(new int[] { + 6000, + 0, + 0, + 0}); + this.ud_Options_Database_Update_Period.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.ud_Options_Database_Update_Period.Name = "ud_Options_Database_Update_Period"; + this.ud_Options_Database_Update_Period.Size = new System.Drawing.Size(39, 20); + this.ud_Options_Database_Update_Period.TabIndex = 3; + this.ud_Options_Database_Update_Period.Value = global::AirScout.Properties.Settings.Default.Background_Update_Period; + // + // cb_Options_Locations_RestrictToAreaOfInterest + // + this.cb_Options_Locations_RestrictToAreaOfInterest.AutoSize = true; + this.cb_Options_Locations_RestrictToAreaOfInterest.Checked = global::AirScout.Properties.Settings.Default.Location_RestrictToAreaOfInterest; + this.cb_Options_Locations_RestrictToAreaOfInterest.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_Locations_RestrictToAreaOfInterest.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Location_RestrictToAreaOfInterest", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Locations_RestrictToAreaOfInterest.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Locations_RestrictToAreaOfInterest.Location = new System.Drawing.Point(12, 58); + this.cb_Options_Locations_RestrictToAreaOfInterest.Name = "cb_Options_Locations_RestrictToAreaOfInterest"; + this.cb_Options_Locations_RestrictToAreaOfInterest.Size = new System.Drawing.Size(230, 17); + this.cb_Options_Locations_RestrictToAreaOfInterest.TabIndex = 12; + this.cb_Options_Locations_RestrictToAreaOfInterest.Text = "Restrict locations to current Area of Interest"; + this.tt_Options.SetToolTip(this.cb_Options_Locations_RestrictToAreaOfInterest, "Restrict stations kept in the database to Area of Interest \r\n(all other stations" + + " will be removed during the update process)"); + this.cb_Options_Locations_RestrictToAreaOfInterest.UseVisualStyleBackColor = true; + // + // cb_Options_SmallLettersForSubSquares + // + this.cb_Options_SmallLettersForSubSquares.AutoSize = true; + this.cb_Options_SmallLettersForSubSquares.Checked = global::AirScout.Properties.Settings.Default.Locator_SmallLettersForSubsquares; + this.cb_Options_SmallLettersForSubSquares.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Locator_SmallLettersForSubsquares", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_SmallLettersForSubSquares.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_SmallLettersForSubSquares.Location = new System.Drawing.Point(239, 16); + this.cb_Options_SmallLettersForSubSquares.Name = "cb_Options_SmallLettersForSubSquares"; + this.cb_Options_SmallLettersForSubSquares.Size = new System.Drawing.Size(157, 17); + this.cb_Options_SmallLettersForSubSquares.TabIndex = 11; + this.cb_Options_SmallLettersForSubSquares.Text = "Small letters for subsquares:"; + this.cb_Options_SmallLettersForSubSquares.UseVisualStyleBackColor = true; + this.cb_Options_SmallLettersForSubSquares.CheckedChanged += new System.EventHandler(this.cb_Options_SmallLettersForSubSquares_CheckedChanged); + // + // cb_Options_Locator_AutoLength + // + this.cb_Options_Locator_AutoLength.AutoSize = true; + this.cb_Options_Locator_AutoLength.Checked = global::AirScout.Properties.Settings.Default.Locator_AutoLength; + this.cb_Options_Locator_AutoLength.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_Locator_AutoLength.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Locator_AutoLength", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Locator_AutoLength.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Locator_AutoLength.Location = new System.Drawing.Point(12, 38); + this.cb_Options_Locator_AutoLength.Name = "cb_Options_Locator_AutoLength"; + this.cb_Options_Locator_AutoLength.Size = new System.Drawing.Size(319, 17); + this.cb_Options_Locator_AutoLength.TabIndex = 10; + this.cb_Options_Locator_AutoLength.Text = "Cut locator to significant digits automatically (Minimum 6 digits):"; + this.cb_Options_Locator_AutoLength.UseVisualStyleBackColor = true; + // + // ud_Options_Locator_MaxLength + // + this.ud_Options_Locator_MaxLength.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Locator_MaxLength", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.ud_Options_Locator_MaxLength.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ud_Options_Locator_MaxLength.Increment = new decimal(new int[] { + 2, + 0, + 0, + 0}); + this.ud_Options_Locator_MaxLength.Location = new System.Drawing.Point(180, 15); + this.ud_Options_Locator_MaxLength.Maximum = new decimal(new int[] { + 14, + 0, + 0, + 0}); + this.ud_Options_Locator_MaxLength.Minimum = new decimal(new int[] { + 6, + 0, + 0, + 0}); + this.ud_Options_Locator_MaxLength.Name = "ud_Options_Locator_MaxLength"; + this.ud_Options_Locator_MaxLength.Size = new System.Drawing.Size(50, 20); + this.ud_Options_Locator_MaxLength.TabIndex = 9; + this.ud_Options_Locator_MaxLength.Value = global::AirScout.Properties.Settings.Default.Locator_MaxLength; + // + // tb_Options_DXLoc + // + this.tb_Options_DXLoc.BackColor = System.Drawing.SystemColors.Window; + this.tb_Options_DXLoc.DataBindings.Add(new System.Windows.Forms.Binding("SmallLettersForSubsquares", global::AirScout.Properties.Settings.Default, "Locator_SmallLettersForSubsquares", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_DXLoc.ErrorBackColor = System.Drawing.Color.Red; + this.tb_Options_DXLoc.ErrorForeColor = System.Drawing.Color.White; + this.tb_Options_DXLoc.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_DXLoc.ForeColor = System.Drawing.SystemColors.WindowText; + this.tb_Options_DXLoc.Location = new System.Drawing.Point(90, 36); + this.tb_Options_DXLoc.Name = "tb_Options_DXLoc"; + this.tb_Options_DXLoc.Size = new System.Drawing.Size(100, 21); + this.tb_Options_DXLoc.SmallLettersForSubsquares = global::AirScout.Properties.Settings.Default.Locator_SmallLettersForSubsquares; + this.tb_Options_DXLoc.TabIndex = 6; + this.tb_Options_DXLoc.TextChanged += new System.EventHandler(this.tb_Options_DXLoc_TextChanged); + // + // tb_Options_MyLoc + // + this.tb_Options_MyLoc.BackColor = System.Drawing.SystemColors.Window; + this.tb_Options_MyLoc.DataBindings.Add(new System.Windows.Forms.Binding("SmallLettersForSubsquares", global::AirScout.Properties.Settings.Default, "Locator_SmallLettersForSubsquares", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_MyLoc.ErrorBackColor = System.Drawing.Color.Red; + this.tb_Options_MyLoc.ErrorForeColor = System.Drawing.Color.White; + this.tb_Options_MyLoc.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_MyLoc.ForeColor = System.Drawing.SystemColors.WindowText; + this.tb_Options_MyLoc.Location = new System.Drawing.Point(89, 36); + this.tb_Options_MyLoc.Name = "tb_Options_MyLoc"; + this.tb_Options_MyLoc.Size = new System.Drawing.Size(100, 21); + this.tb_Options_MyLoc.SmallLettersForSubsquares = global::AirScout.Properties.Settings.Default.Locator_SmallLettersForSubsquares; + this.tb_Options_MyLoc.TabIndex = 2; + this.tb_Options_MyLoc.TextChanged += new System.EventHandler(this.tb_Options_MyLoc_TextChanged); + // + // cb_Options_Map_SmallMarkers + // + this.cb_Options_Map_SmallMarkers.AutoSize = true; + this.cb_Options_Map_SmallMarkers.Checked = global::AirScout.Properties.Settings.Default.Map_SmallMarkers; + this.cb_Options_Map_SmallMarkers.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_Map_SmallMarkers.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Map_SmallMarkers", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Map_SmallMarkers.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Map_SmallMarkers.Location = new System.Drawing.Point(18, 22); + this.cb_Options_Map_SmallMarkers.Name = "cb_Options_Map_SmallMarkers"; + this.cb_Options_Map_SmallMarkers.Size = new System.Drawing.Size(199, 17); + this.cb_Options_Map_SmallMarkers.TabIndex = 2; + this.cb_Options_Map_SmallMarkers.Text = "Use Small Markers for all Path Marks"; + this.cb_Options_Map_SmallMarkers.UseVisualStyleBackColor = true; + // + // cb_Options_Map_LabelCalls + // + this.cb_Options_Map_LabelCalls.AutoSize = true; + this.cb_Options_Map_LabelCalls.Checked = global::AirScout.Properties.Settings.Default.Map_LabelCalls; + this.cb_Options_Map_LabelCalls.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_Map_LabelCalls.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Map_LabelCalls", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Map_LabelCalls.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Map_LabelCalls.Location = new System.Drawing.Point(18, 45); + this.cb_Options_Map_LabelCalls.Name = "cb_Options_Map_LabelCalls"; + this.cb_Options_Map_LabelCalls.Size = new System.Drawing.Size(209, 17); + this.cb_Options_Map_LabelCalls.TabIndex = 3; + this.cb_Options_Map_LabelCalls.Text = "Show Labels with Callsign at Locations"; + this.cb_Options_Map_LabelCalls.UseVisualStyleBackColor = true; + // + // ud_Options_Charts_FontSize + // + this.ud_Options_Charts_FontSize.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Charts_FontSize", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.ud_Options_Charts_FontSize.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ud_Options_Charts_FontSize.Location = new System.Drawing.Point(192, 15); + this.ud_Options_Charts_FontSize.Maximum = new decimal(new int[] { + 16, + 0, + 0, + 0}); + this.ud_Options_Charts_FontSize.Minimum = new decimal(new int[] { + 6, + 0, + 0, + 0}); + this.ud_Options_Charts_FontSize.Name = "ud_Options_Charts_FontSize"; + this.ud_Options_Charts_FontSize.Size = new System.Drawing.Size(45, 22); + this.ud_Options_Charts_FontSize.TabIndex = 0; + this.ud_Options_Charts_FontSize.Value = global::AirScout.Properties.Settings.Default.Charts_FontSize; + // + // tb_Options_Map_Update_Interval + // + this.tb_Options_Map_Update_Interval.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Map_Update", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Map_Update_Interval.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Map_Update_Interval.FormatSpecifier = "F0"; + this.tb_Options_Map_Update_Interval.Location = new System.Drawing.Point(119, 33); + this.tb_Options_Map_Update_Interval.MaxValue = 3600; + this.tb_Options_Map_Update_Interval.MinValue = 0; + this.tb_Options_Map_Update_Interval.Name = "tb_Options_Map_Update_Interval"; + this.tb_Options_Map_Update_Interval.Size = new System.Drawing.Size(37, 22); + this.tb_Options_Map_Update_Interval.TabIndex = 23; + this.tb_Options_Map_Update_Interval.Text = "1"; + this.tb_Options_Map_Update_Interval.Value = global::AirScout.Properties.Settings.Default.Map_Update; + // + // ud_Options_Map_Preloader_MaxZoom + // + this.ud_Options_Map_Preloader_MaxZoom.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Map_Preloader_MaxZoom", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.ud_Options_Map_Preloader_MaxZoom.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ud_Options_Map_Preloader_MaxZoom.Location = new System.Drawing.Point(319, 66); + this.ud_Options_Map_Preloader_MaxZoom.Maximum = new decimal(new int[] { + 11, + 0, + 0, + 0}); + this.ud_Options_Map_Preloader_MaxZoom.Name = "ud_Options_Map_Preloader_MaxZoom"; + this.ud_Options_Map_Preloader_MaxZoom.Size = new System.Drawing.Size(54, 22); + this.ud_Options_Map_Preloader_MaxZoom.TabIndex = 6; + this.ud_Options_Map_Preloader_MaxZoom.Value = global::AirScout.Properties.Settings.Default.Map_Preloader_MaxZoom; + // + // cb_Options_Map_Preloader_Enabled + // + this.cb_Options_Map_Preloader_Enabled.AutoSize = true; + this.cb_Options_Map_Preloader_Enabled.Checked = global::AirScout.Properties.Settings.Default.Map_Preloader_Enabled; + this.cb_Options_Map_Preloader_Enabled.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_Map_Preloader_Enabled.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Map_Preloader_Enabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Map_Preloader_Enabled.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Map_Preloader_Enabled.Location = new System.Drawing.Point(15, 63); + this.cb_Options_Map_Preloader_Enabled.Name = "cb_Options_Map_Preloader_Enabled"; + this.cb_Options_Map_Preloader_Enabled.Size = new System.Drawing.Size(205, 30); + this.cb_Options_Map_Preloader_Enabled.TabIndex = 4; + this.cb_Options_Map_Preloader_Enabled.Text = "Enable Map Preloading from AirScout \r\nWeb Server or Selected Provider"; + this.cb_Options_Map_Preloader_Enabled.UseVisualStyleBackColor = true; + // + // cb_Options_Watchlist_Activate + // + this.cb_Options_Watchlist_Activate.AutoSize = true; + this.cb_Options_Watchlist_Activate.Checked = global::AirScout.Properties.Settings.Default.Watchlist_Activated; + this.cb_Options_Watchlist_Activate.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_Watchlist_Activate.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Watchlist_Activated", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Watchlist_Activate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Watchlist_Activate.Location = new System.Drawing.Point(15, 43); + this.cb_Options_Watchlist_Activate.Name = "cb_Options_Watchlist_Activate"; + this.cb_Options_Watchlist_Activate.Size = new System.Drawing.Size(144, 17); + this.cb_Options_Watchlist_Activate.TabIndex = 1; + this.cb_Options_Watchlist_Activate.Text = "Show Watchlist Callsigns"; + this.cb_Options_Watchlist_Activate.UseVisualStyleBackColor = true; + // + // cb_Options_Airports_Activate + // + this.cb_Options_Airports_Activate.AutoSize = true; + this.cb_Options_Airports_Activate.Checked = global::AirScout.Properties.Settings.Default.Airports_Activate; + this.cb_Options_Airports_Activate.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_Airports_Activate.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Airports_Activate", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Airports_Activate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Airports_Activate.Location = new System.Drawing.Point(16, 19); + this.cb_Options_Airports_Activate.Name = "cb_Options_Airports_Activate"; + this.cb_Options_Airports_Activate.Size = new System.Drawing.Size(91, 17); + this.cb_Options_Airports_Activate.TabIndex = 0; + this.cb_Options_Airports_Activate.Text = "Show Airports"; + this.cb_Options_Airports_Activate.UseVisualStyleBackColor = true; + // + // tb_Options_Planes_IconSize_S + // + this.tb_Options_Planes_IconSize_S.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_IconSize_S", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Planes_IconSize_S.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Planes_IconSize_S.FormatSpecifier = "F0"; + this.tb_Options_Planes_IconSize_S.Location = new System.Drawing.Point(183, 47); + this.tb_Options_Planes_IconSize_S.MaxValue = 128; + this.tb_Options_Planes_IconSize_S.MinValue = 0; + this.tb_Options_Planes_IconSize_S.Name = "tb_Options_Planes_IconSize_S"; + this.tb_Options_Planes_IconSize_S.Size = new System.Drawing.Size(37, 22); + this.tb_Options_Planes_IconSize_S.TabIndex = 16; + this.tb_Options_Planes_IconSize_S.Text = "48"; + this.tb_Options_Planes_IconSize_S.Value = global::AirScout.Properties.Settings.Default.Planes_IconSize_S; + // + // tb_Options_Planes_IconSize_H + // + this.tb_Options_Planes_IconSize_H.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_IconSize_H", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Planes_IconSize_H.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Planes_IconSize_H.FormatSpecifier = "F0"; + this.tb_Options_Planes_IconSize_H.Location = new System.Drawing.Point(183, 19); + this.tb_Options_Planes_IconSize_H.MaxValue = 128; + this.tb_Options_Planes_IconSize_H.MinValue = 0; + this.tb_Options_Planes_IconSize_H.Name = "tb_Options_Planes_IconSize_H"; + this.tb_Options_Planes_IconSize_H.Size = new System.Drawing.Size(37, 22); + this.tb_Options_Planes_IconSize_H.TabIndex = 15; + this.tb_Options_Planes_IconSize_H.Text = "36"; + this.tb_Options_Planes_IconSize_H.Value = global::AirScout.Properties.Settings.Default.Planes_IconSize_H; + // + // tb_Options_Planes_IconSize_M + // + this.tb_Options_Planes_IconSize_M.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_IconSize_M", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Planes_IconSize_M.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Planes_IconSize_M.FormatSpecifier = "F0"; + this.tb_Options_Planes_IconSize_M.Location = new System.Drawing.Point(63, 47); + this.tb_Options_Planes_IconSize_M.MaxValue = 128; + this.tb_Options_Planes_IconSize_M.MinValue = 0; + this.tb_Options_Planes_IconSize_M.Name = "tb_Options_Planes_IconSize_M"; + this.tb_Options_Planes_IconSize_M.Size = new System.Drawing.Size(37, 22); + this.tb_Options_Planes_IconSize_M.TabIndex = 14; + this.tb_Options_Planes_IconSize_M.Text = "24"; + this.tb_Options_Planes_IconSize_M.Value = global::AirScout.Properties.Settings.Default.Planes_IconSize_M; + // + // tb_Options_Planes_IconSize_L + // + this.tb_Options_Planes_IconSize_L.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_IconSize_L", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Planes_IconSize_L.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Planes_IconSize_L.FormatSpecifier = "F0"; + this.tb_Options_Planes_IconSize_L.Location = new System.Drawing.Point(63, 21); + this.tb_Options_Planes_IconSize_L.MaxValue = 128; + this.tb_Options_Planes_IconSize_L.MinValue = 0; + this.tb_Options_Planes_IconSize_L.Name = "tb_Options_Planes_IconSize_L"; + this.tb_Options_Planes_IconSize_L.Size = new System.Drawing.Size(37, 22); + this.tb_Options_Planes_IconSize_L.TabIndex = 13; + this.tb_Options_Planes_IconSize_L.Text = "16"; + this.tb_Options_Planes_IconSize_L.Value = global::AirScout.Properties.Settings.Default.Planes_IconSize_L; + // + // cb_Options_InfoWin_Angle + // + this.cb_Options_InfoWin_Angle.AutoSize = true; + this.cb_Options_InfoWin_Angle.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Angle; + this.cb_Options_InfoWin_Angle.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Angle", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_InfoWin_Angle.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_InfoWin_Angle.Location = new System.Drawing.Point(139, 75); + this.cb_Options_InfoWin_Angle.Name = "cb_Options_InfoWin_Angle"; + this.cb_Options_InfoWin_Angle.Size = new System.Drawing.Size(96, 17); + this.cb_Options_InfoWin_Angle.TabIndex = 15; + this.cb_Options_InfoWin_Angle.Tag = ""; + this.cb_Options_InfoWin_Angle.Text = "Crossing Angle"; + this.cb_Options_InfoWin_Angle.UseVisualStyleBackColor = true; + // + // cb_Options_InfoWin_Speed + // + this.cb_Options_InfoWin_Speed.AutoSize = true; + this.cb_Options_InfoWin_Speed.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Speed; + this.cb_Options_InfoWin_Speed.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Speed", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_InfoWin_Speed.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_InfoWin_Speed.Location = new System.Drawing.Point(26, 100); + this.cb_Options_InfoWin_Speed.Name = "cb_Options_InfoWin_Speed"; + this.cb_Options_InfoWin_Speed.Size = new System.Drawing.Size(87, 17); + this.cb_Options_InfoWin_Speed.TabIndex = 14; + this.cb_Options_InfoWin_Speed.Tag = ""; + this.cb_Options_InfoWin_Speed.Text = "Plane Speed"; + this.cb_Options_InfoWin_Speed.UseVisualStyleBackColor = true; + // + // cb_Options_InfoWin_Squint + // + this.cb_Options_InfoWin_Squint.AutoSize = true; + this.cb_Options_InfoWin_Squint.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Squint; + this.cb_Options_InfoWin_Squint.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_InfoWin_Squint.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Squint", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_InfoWin_Squint.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_InfoWin_Squint.Location = new System.Drawing.Point(139, 121); + this.cb_Options_InfoWin_Squint.Name = "cb_Options_InfoWin_Squint"; + this.cb_Options_InfoWin_Squint.Size = new System.Drawing.Size(86, 17); + this.cb_Options_InfoWin_Squint.TabIndex = 13; + this.cb_Options_InfoWin_Squint.Tag = ""; + this.cb_Options_InfoWin_Squint.Text = "Squint Angle"; + this.cb_Options_InfoWin_Squint.UseVisualStyleBackColor = true; + // + // cb_Options_InfoWin_Epsilon + // + this.cb_Options_InfoWin_Epsilon.AutoSize = true; + this.cb_Options_InfoWin_Epsilon.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Epsilon; + this.cb_Options_InfoWin_Epsilon.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Epsilon", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_InfoWin_Epsilon.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_InfoWin_Epsilon.Location = new System.Drawing.Point(139, 98); + this.cb_Options_InfoWin_Epsilon.Name = "cb_Options_InfoWin_Epsilon"; + this.cb_Options_InfoWin_Epsilon.Size = new System.Drawing.Size(105, 17); + this.cb_Options_InfoWin_Epsilon.TabIndex = 12; + this.cb_Options_InfoWin_Epsilon.Tag = ""; + this.cb_Options_InfoWin_Epsilon.Text = "Elevation Angles"; + this.cb_Options_InfoWin_Epsilon.UseVisualStyleBackColor = true; + // + // cb_Options_InfoWin_Dist + // + this.cb_Options_InfoWin_Dist.AutoSize = true; + this.cb_Options_InfoWin_Dist.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Dist; + this.cb_Options_InfoWin_Dist.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_InfoWin_Dist.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Dist", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_InfoWin_Dist.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_InfoWin_Dist.Location = new System.Drawing.Point(139, 29); + this.cb_Options_InfoWin_Dist.Name = "cb_Options_InfoWin_Dist"; + this.cb_Options_InfoWin_Dist.Size = new System.Drawing.Size(111, 17); + this.cb_Options_InfoWin_Dist.TabIndex = 11; + this.cb_Options_InfoWin_Dist.Tag = ""; + this.cb_Options_InfoWin_Dist.Text = "Crossing Distance"; + this.cb_Options_InfoWin_Dist.UseVisualStyleBackColor = true; + // + // cb_Options_InfoWin_Time + // + this.cb_Options_InfoWin_Time.AutoSize = true; + this.cb_Options_InfoWin_Time.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Time; + this.cb_Options_InfoWin_Time.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_InfoWin_Time.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Time", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_InfoWin_Time.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_InfoWin_Time.Location = new System.Drawing.Point(139, 52); + this.cb_Options_InfoWin_Time.Name = "cb_Options_InfoWin_Time"; + this.cb_Options_InfoWin_Time.Size = new System.Drawing.Size(92, 17); + this.cb_Options_InfoWin_Time.TabIndex = 10; + this.cb_Options_InfoWin_Time.Tag = ""; + this.cb_Options_InfoWin_Time.Text = "Crossing Time"; + this.cb_Options_InfoWin_Time.UseVisualStyleBackColor = true; + // + // cb_Options_InfoWin_Type + // + this.cb_Options_InfoWin_Type.AutoSize = true; + this.cb_Options_InfoWin_Type.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Type; + this.cb_Options_InfoWin_Type.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_InfoWin_Type.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Type", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_InfoWin_Type.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_InfoWin_Type.Location = new System.Drawing.Point(26, 123); + this.cb_Options_InfoWin_Type.Name = "cb_Options_InfoWin_Type"; + this.cb_Options_InfoWin_Type.Size = new System.Drawing.Size(90, 17); + this.cb_Options_InfoWin_Type.TabIndex = 9; + this.cb_Options_InfoWin_Type.Tag = ""; + this.cb_Options_InfoWin_Type.Text = "Plane Type"; + this.cb_Options_InfoWin_Type.UseVisualStyleBackColor = true; + // + // cb_Options_InfoWin_Track + // + this.cb_Options_InfoWin_Track.AutoSize = true; + this.cb_Options_InfoWin_Track.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Track; + this.cb_Options_InfoWin_Track.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_InfoWin_Track.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Track", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_InfoWin_Track.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_InfoWin_Track.Location = new System.Drawing.Point(26, 77); + this.cb_Options_InfoWin_Track.Name = "cb_Options_InfoWin_Track"; + this.cb_Options_InfoWin_Track.Size = new System.Drawing.Size(95, 17); + this.cb_Options_InfoWin_Track.TabIndex = 8; + this.cb_Options_InfoWin_Track.Tag = ""; + this.cb_Options_InfoWin_Track.Text = "Plane Track"; + this.cb_Options_InfoWin_Track.UseVisualStyleBackColor = true; + // + // cb_Options_InfoWin_Alt + // + this.cb_Options_InfoWin_Alt.AutoSize = true; + this.cb_Options_InfoWin_Alt.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Alt; + this.cb_Options_InfoWin_Alt.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_InfoWin_Alt.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Alt", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_InfoWin_Alt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_InfoWin_Alt.Location = new System.Drawing.Point(26, 54); + this.cb_Options_InfoWin_Alt.Name = "cb_Options_InfoWin_Alt"; + this.cb_Options_InfoWin_Alt.Size = new System.Drawing.Size(105, 17); + this.cb_Options_InfoWin_Alt.TabIndex = 7; + this.cb_Options_InfoWin_Alt.Tag = ""; + this.cb_Options_InfoWin_Alt.Text = "Plane Altitude"; + this.cb_Options_InfoWin_Alt.UseVisualStyleBackColor = true; + // + // cb_Options_InfoWin_Position + // + this.cb_Options_InfoWin_Position.AutoSize = true; + this.cb_Options_InfoWin_Position.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Position; + this.cb_Options_InfoWin_Position.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_InfoWin_Position.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Position", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_InfoWin_Position.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_InfoWin_Position.Location = new System.Drawing.Point(26, 31); + this.cb_Options_InfoWin_Position.Name = "cb_Options_InfoWin_Position"; + this.cb_Options_InfoWin_Position.Size = new System.Drawing.Size(107, 17); + this.cb_Options_InfoWin_Position.TabIndex = 6; + this.cb_Options_InfoWin_Position.Tag = ""; + this.cb_Options_InfoWin_Position.Text = "Plane Position"; + this.cb_Options_InfoWin_Position.UseVisualStyleBackColor = true; + // + // rb_Options_InfoWin_Imperial + // + this.rb_Options_InfoWin_Imperial.AutoSize = true; + this.rb_Options_InfoWin_Imperial.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Imperial; + this.rb_Options_InfoWin_Imperial.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Imperial", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.rb_Options_InfoWin_Imperial.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.rb_Options_InfoWin_Imperial.Location = new System.Drawing.Point(156, 18); + this.rb_Options_InfoWin_Imperial.Name = "rb_Options_InfoWin_Imperial"; + this.rb_Options_InfoWin_Imperial.Size = new System.Drawing.Size(61, 17); + this.rb_Options_InfoWin_Imperial.TabIndex = 5; + this.rb_Options_InfoWin_Imperial.Tag = ""; + this.rb_Options_InfoWin_Imperial.Text = "Imperial"; + this.rb_Options_InfoWin_Imperial.UseVisualStyleBackColor = true; + // + // rb_Options_InfoWin_Metric + // + this.rb_Options_InfoWin_Metric.AutoSize = true; + this.rb_Options_InfoWin_Metric.Checked = global::AirScout.Properties.Settings.Default.InfoWin_Metric; + this.rb_Options_InfoWin_Metric.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "InfoWin_Metric", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.rb_Options_InfoWin_Metric.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.rb_Options_InfoWin_Metric.Location = new System.Drawing.Point(83, 18); + this.rb_Options_InfoWin_Metric.Name = "rb_Options_InfoWin_Metric"; + this.rb_Options_InfoWin_Metric.Size = new System.Drawing.Size(54, 17); + this.rb_Options_InfoWin_Metric.TabIndex = 4; + this.rb_Options_InfoWin_Metric.TabStop = true; + this.rb_Options_InfoWin_Metric.Tag = ""; + this.rb_Options_InfoWin_Metric.Text = "Metric"; + this.rb_Options_InfoWin_Metric.UseVisualStyleBackColor = true; + // + // tb_Options_Map_ToolTipFont + // + this.tb_Options_Map_ToolTipFont.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::AirScout.Properties.Settings.Default, "Map_ToolTipFont", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Map_ToolTipFont.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Map_ToolTipFont.Location = new System.Drawing.Point(72, 39); + this.tb_Options_Map_ToolTipFont.Name = "tb_Options_Map_ToolTipFont"; + this.tb_Options_Map_ToolTipFont.ReadOnly = true; + this.tb_Options_Map_ToolTipFont.Size = new System.Drawing.Size(179, 20); + this.tb_Options_Map_ToolTipFont.TabIndex = 0; + this.tb_Options_Map_ToolTipFont.Text = global::AirScout.Properties.Settings.Default.Map_ToolTipFont; + // + // cb_Options_Elevation_GLOBE_EnableCache + // + this.cb_Options_Elevation_GLOBE_EnableCache.AutoSize = true; + this.cb_Options_Elevation_GLOBE_EnableCache.Checked = global::AirScout.Properties.Settings.Default.Elevation_GLOBE_EnableCache; + this.cb_Options_Elevation_GLOBE_EnableCache.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_Elevation_GLOBE_EnableCache.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Elevation_GLOBE_EnableCache", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Elevation_GLOBE_EnableCache.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Elevation_GLOBE_EnableCache.Location = new System.Drawing.Point(12, 42); + this.cb_Options_Elevation_GLOBE_EnableCache.Name = "cb_Options_Elevation_GLOBE_EnableCache"; + this.cb_Options_Elevation_GLOBE_EnableCache.Size = new System.Drawing.Size(179, 17); + this.cb_Options_Elevation_GLOBE_EnableCache.TabIndex = 8; + this.cb_Options_Elevation_GLOBE_EnableCache.Tag = ""; + this.cb_Options_Elevation_GLOBE_EnableCache.Text = "Keep downloaded elevation tiles"; + this.cb_Options_Elevation_GLOBE_EnableCache.UseVisualStyleBackColor = true; + // + // cb_Options_Elevation_GLOBE + // + this.cb_Options_Elevation_GLOBE.AutoSize = true; + this.cb_Options_Elevation_GLOBE.Checked = global::AirScout.Properties.Settings.Default.Elevation_GLOBE_Enabled; + this.cb_Options_Elevation_GLOBE.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_Elevation_GLOBE.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Elevation_GLOBE_Enabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Elevation_GLOBE.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Elevation_GLOBE.Location = new System.Drawing.Point(12, 19); + this.cb_Options_Elevation_GLOBE.Name = "cb_Options_Elevation_GLOBE"; + this.cb_Options_Elevation_GLOBE.Size = new System.Drawing.Size(154, 17); + this.cb_Options_Elevation_GLOBE.TabIndex = 7; + this.cb_Options_Elevation_GLOBE.Tag = ""; + this.cb_Options_Elevation_GLOBE.Text = "Use GLOBE elevation data"; + this.cb_Options_Elevation_GLOBE.UseVisualStyleBackColor = true; + // + // cb_Options_Elevation_SRTM3_EnableCache + // + this.cb_Options_Elevation_SRTM3_EnableCache.AutoSize = true; + this.cb_Options_Elevation_SRTM3_EnableCache.Checked = global::AirScout.Properties.Settings.Default.Elevation_SRTM3_EnableCache; + this.cb_Options_Elevation_SRTM3_EnableCache.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Elevation_SRTM3_EnableCache", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Elevation_SRTM3_EnableCache.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Elevation_SRTM3_EnableCache.Location = new System.Drawing.Point(6, 42); + this.cb_Options_Elevation_SRTM3_EnableCache.Name = "cb_Options_Elevation_SRTM3_EnableCache"; + this.cb_Options_Elevation_SRTM3_EnableCache.Size = new System.Drawing.Size(179, 17); + this.cb_Options_Elevation_SRTM3_EnableCache.TabIndex = 13; + this.cb_Options_Elevation_SRTM3_EnableCache.Tag = ""; + this.cb_Options_Elevation_SRTM3_EnableCache.Text = "Keep downloaded elevation tiles"; + this.cb_Options_Elevation_SRTM3_EnableCache.UseVisualStyleBackColor = true; + // + // cb_Options_Elevation_SRTM3 + // + this.cb_Options_Elevation_SRTM3.AutoSize = true; + this.cb_Options_Elevation_SRTM3.Checked = global::AirScout.Properties.Settings.Default.Elevation_SRTM3_Enabled; + this.cb_Options_Elevation_SRTM3.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Elevation_SRTM3_Enabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Elevation_SRTM3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Elevation_SRTM3.Location = new System.Drawing.Point(6, 19); + this.cb_Options_Elevation_SRTM3.Name = "cb_Options_Elevation_SRTM3"; + this.cb_Options_Elevation_SRTM3.Size = new System.Drawing.Size(155, 17); + this.cb_Options_Elevation_SRTM3.TabIndex = 12; + this.cb_Options_Elevation_SRTM3.Tag = ""; + this.cb_Options_Elevation_SRTM3.Text = "Use SRTM3 elevation data"; + this.cb_Options_Elevation_SRTM3.UseVisualStyleBackColor = true; + // + // cb_Options_Elevation_SRTM1_EnableCache + // + this.cb_Options_Elevation_SRTM1_EnableCache.AutoSize = true; + this.cb_Options_Elevation_SRTM1_EnableCache.Checked = global::AirScout.Properties.Settings.Default.Elevation_SRTM1_EnableCache; + this.cb_Options_Elevation_SRTM1_EnableCache.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Elevation_SRTM1_EnableCache", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Elevation_SRTM1_EnableCache.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Elevation_SRTM1_EnableCache.Location = new System.Drawing.Point(6, 42); + this.cb_Options_Elevation_SRTM1_EnableCache.Name = "cb_Options_Elevation_SRTM1_EnableCache"; + this.cb_Options_Elevation_SRTM1_EnableCache.Size = new System.Drawing.Size(179, 17); + this.cb_Options_Elevation_SRTM1_EnableCache.TabIndex = 17; + this.cb_Options_Elevation_SRTM1_EnableCache.Tag = ""; + this.cb_Options_Elevation_SRTM1_EnableCache.Text = "Keep downloaded elevation tiles"; + this.cb_Options_Elevation_SRTM1_EnableCache.UseVisualStyleBackColor = true; + // + // cb_Options_Elevation_SRTM1 + // + this.cb_Options_Elevation_SRTM1.AutoSize = true; + this.cb_Options_Elevation_SRTM1.Checked = global::AirScout.Properties.Settings.Default.Elevation_SRTM1_Enabled; + this.cb_Options_Elevation_SRTM1.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Elevation_SRTM1_Enabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Elevation_SRTM1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Elevation_SRTM1.Location = new System.Drawing.Point(6, 19); + this.cb_Options_Elevation_SRTM1.Name = "cb_Options_Elevation_SRTM1"; + this.cb_Options_Elevation_SRTM1.Size = new System.Drawing.Size(155, 17); + this.cb_Options_Elevation_SRTM1.TabIndex = 16; + this.cb_Options_Elevation_SRTM1.Tag = ""; + this.cb_Options_Elevation_SRTM1.Text = "Use SRTM1 elevation data"; + this.cb_Options_Elevation_SRTM1.UseVisualStyleBackColor = true; + // + // cb_Options_Elevation_ASTER3_EnableCache + // + this.cb_Options_Elevation_ASTER3_EnableCache.AutoSize = true; + this.cb_Options_Elevation_ASTER3_EnableCache.Checked = global::AirScout.Properties.Settings.Default.Elevation_ASTER3_EnableCache; + this.cb_Options_Elevation_ASTER3_EnableCache.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Elevation_ASTER3_EnableCache", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Elevation_ASTER3_EnableCache.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Elevation_ASTER3_EnableCache.Location = new System.Drawing.Point(6, 42); + this.cb_Options_Elevation_ASTER3_EnableCache.Name = "cb_Options_Elevation_ASTER3_EnableCache"; + this.cb_Options_Elevation_ASTER3_EnableCache.Size = new System.Drawing.Size(179, 17); + this.cb_Options_Elevation_ASTER3_EnableCache.TabIndex = 13; + this.cb_Options_Elevation_ASTER3_EnableCache.Tag = ""; + this.cb_Options_Elevation_ASTER3_EnableCache.Text = "Keep downloaded elevation tiles"; + this.cb_Options_Elevation_ASTER3_EnableCache.UseVisualStyleBackColor = true; + // + // cb_Options_Elevation_ASTER3 + // + this.cb_Options_Elevation_ASTER3.AutoSize = true; + this.cb_Options_Elevation_ASTER3.Checked = global::AirScout.Properties.Settings.Default.Elevation_ASTER3_Enabled; + this.cb_Options_Elevation_ASTER3.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Elevation_ASTER3_Enabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Elevation_ASTER3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Elevation_ASTER3.Location = new System.Drawing.Point(6, 19); + this.cb_Options_Elevation_ASTER3.Name = "cb_Options_Elevation_ASTER3"; + this.cb_Options_Elevation_ASTER3.Size = new System.Drawing.Size(160, 17); + this.cb_Options_Elevation_ASTER3.TabIndex = 12; + this.cb_Options_Elevation_ASTER3.Tag = ""; + this.cb_Options_Elevation_ASTER3.Text = "Use ASTER3 elevation data"; + this.cb_Options_Elevation_ASTER3.UseVisualStyleBackColor = true; + // + // cb_Options_Elevation_ASTER1_EnableCache + // + this.cb_Options_Elevation_ASTER1_EnableCache.AutoSize = true; + this.cb_Options_Elevation_ASTER1_EnableCache.Checked = global::AirScout.Properties.Settings.Default.Elevation_ASTER1_EnableCache; + this.cb_Options_Elevation_ASTER1_EnableCache.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Elevation_ASTER1_EnableCache", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Elevation_ASTER1_EnableCache.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Elevation_ASTER1_EnableCache.Location = new System.Drawing.Point(6, 42); + this.cb_Options_Elevation_ASTER1_EnableCache.Name = "cb_Options_Elevation_ASTER1_EnableCache"; + this.cb_Options_Elevation_ASTER1_EnableCache.Size = new System.Drawing.Size(179, 17); + this.cb_Options_Elevation_ASTER1_EnableCache.TabIndex = 13; + this.cb_Options_Elevation_ASTER1_EnableCache.Tag = ""; + this.cb_Options_Elevation_ASTER1_EnableCache.Text = "Keep downloaded elevation tiles"; + this.cb_Options_Elevation_ASTER1_EnableCache.UseVisualStyleBackColor = true; + // + // cb_Options_Elevation_ASTER1 + // + this.cb_Options_Elevation_ASTER1.AutoSize = true; + this.cb_Options_Elevation_ASTER1.Checked = global::AirScout.Properties.Settings.Default.Elevation_ASTER1_Enabled; + this.cb_Options_Elevation_ASTER1.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Elevation_ASTER1_Enabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Elevation_ASTER1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Elevation_ASTER1.Location = new System.Drawing.Point(6, 19); + this.cb_Options_Elevation_ASTER1.Name = "cb_Options_Elevation_ASTER1"; + this.cb_Options_Elevation_ASTER1.Size = new System.Drawing.Size(160, 17); + this.cb_Options_Elevation_ASTER1.TabIndex = 12; + this.cb_Options_Elevation_ASTER1.Tag = ""; + this.cb_Options_Elevation_ASTER1.Text = "Use ASTER1 elevation data"; + this.cb_Options_Elevation_ASTER1.UseVisualStyleBackColor = true; + // + // tb_Options_Path_MaxLength + // + this.tb_Options_Path_MaxLength.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Path_MaxLength", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Path_MaxLength.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Path_MaxLength.FormatSpecifier = "F0"; + this.tb_Options_Path_MaxLength.Location = new System.Drawing.Point(318, 385); + this.tb_Options_Path_MaxLength.MaxValue = double.NaN; + this.tb_Options_Path_MaxLength.MinValue = double.NaN; + this.tb_Options_Path_MaxLength.Name = "tb_Options_Path_MaxLength"; + this.tb_Options_Path_MaxLength.Size = new System.Drawing.Size(57, 20); + this.tb_Options_Path_MaxLength.TabIndex = 39; + this.tb_Options_Path_MaxLength.Text = "1000"; + this.tb_Options_Path_MaxLength.Value = global::AirScout.Properties.Settings.Default.Path_MaxLength; + // + // cb_Options_Path_BestCaseElevation + // + this.cb_Options_Path_BestCaseElevation.AutoSize = true; + this.cb_Options_Path_BestCaseElevation.Checked = global::AirScout.Properties.Settings.Default.Path_BestCaseElevation; + this.cb_Options_Path_BestCaseElevation.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_Path_BestCaseElevation.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Path_BestCaseElevation", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Path_BestCaseElevation.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Path_BestCaseElevation.Location = new System.Drawing.Point(6, 411); + this.cb_Options_Path_BestCaseElevation.Name = "cb_Options_Path_BestCaseElevation"; + this.cb_Options_Path_BestCaseElevation.Size = new System.Drawing.Size(438, 17); + this.cb_Options_Path_BestCaseElevation.TabIndex = 28; + this.cb_Options_Path_BestCaseElevation.Tag = ""; + this.cb_Options_Path_BestCaseElevation.Text = "Use best case elevation from grid square for both stations if precise location is" + + " unknown"; + this.tt_Options.SetToolTip(this.cb_Options_Path_BestCaseElevation, "If an exact position of a station is not available, use highest available elevati" + + "on within the given grid square. \r\nThis position is ONLY used for path calculati" + + "on and is not kept in database."); + this.cb_Options_Path_BestCaseElevation.UseVisualStyleBackColor = true; + // + // int32TextBox1 + // + this.int32TextBox1.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_ExtendedPlausibilityCheck_MaxErrorDist", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.int32TextBox1.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.int32TextBox1.FormatSpecifier = "F0"; + this.int32TextBox1.Location = new System.Drawing.Point(199, 84); + this.int32TextBox1.MaxValue = 600; + this.int32TextBox1.MinValue = 10; + this.int32TextBox1.Name = "int32TextBox1"; + this.int32TextBox1.Size = new System.Drawing.Size(52, 22); + this.int32TextBox1.TabIndex = 46; + this.int32TextBox1.Text = "10"; + this.int32TextBox1.Value = global::AirScout.Properties.Settings.Default.Planes_ExtendedPlausibilityCheck_MaxErrorDist; + // + // cb_Options_Planes_ExtendedPlausibilityCheck_Enabled + // + this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.AutoSize = true; + this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.Checked = global::AirScout.Properties.Settings.Default.Planes_ExtendedPlausibilityCheck_Enabled; + this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Planes_ExtendedPlausibilityCheck_Enabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.Location = new System.Drawing.Point(13, 53); + this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.Name = "cb_Options_Planes_ExtendedPlausibilityCheck_Enabled"; + this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.Size = new System.Drawing.Size(256, 17); + this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.TabIndex = 44; + this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.Text = "Enable extended plausibility check of aircraft info"; + this.cb_Options_Planes_ExtendedPlausibilityCheck_Enabled.UseVisualStyleBackColor = true; + // + // tb_Options_Planes_Interval + // + this.tb_Options_Planes_Interval.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_Interval", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Planes_Interval.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Planes_Interval.FormatSpecifier = "F0"; + this.tb_Options_Planes_Interval.Location = new System.Drawing.Point(199, 22); + this.tb_Options_Planes_Interval.MaxValue = 600; + this.tb_Options_Planes_Interval.MinValue = 10; + this.tb_Options_Planes_Interval.Name = "tb_Options_Planes_Interval"; + this.tb_Options_Planes_Interval.Size = new System.Drawing.Size(52, 22); + this.tb_Options_Planes_Interval.TabIndex = 43; + this.tb_Options_Planes_Interval.Text = "60"; + this.tb_Options_Planes_Interval.Value = global::AirScout.Properties.Settings.Default.Planes_Interval; + // + // cb_Options_Planes_LogErrors + // + this.cb_Options_Planes_LogErrors.AutoSize = true; + this.cb_Options_Planes_LogErrors.Checked = global::AirScout.Properties.Settings.Default.Planes_LogErrors; + this.cb_Options_Planes_LogErrors.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Planes_LogErrors", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Planes_LogErrors.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Planes_LogErrors.Location = new System.Drawing.Point(12, 118); + this.cb_Options_Planes_LogErrors.Name = "cb_Options_Planes_LogErrors"; + this.cb_Options_Planes_LogErrors.Size = new System.Drawing.Size(249, 17); + this.cb_Options_Planes_LogErrors.TabIndex = 0; + this.cb_Options_Planes_LogErrors.Text = "Log errors as warnings to AirScout\'s main logfile"; + this.cb_Options_Planes_LogErrors.UseVisualStyleBackColor = true; + // + // cb_Options_Planes_KeepHistory + // + this.cb_Options_Planes_KeepHistory.AutoSize = true; + this.cb_Options_Planes_KeepHistory.Checked = global::AirScout.Properties.Settings.Default.Planes_KeepHistory; + this.cb_Options_Planes_KeepHistory.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Planes_KeepHistory", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Planes_KeepHistory.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Planes_KeepHistory.Location = new System.Drawing.Point(18, 81); + this.cb_Options_Planes_KeepHistory.Name = "cb_Options_Planes_KeepHistory"; + this.cb_Options_Planes_KeepHistory.Size = new System.Drawing.Size(156, 17); + this.cb_Options_Planes_KeepHistory.TabIndex = 4; + this.cb_Options_Planes_KeepHistory.Text = "Keep Plane Position History"; + this.tt_Options.SetToolTip(this.cb_Options_Planes_KeepHistory, "Check this option to keep plane positions in database for history analysis.\r\nCAUT" + + "ION! This will need lot of CPU performance and space on disk!"); + this.cb_Options_Planes_KeepHistory.UseVisualStyleBackColor = true; + // + // ud_Options_Planes_Position_DatabaseLifetime + // + this.ud_Options_Planes_Position_DatabaseLifetime.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "AircraftDatabase_MaxDaysLifetime", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.ud_Options_Planes_Position_DatabaseLifetime.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ud_Options_Planes_Position_DatabaseLifetime.Location = new System.Drawing.Point(199, 14); + this.ud_Options_Planes_Position_DatabaseLifetime.Maximum = new decimal(new int[] { + 365, + 0, + 0, + 0}); + this.ud_Options_Planes_Position_DatabaseLifetime.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.ud_Options_Planes_Position_DatabaseLifetime.Name = "ud_Options_Planes_Position_DatabaseLifetime"; + this.ud_Options_Planes_Position_DatabaseLifetime.Size = new System.Drawing.Size(49, 22); + this.ud_Options_Planes_Position_DatabaseLifetime.TabIndex = 2; + this.ud_Options_Planes_Position_DatabaseLifetime.Value = global::AirScout.Properties.Settings.Default.AircraftDatabase_MaxDaysLifetime; + // + // tb_Options_Planes_Positions_TTL + // + this.tb_Options_Planes_Positions_TTL.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_Position_TTL", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Planes_Positions_TTL.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Planes_Positions_TTL.FormatSpecifier = "F0"; + this.tb_Options_Planes_Positions_TTL.Location = new System.Drawing.Point(192, 65); + this.tb_Options_Planes_Positions_TTL.MaxValue = 30; + this.tb_Options_Planes_Positions_TTL.MinValue = 0; + this.tb_Options_Planes_Positions_TTL.Name = "tb_Options_Planes_Positions_TTL"; + this.tb_Options_Planes_Positions_TTL.Size = new System.Drawing.Size(52, 22); + this.tb_Options_Planes_Positions_TTL.TabIndex = 43; + this.tb_Options_Planes_Positions_TTL.Text = "5"; + this.tb_Options_Planes_Positions_TTL.Value = global::AirScout.Properties.Settings.Default.Planes_Position_TTL; + // + // tb_Options_Planes_MaxAlt + // + this.tb_Options_Planes_MaxAlt.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_MaxAlt", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Planes_MaxAlt.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Planes_MaxAlt.FormatSpecifier = "F0"; + this.tb_Options_Planes_MaxAlt.Location = new System.Drawing.Point(192, 39); + this.tb_Options_Planes_MaxAlt.MaxValue = 20000; + this.tb_Options_Planes_MaxAlt.MinValue = 0; + this.tb_Options_Planes_MaxAlt.Name = "tb_Options_Planes_MaxAlt"; + this.tb_Options_Planes_MaxAlt.Size = new System.Drawing.Size(52, 22); + this.tb_Options_Planes_MaxAlt.TabIndex = 42; + this.tb_Options_Planes_MaxAlt.Text = "12200"; + this.tb_Options_Planes_MaxAlt.Value = global::AirScout.Properties.Settings.Default.Planes_MaxAlt; + // + // tb_Options_Planes_MinAlt + // + this.tb_Options_Planes_MinAlt.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_MinAlt", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Planes_MinAlt.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Planes_MinAlt.FormatSpecifier = "F0"; + this.tb_Options_Planes_MinAlt.Location = new System.Drawing.Point(192, 14); + this.tb_Options_Planes_MinAlt.MaxValue = 20000; + this.tb_Options_Planes_MinAlt.MinValue = 0; + this.tb_Options_Planes_MinAlt.Name = "tb_Options_Planes_MinAlt"; + this.tb_Options_Planes_MinAlt.Size = new System.Drawing.Size(52, 22); + this.tb_Options_Planes_MinAlt.TabIndex = 41; + this.tb_Options_Planes_MinAlt.Text = "5000"; + this.tb_Options_Planes_MinAlt.Value = global::AirScout.Properties.Settings.Default.Planes_MinAlt; + // + // tb_Options_Planes_Filter_MinAlt + // + this.tb_Options_Planes_Filter_MinAlt.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_Filter_Min_Alt", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Planes_Filter_MinAlt.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Planes_Filter_MinAlt.FormatSpecifier = "F0"; + this.tb_Options_Planes_Filter_MinAlt.Location = new System.Drawing.Point(192, 86); + this.tb_Options_Planes_Filter_MinAlt.MaxValue = 12000; + this.tb_Options_Planes_Filter_MinAlt.MinValue = 0; + this.tb_Options_Planes_Filter_MinAlt.Name = "tb_Options_Planes_Filter_MinAlt"; + this.tb_Options_Planes_Filter_MinAlt.Size = new System.Drawing.Size(52, 22); + this.tb_Options_Planes_Filter_MinAlt.TabIndex = 43; + this.tb_Options_Planes_Filter_MinAlt.Text = "0"; + this.tb_Options_Planes_Filter_MinAlt.Value = global::AirScout.Properties.Settings.Default.Planes_Filter_Min_Alt; + // + // tb_Options_Planes_Filter_Max_Circumcircle + // + this.tb_Options_Planes_Filter_Max_Circumcircle.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Planes_Filter_Max_Circumcircle", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Planes_Filter_Max_Circumcircle.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Planes_Filter_Max_Circumcircle.FormatSpecifier = "F0"; + this.tb_Options_Planes_Filter_Max_Circumcircle.Location = new System.Drawing.Point(192, 59); + this.tb_Options_Planes_Filter_Max_Circumcircle.MaxValue = 1000; + this.tb_Options_Planes_Filter_Max_Circumcircle.MinValue = -1; + this.tb_Options_Planes_Filter_Max_Circumcircle.Name = "tb_Options_Planes_Filter_Max_Circumcircle"; + this.tb_Options_Planes_Filter_Max_Circumcircle.Size = new System.Drawing.Size(52, 22); + this.tb_Options_Planes_Filter_Max_Circumcircle.TabIndex = 42; + this.tb_Options_Planes_Filter_Max_Circumcircle.Text = "0"; + this.tb_Options_Planes_Filter_Max_Circumcircle.Value = global::AirScout.Properties.Settings.Default.Planes_Filter_Max_Circumcircle; + // + // cb_Options_Alarm_Activate + // + this.cb_Options_Alarm_Activate.AutoSize = true; + this.cb_Options_Alarm_Activate.Checked = global::AirScout.Properties.Settings.Default.Alarm_Activate; + this.cb_Options_Alarm_Activate.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Alarm_Activate", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Alarm_Activate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Alarm_Activate.Location = new System.Drawing.Point(13, 19); + this.cb_Options_Alarm_Activate.Name = "cb_Options_Alarm_Activate"; + this.cb_Options_Alarm_Activate.Size = new System.Drawing.Size(94, 17); + this.cb_Options_Alarm_Activate.TabIndex = 1; + this.cb_Options_Alarm_Activate.Tag = ""; + this.cb_Options_Alarm_Activate.Text = "Activate Alarm"; + this.cb_Options_Alarm_Activate.UseVisualStyleBackColor = true; + // + // cb_Options_Alarm_PlaySound + // + this.cb_Options_Alarm_PlaySound.AutoSize = true; + this.cb_Options_Alarm_PlaySound.Checked = global::AirScout.Properties.Settings.Default.Alarm_PlaySound; + this.cb_Options_Alarm_PlaySound.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_Alarm_PlaySound.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Alarm_PlaySound", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Alarm_PlaySound.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Alarm_PlaySound.Location = new System.Drawing.Point(13, 53); + this.cb_Options_Alarm_PlaySound.Name = "cb_Options_Alarm_PlaySound"; + this.cb_Options_Alarm_PlaySound.Size = new System.Drawing.Size(78, 17); + this.cb_Options_Alarm_PlaySound.TabIndex = 1; + this.cb_Options_Alarm_PlaySound.Tag = ""; + this.cb_Options_Alarm_PlaySound.Text = "Play sound"; + this.cb_Options_Alarm_PlaySound.UseVisualStyleBackColor = true; + // + // tb_Options_Alarm_Distance + // + this.tb_Options_Alarm_Distance.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Alarm_Distance", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Alarm_Distance.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Alarm_Distance.FormatSpecifier = "F0"; + this.tb_Options_Alarm_Distance.Location = new System.Drawing.Point(143, 49); + this.tb_Options_Alarm_Distance.MaxValue = 1000D; + this.tb_Options_Alarm_Distance.MinValue = 0D; + this.tb_Options_Alarm_Distance.Name = "tb_Options_Alarm_Distance"; + this.tb_Options_Alarm_Distance.Size = new System.Drawing.Size(75, 22); + this.tb_Options_Alarm_Distance.TabIndex = 3; + this.tb_Options_Alarm_Distance.Text = "100"; + this.tb_Options_Alarm_Distance.Value = global::AirScout.Properties.Settings.Default.Alarm_Distance; + // + // tb_Options_Webserver_Port + // + this.tb_Options_Webserver_Port.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Webserver_Port", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Webserver_Port.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Webserver_Port.FormatSpecifier = "F0"; + this.tb_Options_Webserver_Port.Location = new System.Drawing.Point(150, 28); + this.tb_Options_Webserver_Port.MaxValue = 65535; + this.tb_Options_Webserver_Port.MinValue = 0; + this.tb_Options_Webserver_Port.Name = "tb_Options_Webserver_Port"; + this.tb_Options_Webserver_Port.Size = new System.Drawing.Size(57, 22); + this.tb_Options_Webserver_Port.TabIndex = 8; + this.tb_Options_Webserver_Port.Text = "9880"; + this.tb_Options_Webserver_Port.Value = global::AirScout.Properties.Settings.Default.Webserver_Port; + // + // cb_Options_Server_Activate + // + this.cb_Options_Server_Activate.AutoSize = true; + this.cb_Options_Server_Activate.Checked = global::AirScout.Properties.Settings.Default.Server_Activate; + this.cb_Options_Server_Activate.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Server_Activate", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Server_Activate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Server_Activate.Location = new System.Drawing.Point(13, 23); + this.cb_Options_Server_Activate.Name = "cb_Options_Server_Activate"; + this.cb_Options_Server_Activate.Size = new System.Drawing.Size(142, 17); + this.cb_Options_Server_Activate.TabIndex = 1; + this.cb_Options_Server_Activate.Tag = ""; + this.cb_Options_Server_Activate.Text = "Activate Network Server"; + this.cb_Options_Server_Activate.UseVisualStyleBackColor = true; + // + // tb_Options_Server_Port + // + this.tb_Options_Server_Port.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Server_Port", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Server_Port.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Server_Port.FormatSpecifier = "F0"; + this.tb_Options_Server_Port.Location = new System.Drawing.Point(153, 56); + this.tb_Options_Server_Port.MaxValue = 65535; + this.tb_Options_Server_Port.MinValue = 0; + this.tb_Options_Server_Port.Name = "tb_Options_Server_Port"; + this.tb_Options_Server_Port.Size = new System.Drawing.Size(57, 22); + this.tb_Options_Server_Port.TabIndex = 6; + this.tb_Options_Server_Port.Text = "9872"; + this.tb_Options_Server_Port.Value = global::AirScout.Properties.Settings.Default.Server_Port; + // + // tb_Options_Server_Name + // + this.tb_Options_Server_Name.BackColor = System.Drawing.Color.FloralWhite; + this.tb_Options_Server_Name.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::AirScout.Properties.Settings.Default, "Server_Name", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Server_Name.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Server_Name.Location = new System.Drawing.Point(153, 30); + this.tb_Options_Server_Name.Name = "tb_Options_Server_Name"; + this.tb_Options_Server_Name.Size = new System.Drawing.Size(57, 20); + this.tb_Options_Server_Name.TabIndex = 2; + this.tb_Options_Server_Name.Tag = ""; + this.tb_Options_Server_Name.Text = global::AirScout.Properties.Settings.Default.Server_Name; + // + // tb_Options_SpecLab_UpdateInterval + // + this.tb_Options_SpecLab_UpdateInterval.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "SpecLab_Update", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_SpecLab_UpdateInterval.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_SpecLab_UpdateInterval.FormatSpecifier = "F1"; + this.tb_Options_SpecLab_UpdateInterval.Location = new System.Drawing.Point(106, 230); + this.tb_Options_SpecLab_UpdateInterval.MaxValue = 100D; + this.tb_Options_SpecLab_UpdateInterval.MinValue = 0D; + this.tb_Options_SpecLab_UpdateInterval.Name = "tb_Options_SpecLab_UpdateInterval"; + this.tb_Options_SpecLab_UpdateInterval.Size = new System.Drawing.Size(63, 22); + this.tb_Options_SpecLab_UpdateInterval.TabIndex = 18; + this.tb_Options_SpecLab_UpdateInterval.Text = "1.0"; + this.tb_Options_SpecLab_UpdateInterval.Value = global::AirScout.Properties.Settings.Default.SpecLab_Update; + // + // tb_Options_SpecLab_F2 + // + this.tb_Options_SpecLab_F2.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "SpecLab_F2", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_SpecLab_F2.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_SpecLab_F2.FormatSpecifier = "F0"; + this.tb_Options_SpecLab_F2.Location = new System.Drawing.Point(109, 205); + this.tb_Options_SpecLab_F2.MaxValue = 10000; + this.tb_Options_SpecLab_F2.MinValue = 0; + this.tb_Options_SpecLab_F2.Name = "tb_Options_SpecLab_F2"; + this.tb_Options_SpecLab_F2.Size = new System.Drawing.Size(60, 22); + this.tb_Options_SpecLab_F2.TabIndex = 17; + this.tb_Options_SpecLab_F2.Text = "1600"; + this.tb_Options_SpecLab_F2.Value = global::AirScout.Properties.Settings.Default.SpecLab_F2; + // + // tb_Options_SpecLab_F1 + // + this.tb_Options_SpecLab_F1.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "SpecLab_F1", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_SpecLab_F1.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_SpecLab_F1.FormatSpecifier = "F0"; + this.tb_Options_SpecLab_F1.Location = new System.Drawing.Point(109, 179); + this.tb_Options_SpecLab_F1.MaxValue = 10000; + this.tb_Options_SpecLab_F1.MinValue = 0; + this.tb_Options_SpecLab_F1.Name = "tb_Options_SpecLab_F1"; + this.tb_Options_SpecLab_F1.Size = new System.Drawing.Size(60, 22); + this.tb_Options_SpecLab_F1.TabIndex = 16; + this.tb_Options_SpecLab_F1.Text = "400"; + this.tb_Options_SpecLab_F1.Value = global::AirScout.Properties.Settings.Default.SpecLab_F1; + // + // tb_SpecLab_FileName + // + this.tb_SpecLab_FileName.BackColor = System.Drawing.Color.FloralWhite; + this.tb_SpecLab_FileName.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::AirScout.Properties.Settings.Default, "SpecLab_FileName", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_SpecLab_FileName.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_SpecLab_FileName.Location = new System.Drawing.Point(109, 153); + this.tb_SpecLab_FileName.Name = "tb_SpecLab_FileName"; + this.tb_SpecLab_FileName.Size = new System.Drawing.Size(347, 20); + this.tb_SpecLab_FileName.TabIndex = 6; + this.tb_SpecLab_FileName.Tag = ""; + this.tb_SpecLab_FileName.Text = global::AirScout.Properties.Settings.Default.SpecLab_FileName; + // + // tb_SpecLab_URL + // + this.tb_SpecLab_URL.BackColor = System.Drawing.Color.FloralWhite; + this.tb_SpecLab_URL.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::AirScout.Properties.Settings.Default, "SpecLab_URL", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_SpecLab_URL.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_SpecLab_URL.Location = new System.Drawing.Point(109, 126); + this.tb_SpecLab_URL.Name = "tb_SpecLab_URL"; + this.tb_SpecLab_URL.Size = new System.Drawing.Size(347, 20); + this.tb_SpecLab_URL.TabIndex = 2; + this.tb_SpecLab_URL.Tag = ""; + this.tb_SpecLab_URL.Text = global::AirScout.Properties.Settings.Default.SpecLab_URL; + // + // cb_SpecLab_Enabled + // + this.cb_SpecLab_Enabled.AutoSize = true; + this.cb_SpecLab_Enabled.Checked = global::AirScout.Properties.Settings.Default.SpecLab_Enabled; + this.cb_SpecLab_Enabled.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "SpecLab_Enabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_SpecLab_Enabled.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_SpecLab_Enabled.Location = new System.Drawing.Point(18, 90); + this.cb_SpecLab_Enabled.Name = "cb_SpecLab_Enabled"; + this.cb_SpecLab_Enabled.Size = new System.Drawing.Size(122, 17); + this.cb_SpecLab_Enabled.TabIndex = 1; + this.cb_SpecLab_Enabled.Tag = ""; + this.cb_SpecLab_Enabled.Text = "Activate Connection"; + this.cb_SpecLab_Enabled.UseVisualStyleBackColor = true; + // + // rb_Options_Track_File_None + // + this.rb_Options_Track_File_None.AutoSize = true; + this.rb_Options_Track_File_None.Checked = global::AirScout.Properties.Settings.Default.Track_File_None; + this.rb_Options_Track_File_None.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_File_None", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.rb_Options_Track_File_None.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.rb_Options_Track_File_None.Location = new System.Drawing.Point(17, 19); + this.rb_Options_Track_File_None.Name = "rb_Options_Track_File_None"; + this.rb_Options_Track_File_None.Size = new System.Drawing.Size(51, 17); + this.rb_Options_Track_File_None.TabIndex = 12; + this.rb_Options_Track_File_None.TabStop = true; + this.rb_Options_Track_File_None.Tag = ""; + this.rb_Options_Track_File_None.Text = "None"; + this.rb_Options_Track_File_None.UseVisualStyleBackColor = true; + // + // rb_Options_Track_File_WSJT + // + this.rb_Options_Track_File_WSJT.AutoSize = true; + this.rb_Options_Track_File_WSJT.Checked = global::AirScout.Properties.Settings.Default.Track_File_WSJT; + this.rb_Options_Track_File_WSJT.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_File_WSJT", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.rb_Options_Track_File_WSJT.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.rb_Options_Track_File_WSJT.Location = new System.Drawing.Point(17, 66); + this.rb_Options_Track_File_WSJT.Name = "rb_Options_Track_File_WSJT"; + this.rb_Options_Track_File_WSJT.Size = new System.Drawing.Size(84, 17); + this.rb_Options_Track_File_WSJT.TabIndex = 7; + this.rb_Options_Track_File_WSJT.Tag = ""; + this.rb_Options_Track_File_WSJT.Text = "WSJT Az/El"; + this.rb_Options_Track_File_WSJT.UseVisualStyleBackColor = true; + // + // rb_Options_Track_File_Native + // + this.rb_Options_Track_File_Native.AutoSize = true; + this.rb_Options_Track_File_Native.Checked = global::AirScout.Properties.Settings.Default.Track_File_Native; + this.rb_Options_Track_File_Native.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_File_Native", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.rb_Options_Track_File_Native.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.rb_Options_Track_File_Native.Location = new System.Drawing.Point(17, 43); + this.rb_Options_Track_File_Native.Name = "rb_Options_Track_File_Native"; + this.rb_Options_Track_File_Native.Size = new System.Drawing.Size(85, 17); + this.rb_Options_Track_File_Native.TabIndex = 6; + this.rb_Options_Track_File_Native.Tag = ""; + this.rb_Options_Track_File_Native.Text = "Native Az/El"; + this.rb_Options_Track_File_Native.UseVisualStyleBackColor = true; + // + // rb_Options_Track_DDE_None + // + this.rb_Options_Track_DDE_None.AutoSize = true; + this.rb_Options_Track_DDE_None.Checked = global::AirScout.Properties.Settings.Default.Track_DDE_None; + this.rb_Options_Track_DDE_None.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_DDE_None", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.rb_Options_Track_DDE_None.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.rb_Options_Track_DDE_None.Location = new System.Drawing.Point(17, 19); + this.rb_Options_Track_DDE_None.Name = "rb_Options_Track_DDE_None"; + this.rb_Options_Track_DDE_None.Size = new System.Drawing.Size(51, 17); + this.rb_Options_Track_DDE_None.TabIndex = 11; + this.rb_Options_Track_DDE_None.TabStop = true; + this.rb_Options_Track_DDE_None.Tag = ""; + this.rb_Options_Track_DDE_None.Text = "None"; + this.rb_Options_Track_DDE_None.UseVisualStyleBackColor = true; + // + // rb_Options_Track_DDE_HRD + // + this.rb_Options_Track_DDE_HRD.AutoSize = true; + this.rb_Options_Track_DDE_HRD.Checked = global::AirScout.Properties.Settings.Default.Track_DDE_HRD; + this.rb_Options_Track_DDE_HRD.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_DDE_HRD", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.rb_Options_Track_DDE_HRD.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.rb_Options_Track_DDE_HRD.Location = new System.Drawing.Point(17, 42); + this.rb_Options_Track_DDE_HRD.Name = "rb_Options_Track_DDE_HRD"; + this.rb_Options_Track_DDE_HRD.Size = new System.Drawing.Size(202, 17); + this.rb_Options_Track_DDE_HRD.TabIndex = 6; + this.rb_Options_Track_DDE_HRD.Tag = ""; + this.rb_Options_Track_DDE_HRD.Text = "Ham Radio Deluxe (HRDRotator.exe)"; + this.rb_Options_Track_DDE_HRD.UseVisualStyleBackColor = true; + // + // tb_Options_Track_UDP_AirScout_Port + // + this.tb_Options_Track_UDP_AirScout_Port.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Track_UDP_AirScout_Port", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Track_UDP_AirScout_Port.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Track_UDP_AirScout_Port.FormatSpecifier = "F0"; + this.tb_Options_Track_UDP_AirScout_Port.Location = new System.Drawing.Point(526, 71); + this.tb_Options_Track_UDP_AirScout_Port.MaxValue = 0; + this.tb_Options_Track_UDP_AirScout_Port.MinValue = 0; + this.tb_Options_Track_UDP_AirScout_Port.Name = "tb_Options_Track_UDP_AirScout_Port"; + this.tb_Options_Track_UDP_AirScout_Port.Size = new System.Drawing.Size(43, 22); + this.tb_Options_Track_UDP_AirScout_Port.TabIndex = 17; + this.tb_Options_Track_UDP_AirScout_Port.Text = "9872"; + this.tb_Options_Track_UDP_AirScout_Port.Value = global::AirScout.Properties.Settings.Default.Track_UDP_AirScout_Port; + // + // tb_Options_Track_UDP_WinTest_Port + // + this.tb_Options_Track_UDP_WinTest_Port.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Track_UDP_WinTest_Port", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Track_UDP_WinTest_Port.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Track_UDP_WinTest_Port.FormatSpecifier = "F0"; + this.tb_Options_Track_UDP_WinTest_Port.Location = new System.Drawing.Point(526, 42); + this.tb_Options_Track_UDP_WinTest_Port.MaxValue = 0; + this.tb_Options_Track_UDP_WinTest_Port.MinValue = 0; + this.tb_Options_Track_UDP_WinTest_Port.Name = "tb_Options_Track_UDP_WinTest_Port"; + this.tb_Options_Track_UDP_WinTest_Port.Size = new System.Drawing.Size(43, 22); + this.tb_Options_Track_UDP_WinTest_Port.TabIndex = 16; + this.tb_Options_Track_UDP_WinTest_Port.Text = "9871"; + this.tb_Options_Track_UDP_WinTest_Port.Value = global::AirScout.Properties.Settings.Default.Track_UDP_WinTest_Port; + // + // rb_Options_Track_UDP_None + // + this.rb_Options_Track_UDP_None.AutoSize = true; + this.rb_Options_Track_UDP_None.Checked = global::AirScout.Properties.Settings.Default.Track_UDP_None; + this.rb_Options_Track_UDP_None.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_UDP_None", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.rb_Options_Track_UDP_None.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.rb_Options_Track_UDP_None.Location = new System.Drawing.Point(17, 19); + this.rb_Options_Track_UDP_None.Name = "rb_Options_Track_UDP_None"; + this.rb_Options_Track_UDP_None.Size = new System.Drawing.Size(51, 17); + this.rb_Options_Track_UDP_None.TabIndex = 11; + this.rb_Options_Track_UDP_None.TabStop = true; + this.rb_Options_Track_UDP_None.Tag = ""; + this.rb_Options_Track_UDP_None.Text = "None"; + this.rb_Options_Track_UDP_None.UseVisualStyleBackColor = true; + // + // rb_Options_Track_UDP_AirScout + // + this.rb_Options_Track_UDP_AirScout.AutoSize = true; + this.rb_Options_Track_UDP_AirScout.Checked = global::AirScout.Properties.Settings.Default.Track_UDP_AirScout; + this.rb_Options_Track_UDP_AirScout.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_UDP_AirScout", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.rb_Options_Track_UDP_AirScout.Enabled = false; + this.rb_Options_Track_UDP_AirScout.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.rb_Options_Track_UDP_AirScout.Location = new System.Drawing.Point(17, 65); + this.rb_Options_Track_UDP_AirScout.Name = "rb_Options_Track_UDP_AirScout"; + this.rb_Options_Track_UDP_AirScout.Size = new System.Drawing.Size(280, 17); + this.rb_Options_Track_UDP_AirScout.TabIndex = 7; + this.rb_Options_Track_UDP_AirScout.Tag = ""; + this.rb_Options_Track_UDP_AirScout.Text = "UDP Broadcast (AirScout) Az/El (not implemented yet)"; + this.rb_Options_Track_UDP_AirScout.UseVisualStyleBackColor = true; + // + // rb_Options_Track_UDP_WinTest + // + this.rb_Options_Track_UDP_WinTest.AutoSize = true; + this.rb_Options_Track_UDP_WinTest.Checked = global::AirScout.Properties.Settings.Default.Track_UDP_WinTest; + this.rb_Options_Track_UDP_WinTest.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_UDP_WinTest", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.rb_Options_Track_UDP_WinTest.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.rb_Options_Track_UDP_WinTest.Location = new System.Drawing.Point(17, 42); + this.rb_Options_Track_UDP_WinTest.Name = "rb_Options_Track_UDP_WinTest"; + this.rb_Options_Track_UDP_WinTest.Size = new System.Drawing.Size(188, 17); + this.rb_Options_Track_UDP_WinTest.TabIndex = 6; + this.rb_Options_Track_UDP_WinTest.Tag = ""; + this.rb_Options_Track_UDP_WinTest.Text = "UDP Broadcast (Win-Test) Az only"; + this.rb_Options_Track_UDP_WinTest.UseVisualStyleBackColor = true; + // + // tb_Options_Track_Serial_Baudrate + // + this.tb_Options_Track_Serial_Baudrate.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Track_Serial_Baudrate", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Track_Serial_Baudrate.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Track_Serial_Baudrate.FormatSpecifier = "F0"; + this.tb_Options_Track_Serial_Baudrate.Location = new System.Drawing.Point(526, 13); + this.tb_Options_Track_Serial_Baudrate.MaxValue = 115200; + this.tb_Options_Track_Serial_Baudrate.MinValue = 0; + this.tb_Options_Track_Serial_Baudrate.Name = "tb_Options_Track_Serial_Baudrate"; + this.tb_Options_Track_Serial_Baudrate.Size = new System.Drawing.Size(72, 22); + this.tb_Options_Track_Serial_Baudrate.TabIndex = 11; + this.tb_Options_Track_Serial_Baudrate.Text = "4800"; + this.tb_Options_Track_Serial_Baudrate.Value = global::AirScout.Properties.Settings.Default.Track_Serial_Baudrate; + // + // rb_Options_Track_Serial_None + // + this.rb_Options_Track_Serial_None.AutoSize = true; + this.rb_Options_Track_Serial_None.Checked = global::AirScout.Properties.Settings.Default.Track_Serial_None; + this.rb_Options_Track_Serial_None.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_Serial_None", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.rb_Options_Track_Serial_None.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.rb_Options_Track_Serial_None.Location = new System.Drawing.Point(17, 15); + this.rb_Options_Track_Serial_None.Name = "rb_Options_Track_Serial_None"; + this.rb_Options_Track_Serial_None.Size = new System.Drawing.Size(51, 17); + this.rb_Options_Track_Serial_None.TabIndex = 10; + this.rb_Options_Track_Serial_None.TabStop = true; + this.rb_Options_Track_Serial_None.Tag = ""; + this.rb_Options_Track_Serial_None.Text = "None"; + this.rb_Options_Track_Serial_None.UseVisualStyleBackColor = true; + // + // tb_Options_Track_Serial_Port + // + this.tb_Options_Track_Serial_Port.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; + this.tb_Options_Track_Serial_Port.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::AirScout.Properties.Settings.Default, "Track_Serial_Port", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Track_Serial_Port.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Track_Serial_Port.Location = new System.Drawing.Point(407, 14); + this.tb_Options_Track_Serial_Port.Name = "tb_Options_Track_Serial_Port"; + this.tb_Options_Track_Serial_Port.Size = new System.Drawing.Size(54, 22); + this.tb_Options_Track_Serial_Port.TabIndex = 6; + this.tb_Options_Track_Serial_Port.Tag = ""; + this.tb_Options_Track_Serial_Port.Text = global::AirScout.Properties.Settings.Default.Track_Serial_Port; + // + // rb_Options_Track_Serial_GS232_AZEL + // + this.rb_Options_Track_Serial_GS232_AZEL.AutoSize = true; + this.rb_Options_Track_Serial_GS232_AZEL.Checked = global::AirScout.Properties.Settings.Default.Track_Serial_GS232_AZEL; + this.rb_Options_Track_Serial_GS232_AZEL.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_Serial_GS232_AZEL", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.rb_Options_Track_Serial_GS232_AZEL.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.rb_Options_Track_Serial_GS232_AZEL.Location = new System.Drawing.Point(17, 61); + this.rb_Options_Track_Serial_GS232_AZEL.Name = "rb_Options_Track_Serial_GS232_AZEL"; + this.rb_Options_Track_Serial_GS232_AZEL.Size = new System.Drawing.Size(97, 17); + this.rb_Options_Track_Serial_GS232_AZEL.TabIndex = 5; + this.rb_Options_Track_Serial_GS232_AZEL.Tag = ""; + this.rb_Options_Track_Serial_GS232_AZEL.Text = "GS-232A Az/El"; + this.rb_Options_Track_Serial_GS232_AZEL.UseVisualStyleBackColor = true; + // + // rb_Options_Track_Serial_GS232_AZ + // + this.rb_Options_Track_Serial_GS232_AZ.AutoSize = true; + this.rb_Options_Track_Serial_GS232_AZ.Checked = global::AirScout.Properties.Settings.Default.Track_Serial_GS232_AZ; + this.rb_Options_Track_Serial_GS232_AZ.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_Serial_GS232_AZ", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.rb_Options_Track_Serial_GS232_AZ.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.rb_Options_Track_Serial_GS232_AZ.Location = new System.Drawing.Point(17, 38); + this.rb_Options_Track_Serial_GS232_AZ.Name = "rb_Options_Track_Serial_GS232_AZ"; + this.rb_Options_Track_Serial_GS232_AZ.Size = new System.Drawing.Size(105, 17); + this.rb_Options_Track_Serial_GS232_AZ.TabIndex = 0; + this.rb_Options_Track_Serial_GS232_AZ.Tag = ""; + this.rb_Options_Track_Serial_GS232_AZ.Text = "GS-232A Az only"; + this.rb_Options_Track_Serial_GS232_AZ.UseVisualStyleBackColor = true; + // + // cb_Options_Track_Activate + // + this.cb_Options_Track_Activate.AutoSize = true; + this.cb_Options_Track_Activate.Checked = global::AirScout.Properties.Settings.Default.Track_Activate; + this.cb_Options_Track_Activate.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Track_Activate", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Track_Activate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Track_Activate.Location = new System.Drawing.Point(13, 19); + this.cb_Options_Track_Activate.Name = "cb_Options_Track_Activate"; + this.cb_Options_Track_Activate.Size = new System.Drawing.Size(153, 17); + this.cb_Options_Track_Activate.TabIndex = 1; + this.cb_Options_Track_Activate.Tag = ""; + this.cb_Options_Track_Activate.Text = "Activate Antenna Tracking"; + this.cb_Options_Track_Activate.UseVisualStyleBackColor = true; + // + // cb_Options_Watchlist_SyncWithKST + // + this.cb_Options_Watchlist_SyncWithKST.AutoSize = true; + this.cb_Options_Watchlist_SyncWithKST.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; + this.cb_Options_Watchlist_SyncWithKST.Checked = global::AirScout.Properties.Settings.Default.Watchlist_SyncWithKST; + this.cb_Options_Watchlist_SyncWithKST.CheckState = System.Windows.Forms.CheckState.Checked; + this.cb_Options_Watchlist_SyncWithKST.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::AirScout.Properties.Settings.Default, "Server_Activate", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Watchlist_SyncWithKST.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::AirScout.Properties.Settings.Default, "Watchlist_SyncWithKST", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.cb_Options_Watchlist_SyncWithKST.Enabled = global::AirScout.Properties.Settings.Default.Server_Activate; + this.cb_Options_Watchlist_SyncWithKST.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cb_Options_Watchlist_SyncWithKST.Location = new System.Drawing.Point(6, 47); + this.cb_Options_Watchlist_SyncWithKST.Name = "cb_Options_Watchlist_SyncWithKST"; + this.cb_Options_Watchlist_SyncWithKST.Size = new System.Drawing.Size(436, 17); + this.cb_Options_Watchlist_SyncWithKST.TabIndex = 6; + this.cb_Options_Watchlist_SyncWithKST.Text = "Keep in sync with KST user list (needs wtKST > V3.1 and network functions activat" + + "ed):"; + this.cb_Options_Watchlist_SyncWithKST.UseVisualStyleBackColor = true; + this.cb_Options_Watchlist_SyncWithKST.CheckedChanged += new System.EventHandler(this.cb_Options_Watchlist_SyncWithKST_CheckedChanged); + // + // tb_Options_Watchlist_MaxCount + // + this.tb_Options_Watchlist_MaxCount.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Watchlist_MaxCount", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.tb_Options_Watchlist_MaxCount.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tb_Options_Watchlist_MaxCount.FormatSpecifier = "F0"; + this.tb_Options_Watchlist_MaxCount.Location = new System.Drawing.Point(395, 20); + this.tb_Options_Watchlist_MaxCount.MaxValue = 1000; + this.tb_Options_Watchlist_MaxCount.MinValue = 1; + this.tb_Options_Watchlist_MaxCount.Name = "tb_Options_Watchlist_MaxCount"; + this.tb_Options_Watchlist_MaxCount.Size = new System.Drawing.Size(47, 22); + this.tb_Options_Watchlist_MaxCount.TabIndex = 5; + this.tb_Options_Watchlist_MaxCount.Text = "1000"; + this.tb_Options_Watchlist_MaxCount.Value = global::AirScout.Properties.Settings.Default.Watchlist_MaxCount; + // + // btn_Options_DXMap + // + this.btn_Options_DXMap.BackgroundImage = global::AirScout.Properties.Resources.Map2; + this.btn_Options_DXMap.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.btn_Options_DXMap.Location = new System.Drawing.Point(8, 135); + this.btn_Options_DXMap.Name = "btn_Options_DXMap"; + this.btn_Options_DXMap.Size = new System.Drawing.Size(75, 81); + this.btn_Options_DXMap.TabIndex = 29; + this.btn_Options_DXMap.Text = "\r\nMap"; + this.btn_Options_DXMap.UseVisualStyleBackColor = true; + this.btn_Options_DXMap.Click += new System.EventHandler(this.btn_Options_DXMap_Click); + // + // btn_Options_MyMap + // + this.btn_Options_MyMap.BackgroundImage = global::AirScout.Properties.Resources.Map2; + this.btn_Options_MyMap.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.btn_Options_MyMap.Location = new System.Drawing.Point(7, 134); + this.btn_Options_MyMap.Name = "btn_Options_MyMap"; + this.btn_Options_MyMap.Size = new System.Drawing.Size(75, 81); + this.btn_Options_MyMap.TabIndex = 30; + this.btn_Options_MyMap.Text = "\r\nMap"; + this.btn_Options_MyMap.UseVisualStyleBackColor = true; + this.btn_Options_MyMap.Click += new System.EventHandler(this.btn_Options_MyMap_Click); + // + // pictureBox3 + // + this.pictureBox3.Image = global::AirScout.Properties.Resources.AirScout_Watchlist; + this.pictureBox3.Location = new System.Drawing.Point(520, 19); + this.pictureBox3.Name = "pictureBox3"; + this.pictureBox3.Size = new System.Drawing.Size(113, 344); + this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox3.TabIndex = 3; + this.pictureBox3.TabStop = false; + // + // pictureBox2 + // + this.pictureBox2.Image = global::AirScout.Properties.Resources.AirScout_Marker; + this.pictureBox2.Location = new System.Drawing.Point(281, 36); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.Size = new System.Drawing.Size(210, 118); + this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox2.TabIndex = 2; + this.pictureBox2.TabStop = false; + // + // pictureBox1 + // + this.pictureBox1.Image = global::AirScout.Properties.Resources.AirScout_Multi; + this.pictureBox1.InitialImage = global::AirScout.Properties.Resources.AirScout_Multi; + this.pictureBox1.Location = new System.Drawing.Point(6, 15); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(283, 153); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox1.TabIndex = 0; + this.pictureBox1.TabStop = false; + // + // pb_Donate + // + this.pb_Donate.Image = ((System.Drawing.Image)(resources.GetObject("pb_Donate.Image"))); + this.pb_Donate.InitialImage = ((System.Drawing.Image)(resources.GetObject("pb_Donate.InitialImage"))); + this.pb_Donate.Location = new System.Drawing.Point(18, 272); + this.pb_Donate.Name = "pb_Donate"; + this.pb_Donate.Size = new System.Drawing.Size(306, 113); + this.pb_Donate.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pb_Donate.TabIndex = 38; + this.pb_Donate.TabStop = false; + this.tt_Options.SetToolTip(this.pb_Donate, "Click here to open a browser window with link."); + this.pb_Donate.Click += new System.EventHandler(this.pb_Donate_Click); + // + // pictureBox4 + // + this.pictureBox4.BackColor = System.Drawing.Color.White; + this.pictureBox4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pictureBox4.Image = global::AirScout.Properties.Resources.Settings; + this.pictureBox4.Location = new System.Drawing.Point(343, 108); + this.pictureBox4.Name = "pictureBox4"; + this.pictureBox4.Size = new System.Drawing.Size(306, 277); + this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox4.TabIndex = 5; + this.pictureBox4.TabStop = false; + // + // ud_Options_Map_Opacity + // + this.ud_Options_Map_Opacity.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::AirScout.Properties.Settings.Default, "Map_Opacity", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.ud_Options_Map_Opacity.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ud_Options_Map_Opacity.Increment = new decimal(new int[] { + 1, + 0, + 0, + 65536}); + this.ud_Options_Map_Opacity.Location = new System.Drawing.Point(320, 18); + this.ud_Options_Map_Opacity.Maximum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.ud_Options_Map_Opacity.Name = "ud_Options_Map_Opacity"; + this.ud_Options_Map_Opacity.Size = new System.Drawing.Size(54, 20); + this.ud_Options_Map_Opacity.TabIndex = 10; + this.ud_Options_Map_Opacity.Value = global::AirScout.Properties.Settings.Default.Map_Opacity; + // // OptionsDlg // this.AcceptButton = this.btn_Options_OK; @@ -5774,13 +6103,11 @@ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OptionsDlg_FormClosing); this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.OptionsDlg_FormClosed); this.Load += new System.EventHandler(this.OptionsDlg_Load); - ((System.ComponentModel.ISupportInitialize)(this.pb_Donate)).EndInit(); this.tab_Options_Planes.ResumeLayout(false); this.groupBox48.ResumeLayout(false); this.groupBox48.PerformLayout(); this.groupBox40.ResumeLayout(false); this.groupBox40.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Planes_Position_DatabaseLifetime)).EndInit(); this.groupBox38.ResumeLayout(false); this.groupBox38.PerformLayout(); this.groupBox26.ResumeLayout(false); @@ -5814,12 +6141,10 @@ this.groupBox49.PerformLayout(); this.groupBox37.ResumeLayout(false); this.groupBox37.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Charts_FontSize)).EndInit(); this.groupBox39.ResumeLayout(false); this.groupBox39.PerformLayout(); this.groupBox23.ResumeLayout(false); this.groupBox23.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Map_Preloader_MaxZoom)).EndInit(); this.groupBox30.ResumeLayout(false); this.groupBox30.PerformLayout(); this.groupBox7.ResumeLayout(false); @@ -5840,7 +6165,6 @@ this.groupBox44.PerformLayout(); this.groupBox14.ResumeLayout(false); this.groupBox14.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Locator_MaxLength)).EndInit(); this.groupBox16.ResumeLayout(false); this.groupBox5.ResumeLayout(false); this.groupBox5.PerformLayout(); @@ -5856,9 +6180,20 @@ this.groupBox27.PerformLayout(); this.gb_Options_Database_Settings.ResumeLayout(false); this.gb_Options_Database_Settings.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Database_Update_Period)).EndInit(); this.gb_Options_Database_Info.ResumeLayout(false); this.gb_Options_Database_Info.PerformLayout(); + this.tab_Options_ASTER3.ResumeLayout(false); + this.groupBox51.ResumeLayout(false); + this.groupBox51.PerformLayout(); + this.groupBox52.ResumeLayout(false); + this.groupBox53.ResumeLayout(false); + this.groupBox53.PerformLayout(); + this.tba_Option_ASTER1.ResumeLayout(false); + this.groupBox54.ResumeLayout(false); + this.groupBox54.PerformLayout(); + this.groupBox55.ResumeLayout(false); + this.groupBox56.ResumeLayout(false); + this.groupBox56.PerformLayout(); this.tab_Options_Alarm.ResumeLayout(false); this.groupBox21.ResumeLayout(false); this.groupBox21.PerformLayout(); @@ -5889,18 +6224,25 @@ this.groupBox28.PerformLayout(); this.tab_Options_Watchlist.ResumeLayout(false); this.groupBox50.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.groupBox17.ResumeLayout(false); this.groupBox17.PerformLayout(); this.tab_Options_Misc.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit(); this.groupBox15.ResumeLayout(false); this.tab_Options_Info.ResumeLayout(false); this.tab_Options_Info.PerformLayout(); this.ss_Options.ResumeLayout(false); this.ss_Options.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Database_Update_Period)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Locator_MaxLength)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Charts_FontSize)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Map_Preloader_MaxZoom)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Planes_Position_DatabaseLifetime)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pb_Donate)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.ud_Options_Map_Opacity)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -6327,7 +6669,29 @@ private System.Windows.Forms.Button btn_Options_Open_AirScoutDirectory; private System.Windows.Forms.PictureBox pb_Donate; private System.Windows.Forms.Label label105; + private System.Windows.Forms.TabPage tab_Options_ASTER3; + private System.Windows.Forms.GroupBox groupBox51; + private System.Windows.Forms.Label label146; + private System.Windows.Forms.Button btn_Options_ASTER3_Copyright; + private System.Windows.Forms.GroupBox groupBox52; + private GMap.NET.WindowsForms.GMapControl gm_Options_ASTER3; + private System.Windows.Forms.GroupBox groupBox53; + private System.Windows.Forms.CheckBox cb_Options_Elevation_ASTER3_EnableCache; + private System.Windows.Forms.CheckBox cb_Options_Elevation_ASTER3; + private System.ComponentModel.BackgroundWorker bw_ASTER3_MapUpdater; + private System.ComponentModel.BackgroundWorker bw_ASTER1_MapUpdater; + private System.Windows.Forms.TabPage tba_Option_ASTER1; + private System.Windows.Forms.GroupBox groupBox54; private System.Windows.Forms.Label label145; + private System.Windows.Forms.Button btn_Options_ASTER1_Copyright; + private System.Windows.Forms.GroupBox groupBox55; + private GMap.NET.WindowsForms.GMapControl gm_Options_ASTER1; + private System.Windows.Forms.GroupBox groupBox56; + private System.Windows.Forms.CheckBox cb_Options_Elevation_ASTER1_EnableCache; + private System.Windows.Forms.CheckBox cb_Options_Elevation_ASTER1; private System.Windows.Forms.Button btn_Options_Path_Export; + private System.Windows.Forms.Label label147; + private System.Windows.Forms.Label label148; + private PercentageControl ud_Options_Map_Opacity; } } \ No newline at end of file diff --git a/AirScout/OptionsDlg.cs b/AirScout/OptionsDlg.cs index 2dbdafb..d3147ee 100644 --- a/AirScout/OptionsDlg.cs +++ b/AirScout/OptionsDlg.cs @@ -41,6 +41,8 @@ namespace AirScout GMapOverlay GLOBEpolygons = new GMapOverlay("GLOBEpolygons"); GMapOverlay SRTM3polygons = new GMapOverlay("SRTM3polygons"); GMapOverlay SRTM1polygons = new GMapOverlay("SRTM1polygons"); + GMapOverlay ASTER3polygons = new GMapOverlay("ASTER3polygons"); + GMapOverlay ASTER1polygons = new GMapOverlay("ASTER1polygons"); MapDlg ParentDlg; @@ -145,6 +147,35 @@ namespace AirScout gm_Options_SRTM1.SelectionPen = null; gm_Options_SRTM1.MapScaleInfoEnabled = true; gm_Options_SRTM1.Overlays.Add(SRTM1polygons); + + // set initial settings for ASTER3Map + gm_Options_ASTER3.MapProvider = GMapProviders.Find(Properties.Settings.Default.Map_Provider); + gm_Options_ASTER3.IgnoreMarkerOnMouseWheel = true; + gm_Options_ASTER3.MinZoom = 0; + gm_Options_ASTER3.MaxZoom = 20; + gm_Options_ASTER3.Zoom = 6; + gm_Options_ASTER3.DragButton = System.Windows.Forms.MouseButtons.Left; + gm_Options_ASTER3.CanDragMap = true; + gm_Options_ASTER3.ScalePen = new Pen(Color.Black, 3); + gm_Options_ASTER3.HelperLinePen = null; + gm_Options_ASTER3.SelectionPen = null; + gm_Options_ASTER3.MapScaleInfoEnabled = true; + gm_Options_ASTER3.Overlays.Add(ASTER3polygons); + + // set initial settings for ASTER1Map + gm_Options_ASTER1.MapProvider = GMapProviders.Find(Properties.Settings.Default.Map_Provider); + gm_Options_ASTER1.IgnoreMarkerOnMouseWheel = true; + gm_Options_ASTER1.MinZoom = 0; + gm_Options_ASTER1.MaxZoom = 20; + gm_Options_ASTER1.Zoom = 6; + gm_Options_ASTER1.DragButton = System.Windows.Forms.MouseButtons.Left; + gm_Options_ASTER1.CanDragMap = true; + gm_Options_ASTER1.ScalePen = new Pen(Color.Black, 3); + gm_Options_ASTER1.HelperLinePen = null; + gm_Options_ASTER1.SelectionPen = null; + gm_Options_ASTER1.MapScaleInfoEnabled = true; + gm_Options_ASTER1.Overlays.Add(ASTER1polygons); + Log.WriteMessage("Finished."); } @@ -180,6 +211,10 @@ namespace AirScout private ELEVATIONMODEL GetElevationModel() { + if (Properties.Settings.Default.Elevation_ASTER1_Enabled) + return ELEVATIONMODEL.ASTER1; + if (Properties.Settings.Default.Elevation_ASTER3_Enabled) + return ELEVATIONMODEL.ASTER3; if (Properties.Settings.Default.Elevation_SRTM1_Enabled) return ELEVATIONMODEL.SRTM1; if (Properties.Settings.Default.Elevation_SRTM3_Enabled) @@ -195,7 +230,7 @@ namespace AirScout private void tab_Options_General_Enter(object sender, EventArgs e) { - tab_Options_General_Update(this,null); + tab_Options_General_Update(this, null); } private void tab_Options_General_Validating(object sender, CancelEventArgs e) @@ -290,7 +325,7 @@ namespace AirScout PropagationData.Database.GetDBSize(ELEVATIONMODEL.SRTM1) + ElevationData.Database.GetDBSize(ELEVATIONMODEL.GLOBE) + ElevationData.Database.GetDBSize(ELEVATIONMODEL.SRTM3) + - ElevationData.Database.GetDBSize(ELEVATIONMODEL.SRTM1) + + ElevationData.Database.GetDBSize(ELEVATIONMODEL.SRTM1) + MapData.Database.GetDBSize(); lbl_Options_Database_TotalSize.Text = total.ToString("F0"); rb_Options_Database_Update_Never.Checked = !Properties.Settings.Default.Background_Update_OnStartup && !Properties.Settings.Default.Background_Update_Periodically; @@ -1418,7 +1453,7 @@ namespace AirScout p.Fill = new SolidBrush(Color.FromArgb(50, Color.Red)); SRTM3polygons.Polygons.Add(p); } - else + else { Say((string)e.UserState); } @@ -1588,6 +1623,246 @@ namespace AirScout Dlg.ShowDialog(); } + #endregion + + #region tab_Options_ASTER3 + + private void bw_ASTER3_MapUpdater_DoWork(object sender, DoWorkEventArgs e) + { + bw_ASTER3_MapUpdater.ReportProgress(0, "ASTER3: Creating elevation tile catalogue..."); + ElevationCatalogue availabletiles = ElevationData.Database.ElevationCatalogueCreateCheckBoundsAndLastModified(bw_ASTER3_MapUpdater, ELEVATIONMODEL.ASTER3, Properties.Settings.Default.MinLat, Properties.Settings.Default.MinLon, Properties.Settings.Default.MaxLat, Properties.Settings.Default.MaxLon); + bw_ASTER3_MapUpdater.ReportProgress(0, "ASTER3: Processing tiles..."); + int missing = 0; + int found = 0; + foreach (string tilename in availabletiles.Files.Keys) + { + if (ElevationData.Database.ElevationTileExists(tilename.Substring(0, 6), ELEVATIONMODEL.ASTER3)) + { + bw_ASTER3_MapUpdater.ReportProgress(1, tilename); + found++; + } + else + { + bw_ASTER3_MapUpdater.ReportProgress(-1, tilename); + missing++; + } + if (bw_ASTER3_MapUpdater.CancellationPending) + { + bw_ASTER3_MapUpdater.ReportProgress(0, "ASTER3: Processing cancelled..."); + return; + } + } + bw_ASTER3_MapUpdater.ReportProgress(0, "ASTER3: " + found.ToString() + " tile(s) found, " + missing.ToString() + " more tile(s) available and missing."); + } + + private void bw_ASTER3_MapUpdater_ProgressChanged(object sender, ProgressChangedEventArgs e) + { + if (e.ProgressPercentage == 1) + { + // add a tile found in database to map polygons + double baselat; + double baselon; + MaidenheadLocator.LatLonFromLoc(((string)e.UserState).Substring(0, 6), PositionInRectangle.BottomLeft, out baselat, out baselon); + List l = new List(); + l.Add(new PointLatLng((decimal)baselat, (decimal)baselon)); + l.Add(new PointLatLng((decimal)(baselat + 1 / 24.0), (decimal)baselon)); + l.Add(new PointLatLng((decimal)(baselat + 1 / 24.0), (decimal)(baselon + 2 / 24.0))); + l.Add(new PointLatLng((decimal)baselat, (decimal)(baselon + 2 / 24.0))); + GMapPolygon p = new GMapPolygon(l, (string)e.UserState); + p.Stroke = new Pen(Color.FromArgb(50, Color.Green)); + p.Fill = new SolidBrush(Color.FromArgb(50, Color.Green)); + ASTER3polygons.Polygons.Add(p); + } + else if (e.ProgressPercentage == -1) + { + // add missing tile to map polygons + double baselat; + double baselon; + MaidenheadLocator.LatLonFromLoc(((string)e.UserState).Substring(0, 6), PositionInRectangle.BottomLeft, out baselat, out baselon); + List l = new List(); + l.Add(new PointLatLng((decimal)baselat, (decimal)baselon)); + l.Add(new PointLatLng((decimal)(baselat + 1 / 24.0), (decimal)baselon)); + l.Add(new PointLatLng((decimal)(baselat + 1 / 24.0), (decimal)(baselon + 2 / 24.0))); + l.Add(new PointLatLng((decimal)baselat, (decimal)(baselon + 2 / 24.0))); + GMapPolygon p = new GMapPolygon(l, (string)e.UserState); + p.Stroke = new Pen(Color.FromArgb(50, Color.Red)); + p.Fill = new SolidBrush(Color.FromArgb(50, Color.Red)); + ASTER3polygons.Polygons.Add(p); + } + else + { + Say((string)e.UserState); + } + } + + private void bw_ASTER3_MapUpdater_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) + { + + } + + private void tab_Options_ASTER3_Enter(object sender, EventArgs e) + { + // clear map polygons + ASTER3polygons.Clear(); + // add coverage to map polygons + List cl = new List(); + cl.Add(new PointLatLng(Properties.Settings.Default.MinLat, Properties.Settings.Default.MinLon)); + cl.Add(new PointLatLng(Properties.Settings.Default.MinLat, Properties.Settings.Default.MaxLon)); + cl.Add(new PointLatLng(Properties.Settings.Default.MaxLat, Properties.Settings.Default.MaxLon)); + cl.Add(new PointLatLng(Properties.Settings.Default.MaxLat, Properties.Settings.Default.MinLon)); + GMapPolygon c = new GMapPolygon(cl, "Coverage"); + c.Stroke = new Pen(Color.FromArgb(255, Color.Magenta), 3); + c.Fill = new SolidBrush(Color.FromArgb(0, Color.Magenta)); + ASTER3polygons.Polygons.Add(c); + // zoom the map initally + gm_Options_ASTER3.SetZoomToFitRect(RectLatLng.FromLTRB(Properties.Settings.Default.MinLon, Properties.Settings.Default.MaxLat, Properties.Settings.Default.MaxLon, Properties.Settings.Default.MinLat)); + // start map updater + if (!bw_ASTER3_MapUpdater.IsBusy) + bw_ASTER3_MapUpdater.RunWorkerAsync(); + // zoom the map + gm_Options_Coverage.SetZoomToFitRect(RectLatLng.FromLTRB(Properties.Settings.Default.MinLon - 1, Properties.Settings.Default.MaxLat + 1, Properties.Settings.Default.MaxLon + 1, Properties.Settings.Default.MinLat - 1)); + } + + private void tab_Options_ASTER3_Leave(object sender, EventArgs e) + { + // stop map updater + bw_ASTER3_MapUpdater.CancelAsync(); + // clear map polygons + ASTER3polygons.Clear(); + // do garbage collection + GC.Collect(); + Say(""); + } + + + private void btn_Options_ASTER3_Copyright_Click(object sender, EventArgs e) + { + ElevationCopyrightDlg Dlg = new ElevationCopyrightDlg(); + Dlg.Text = "ASTER3 Copyright Information"; + Dlg.rtb_Copyright.Text = Properties.Settings.Default.Elevation_ASTER3_Copyright; + Dlg.ShowDialog(); + } + + #endregion + + #region tab_Options_ASTER1 + + private void bw_ASTER1_MapUpdater_DoWork(object sender, DoWorkEventArgs e) + { + bw_ASTER1_MapUpdater.ReportProgress(0, "ASTER1: Creating elevation tile catalogue..."); + ElevationCatalogue availabletiles = ElevationData.Database.ElevationCatalogueCreateCheckBoundsAndLastModified(bw_ASTER1_MapUpdater, ELEVATIONMODEL.ASTER1, Properties.Settings.Default.MinLat, Properties.Settings.Default.MinLon, Properties.Settings.Default.MaxLat, Properties.Settings.Default.MaxLon); + bw_ASTER1_MapUpdater.ReportProgress(0, "ASTER1: Processing tiles..."); + int missing = 0; + int found = 0; + foreach (string tilename in availabletiles.Files.Keys) + { + if (ElevationData.Database.ElevationTileExists(tilename.Substring(0, 6), ELEVATIONMODEL.ASTER1)) + { + bw_ASTER1_MapUpdater.ReportProgress(1, tilename); + found++; + } + else + { + bw_ASTER1_MapUpdater.ReportProgress(-1, tilename); + missing++; + } + if (bw_ASTER1_MapUpdater.CancellationPending) + { + bw_ASTER1_MapUpdater.ReportProgress(0, "ASTER1: Processing cancelled..."); + return; + } + } + bw_ASTER1_MapUpdater.ReportProgress(0, "ASTER1: " + found.ToString() + " tile(s) found, " + missing.ToString() + " more tile(s) available and missing."); + } + + private void bw_ASTER1_MapUpdater_ProgressChanged(object sender, ProgressChangedEventArgs e) + { + if (e.ProgressPercentage == 1) + { + // add a tile found in database to map polygons + double baselat; + double baselon; + MaidenheadLocator.LatLonFromLoc(((string)e.UserState).Substring(0, 6), PositionInRectangle.BottomLeft, out baselat, out baselon); + List l = new List(); + l.Add(new PointLatLng((decimal)baselat, (decimal)baselon)); + l.Add(new PointLatLng((decimal)(baselat + 1 / 24.0), (decimal)baselon)); + l.Add(new PointLatLng((decimal)(baselat + 1 / 24.0), (decimal)(baselon + 2 / 24.0))); + l.Add(new PointLatLng((decimal)baselat, (decimal)(baselon + 2 / 24.0))); + GMapPolygon p = new GMapPolygon(l, (string)e.UserState); + p.Stroke = new Pen(Color.FromArgb(50, Color.Green)); + p.Fill = new SolidBrush(Color.FromArgb(50, Color.Green)); + ASTER1polygons.Polygons.Add(p); + } + else if (e.ProgressPercentage == -1) + { + // add missing tile to map polygons + double baselat; + double baselon; + MaidenheadLocator.LatLonFromLoc(((string)e.UserState).Substring(0, 6), PositionInRectangle.BottomLeft, out baselat, out baselon); + List l = new List(); + l.Add(new PointLatLng((decimal)baselat, (decimal)baselon)); + l.Add(new PointLatLng((decimal)(baselat + 1 / 24.0), (decimal)baselon)); + l.Add(new PointLatLng((decimal)(baselat + 1 / 24.0), (decimal)(baselon + 2 / 24.0))); + l.Add(new PointLatLng((decimal)baselat, (decimal)(baselon + 2 / 24.0))); + GMapPolygon p = new GMapPolygon(l, (string)e.UserState); + p.Stroke = new Pen(Color.FromArgb(50, Color.Red)); + p.Fill = new SolidBrush(Color.FromArgb(50, Color.Red)); + ASTER1polygons.Polygons.Add(p); + } + else + { + Say((string)e.UserState); + } + } + + private void bw_ASTER1_MapUpdater_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) + { + + } + + private void tba_Option_ASTER1_Enter(object sender, EventArgs e) + { + // clear map polygons + ASTER1polygons.Clear(); + // add coverage to map polygons + List cl = new List(); + cl.Add(new PointLatLng(Properties.Settings.Default.MinLat, Properties.Settings.Default.MinLon)); + cl.Add(new PointLatLng(Properties.Settings.Default.MinLat, Properties.Settings.Default.MaxLon)); + cl.Add(new PointLatLng(Properties.Settings.Default.MaxLat, Properties.Settings.Default.MaxLon)); + cl.Add(new PointLatLng(Properties.Settings.Default.MaxLat, Properties.Settings.Default.MinLon)); + GMapPolygon c = new GMapPolygon(cl, "Coverage"); + c.Stroke = new Pen(Color.FromArgb(255, Color.Magenta), 3); + c.Fill = new SolidBrush(Color.FromArgb(0, Color.Magenta)); + ASTER1polygons.Polygons.Add(c); + // zoom the map initally + gm_Options_ASTER1.SetZoomToFitRect(RectLatLng.FromLTRB(Properties.Settings.Default.MinLon, Properties.Settings.Default.MaxLat, Properties.Settings.Default.MaxLon, Properties.Settings.Default.MinLat)); + // start map updater + if (!bw_ASTER1_MapUpdater.IsBusy) + bw_ASTER1_MapUpdater.RunWorkerAsync(); + // zoom the map + gm_Options_Coverage.SetZoomToFitRect(RectLatLng.FromLTRB(Properties.Settings.Default.MinLon - 1, Properties.Settings.Default.MaxLat + 1, Properties.Settings.Default.MaxLon + 1, Properties.Settings.Default.MinLat - 1)); + } + + private void tba_Option_ASTER1_Leave(object sender, EventArgs e) + { + // stop map updater + bw_ASTER1_MapUpdater.CancelAsync(); + // clear map polygons + ASTER1polygons.Clear(); + // do garbage collection + GC.Collect(); + Say(""); + } + + private void btn_Options_ASTER1_Copyright_Click(object sender, EventArgs e) + { + ElevationCopyrightDlg Dlg = new ElevationCopyrightDlg(); + Dlg.Text = "ASTER1 Copyright Information"; + Dlg.rtb_Copyright.Text = Properties.Settings.Default.Elevation_ASTER1_Copyright; + Dlg.ShowDialog(); + } + + #endregion #region tab_Options_Path @@ -1712,7 +1987,6 @@ namespace AirScout } return ld; } - private void btn_Options_Path_Export_Click(object sender, EventArgs e) { // check and update station database @@ -1727,7 +2001,7 @@ namespace AirScout if (myqrv.AntennaGain == 0) myqrv.AntennaGain = StationData.Database.QRVGetDefaultAntennaGain(Properties.Settings.Default.Band); if (myqrv.Power == 0) - myqrv.Power = StationData.Database.QRVGetDefaultPower(Properties.Settings.Default.Band); + myqrv.Power = StationData.Database.QRVGetDefaultPower(Properties.Settings.Default.Band); // check if there are a valid DX settings if (!Callsign.Check(Properties.Settings.Default.DXCall) || !GeographicalPoint.Check(Properties.Settings.Default.DXLat, Properties.Settings.Default.DXLon)) @@ -1772,7 +2046,7 @@ namespace AirScout SaveFileDialog Dlg = new SaveFileDialog(); Dlg.AddExtension = true; Dlg.DefaultExt = "csv"; - Dlg.Filter = "Comma Separated Values *.csv |csv"; + Dlg.Filter = "Comma Separated Values *.csv |*.csv"; Dlg.FileName = "Path Information " + Properties.Settings.Default.MyCall.Replace("/", "_") + " to " + Properties.Settings.Default.DXCall.Replace("/", "_"); Dlg.InitialDirectory = Application.StartupPath; Dlg.OverwritePrompt = true; @@ -1782,21 +2056,26 @@ namespace AirScout { using (StreamWriter sw = new StreamWriter(Dlg.FileName)) { + int est = 10; sw.WriteLine("Distance[km];Lat[deg];Lon[deg];Elevation[m]"); for (int i = 0; i < epath.Path.Length; i++) { - double distance = (double)i * epath.StepWidth / 1000.0; - LatLon.GPoint p = LatLon.DestinationPoint(myloc.Lat, myloc.Lon, epath.Bearing12, distance); - sw.WriteLine(distance.ToString("F8") + ";" + - p.Lat.ToString("F8") + ";" + - p.Lon.ToString("F8") + ";" + - epath.Path[i].ToString()); + for (int j = 0; j < epath.StepWidth / est; j++) + { + double distance = (double)(i + j * est / epath.StepWidth) * epath.StepWidth / 1000.0; + LatLon.GPoint p = LatLon.DestinationPoint(myloc.Lat, myloc.Lon, epath.Bearing12, distance); + sw.WriteLine(distance.ToString("F8") + ";" + + p.Lat.ToString("F8") + ";" + + p.Lon.ToString("F8") + ";" + + epath.Path[i].ToString()); + } } } } - catch + catch (Exception ex) { - // do nothing, if export is going wrong + MessageBox.Show("Error while exporting path: " + ex.Message, "Export Path to CSV"); + Log.WriteMessage(ex.ToString()); } } } @@ -2203,7 +2482,7 @@ namespace AirScout { try { - Properties.Settings.Default.Planes_Filter_Min_Category = PlaneCategories.ParseStringValue((string) cb_Options_Planes_Filter_Min_Cat.SelectedItem); + Properties.Settings.Default.Planes_Filter_Min_Category = PlaneCategories.ParseStringValue((string)cb_Options_Planes_Filter_Min_Cat.SelectedItem); } catch (Exception ex) { @@ -2548,14 +2827,13 @@ namespace AirScout #endregion + + public class StationDataUpdaterDoWorkEventArgs + { + public LocationDesignator ld; + public List qrvs; + } + } - public class StationDataUpdaterDoWorkEventArgs - { - public LocationDesignator ld; - public List qrvs; - } - - - } diff --git a/AirScout/OptionsDlg.resx b/AirScout/OptionsDlg.resx index 56be83e..69701ef 100644 --- a/AirScout/OptionsDlg.resx +++ b/AirScout/OptionsDlg.resx @@ -120,6 +120,65 @@ 17, 17 + + You can select different map provider from the list below. Depending on your selection some maps may not be available for your choosen area. Please note that the selection of maps is taken from Great Maps regardless of their legal status. Some of them might be copyrighted or otherwise restricted in use. +You were asked to agree with the terms of use first. +Open Street Map is recommended as a default. + + + Information from callsign database and other sources are used to prefill fields. You can overwrite and complete entries here. Your local database is updated. If you want to share the information with the AirScout community please use the "Send Update!" buttons. + + + CAUTION: Running a web service is a potential security hole! You should activate this function only inside a private network. + +Depending on your user profile you will prompted several times by the Operating System on first run. Please accept all security queries with "Yes" or "Accept". +Otherwise the web service will not run properly. + + + AirScout can work as a server in a network. + +UDP Server: +You can ask for a path calculation between two stations and AirScout will return the planes near path and their portential for a reflection. + +HTTP Server: +You can ask for latest plane positions via simple http-request (e.g. from a web browser. The result is delivered as a JSON file which can used to run own services and calculations. + +See documentation for further details. + + + AirScout can get FFT data from Spectrum Lab software via Network. You must have Spectrum Lab software installed with default settings. Do not forget to activate http - server functionaltiy in Spectrum Lab. + + + Watchlist allows you to pick a number of stations out of your database. +This is very helpful especially when working in Multi-Path Mode. + +All stations on watchlist can be shown on map with small markers and callsign labels for quick showing/hiding path to them. + +If a station is selected from watchlist by checking the assigned checkbox, path is shown on map and entry is coloured according to aircraft scatter potential. + +Watchlist can be synchronized with ON4KST chat user list instead of a local managed list to show all stations currently logged in in chat (Needs wtKST software and network functions enabbled). + + + 130, 17 + + + 353, 17 + + + 483, 17 + + + 706, 17 + + + 890, 17 + + + 1071, 17 + + + 1259, 17 + @@ -239,56 +298,4 @@ bOQwu7KRw+zKRg6zKxs5zK5s5DC7spHD7MpGDrMrGznMrkwUwn8BkAmqaXV391cAAAAASUVORK5CYII= - - You can select different map provider from the list below. Depending on your selection some maps may not be available for your choosen area. Please note that the selection of maps is taken from Great Maps regardless of their legal status. Some of them might be copyrighted or otherwise restricted in use. You were asked to agree with the terms of use first. -Open Street Map is recommended as a default. - - - Information from callsign database and other sources are used to prefill fields. You can overwrite and complete entries here. Your local database is updated. If you want to share the information with the AirScout community please use the "Send Update!" buttons. - - - CAUTION: Running a web service is a potential security hole! You should activate this function only inside a private network. - -Depending on your user profile you will prompted several times by the Operating System on first run. Please accept all security queries with "Yes" or "Accept". -Otherwise the web service will not run properly. - - - AirScout can work as a server in a network. - -UDP Server: -You can ask for a path calculation between two stations and AirScout will return the planes near path and their portential for a reflection. - -HTTP Server: -You can ask for latest plane positions via simple http-request (e.g. from a web browser. The result is delivered as a JSON file which can used to run own services and calculations. - -See documentation for further details. - - - AirScout can get FFT data from Spectrum Lab software via Network. You must have Spectrum Lab software installed with default settings. Do not forget to activate http - server functionaltiy in Spectrum Lab. - - - Watchlist allows you to pick a number of stations out of your database. -This is very helpful especially when working in Multi-Path Mode. - -All stations on watchlist can be shown on map with small markers and callsign labels for quick showing/hiding path to them. - -If a station is selected from watchlist by checking the assigned checkbox, path is shown on map and entry is coloured according to aircraft scatter potential. - -Watchlist can be synchronized with ON4KST chat user list instead of a local managed list to show all stations currently logged in in chat (Needs wtKST software and network functions enabbled). - - - 130, 17 - - - 353, 17 - - - 483, 17 - - - 706, 17 - - - 890, 17 - \ No newline at end of file diff --git a/AirScout/PercentageControl.Designer.cs b/AirScout/PercentageControl.Designer.cs new file mode 100644 index 0000000..9414cd9 --- /dev/null +++ b/AirScout/PercentageControl.Designer.cs @@ -0,0 +1,44 @@ +namespace AirScout +{ + partial class PercentageControl + { + /// + /// Erforderliche Designervariable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Verwendete Ressourcen bereinigen. + /// + /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Vom Komponenten-Designer generierter Code + + /// + /// Erforderliche Methode für die Designerunterstützung. + /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. + /// + private void InitializeComponent() + { + this.SuspendLayout(); + // + // PercentageControl + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Name = "PercentageControl"; + this.ResumeLayout(false); + + } + + #endregion + } +} diff --git a/AirScout/PercentageControl.cs b/AirScout/PercentageControl.cs new file mode 100644 index 0000000..0ba1ef9 --- /dev/null +++ b/AirScout/PercentageControl.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace AirScout +{ + public partial class PercentageControl : NumericUpDown + { + public PercentageControl() + { + InitializeComponent(); + } + + protected override void UpdateEditText() + { + this.Text = Value.ToString("0%"); + // base.UpdateEditText(); + } + } +} diff --git a/AirScout/PercentageControl.resx b/AirScout/PercentageControl.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/AirScout/PercentageControl.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/AirScout/Properties/AssemblyInfo.cs b/AirScout/Properties/AssemblyInfo.cs index 19e3074..1c79759 100644 --- a/AirScout/Properties/AssemblyInfo.cs +++ b/AirScout/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern // übernehmen, indem Sie "*" eingeben: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.3.3.3")] -[assembly: AssemblyFileVersion("1.3.3.3")] +[assembly: AssemblyVersion("1.4.0.0")] +[assembly: AssemblyFileVersion("1.4.0.0")] diff --git a/AirScout/Properties/Settings.Designer.cs b/AirScout/Properties/Settings.Designer.cs index 0215e6a..51186ec 100644 --- a/AirScout/Properties/Settings.Designer.cs +++ b/AirScout/Properties/Settings.Designer.cs @@ -2304,5 +2304,156 @@ Digital data base on the World Wide Web (URL: http://www.ngdc.noaa.gov/mgg/topo/ this["Map_Preloader_MaxZoom"] = value; } } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Maidenhead locator system elvation tiles calculated by DL2ALF based on elevation " + + "data of the ASTER project:\r\n\r\nThe ASTER Global Digital Elevation Model (GDEM) V" + + "ersion 3 (ASTGTM) provides a global digital elevation model (DEM) of land areas " + + "on Earth at a spatial resolution of 1 arc second (approximately 30 meter horizon" + + "tal posting at the equator).\r\n\r\nThe development of the ASTER GDEM data products " + + "is a collaborative effort between National Aeronautics and Space Administration " + + "(NASA) and Japan’s Ministry of Economy, Trade, and Industry (METI).\r\nThe ASTER G" + + "DEM data products are created by the Sensor Information Laboratory Corporation (" + + "SILC) in Tokyo.\r\n\r\nThe ASTER GDEM Version 3 data product was created from the au" + + "tomated processing of the entire ASTER Level 1A archive of scenes acquired betwe" + + "en March 1, 2000, and November 30, 2013\r\nStereo correlation was used to produce " + + "over one million individual scene based ASTER DEMs, to which cloud masking was a" + + "pplied. All cloud screened DEMs and non-cloud screened DEMs were stacked.\r\nResid" + + "ual bad values and outliers were removed. In areas with limited data stacking, s" + + "everal existing reference DEMs were used to supplement ASTER data to correct for" + + " residual anomalies.\r\nSelected data were averaged to create final pixel values b" + + "efore partitioning the data into 1° by 1° tiles with a one pixel overlap.\r\nTo co" + + "rrect elevation values of water body surfaces, the ASTER Global Water Bodies Dat" + + "abase (ASTWBD) Version 1 data product was also generated.\r\n\r\nASTER GDEM is a pro" + + "duct of NASA and MET See Ihttps://lpdaac.usgs.gov/products/astgtmv003/\r\n\r\nNASA/M" + + "ETI/AIST/Japan Spacesystems, and U.S./Japan ASTER Science Team (2019). ASTER Glo" + + "bal Digital Elevation Model V003 [Data set]. NASA EOSDIS Land Processes DAAC\r\n")] + public string Elevation_ASTER3_Copyright { + get { + return ((string)(this["Elevation_ASTER3_Copyright"])); + } + set { + this["Elevation_ASTER3_Copyright"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool Elevation_ASTER3_Enabled { + get { + return ((bool)(this["Elevation_ASTER3_Enabled"])); + } + set { + this["Elevation_ASTER3_Enabled"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool Elevation_ASTER3_EnableCache { + get { + return ((bool)(this["Elevation_ASTER3_EnableCache"])); + } + set { + this["Elevation_ASTER3_EnableCache"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Maidenhead locator system elvation tiles calculated by DL2ALF based on elevation " + + "data of the ASTER project:\r\n\r\nThe ASTER Global Digital Elevation Model (GDEM) V" + + "ersion 3 (ASTGTM) provides a global digital elevation model (DEM) of land areas " + + "on Earth at a spatial resolution of 1 arc second (approximately 30 meter horizon" + + "tal posting at the equator).\r\n\r\nThe development of the ASTER GDEM data products " + + "is a collaborative effort between National Aeronautics and Space Administration " + + "(NASA) and Japan’s Ministry of Economy, Trade, and Industry (METI).\r\nThe ASTER G" + + "DEM data products are created by the Sensor Information Laboratory Corporation (" + + "SILC) in Tokyo.\r\n\r\nThe ASTER GDEM Version 3 data product was created from the au" + + "tomated processing of the entire ASTER Level 1A archive of scenes acquired betwe" + + "en March 1, 2000, and November 30, 2013\r\nStereo correlation was used to produce " + + "over one million individual scene based ASTER DEMs, to which cloud masking was a" + + "pplied. All cloud screened DEMs and non-cloud screened DEMs were stacked.\r\nResid" + + "ual bad values and outliers were removed. In areas with limited data stacking, s" + + "everal existing reference DEMs were used to supplement ASTER data to correct for" + + " residual anomalies.\r\nSelected data were averaged to create final pixel values b" + + "efore partitioning the data into 1° by 1° tiles with a one pixel overlap.\r\nTo co" + + "rrect elevation values of water body surfaces, the ASTER Global Water Bodies Dat" + + "abase (ASTWBD) Version 1 data product was also generated.\r\n\r\nASTER GDEM is a pro" + + "duct of NASA and MET See Ihttps://lpdaac.usgs.gov/products/astgtmv003/\r\n\r\nNASA/M" + + "ETI/AIST/Japan Spacesystems, and U.S./Japan ASTER Science Team (2019). ASTER Glo" + + "bal Digital Elevation Model V003 [Data set]. NASA EOSDIS Land Processes DAAC\r\n\r\n" + + "")] + public string Elevation_ASTER1_Copyright { + get { + return ((string)(this["Elevation_ASTER1_Copyright"])); + } + set { + this["Elevation_ASTER1_Copyright"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool Elevation_ASTER1_Enabled { + get { + return ((bool)(this["Elevation_ASTER1_Enabled"])); + } + set { + this["Elevation_ASTER1_Enabled"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool Elevation_ASTER1_EnableCache { + get { + return ((bool)(this["Elevation_ASTER1_EnableCache"])); + } + set { + this["Elevation_ASTER1_EnableCache"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("UNDEFINED")] + public global::System.Data.SQLite.DATABASESTATUS Elevation_ASTER3_DatabaseStatus { + get { + return ((global::System.Data.SQLite.DATABASESTATUS)(this["Elevation_ASTER3_DatabaseStatus"])); + } + set { + this["Elevation_ASTER3_DatabaseStatus"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("UNDEFINED")] + public global::System.Data.SQLite.DATABASESTATUS Elevation_ASTER1_DatabaseStatus { + get { + return ((global::System.Data.SQLite.DATABASESTATUS)(this["Elevation_ASTER1_DatabaseStatus"])); + } + set { + this["Elevation_ASTER1_DatabaseStatus"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("1")] + public decimal Map_Opacity { + get { + return ((decimal)(this["Map_Opacity"])); + } + set { + this["Map_Opacity"] = value; + } + } } } diff --git a/AirScout/Properties/Settings.settings b/AirScout/Properties/Settings.settings index 6f73e24..7547043 100644 --- a/AirScout/Properties/Settings.settings +++ b/AirScout/Properties/Settings.settings @@ -604,5 +604,65 @@ MEaSUREs data and products are available at no charge from the LP DAAC.See https 11 + + Maidenhead locator system elvation tiles calculated by DL2ALF based on elevation data of the ASTER project: + +The ASTER Global Digital Elevation Model (GDEM) Version 3 (ASTGTM) provides a global digital elevation model (DEM) of land areas on Earth at a spatial resolution of 1 arc second (approximately 30 meter horizontal posting at the equator). + +The development of the ASTER GDEM data products is a collaborative effort between National Aeronautics and Space Administration (NASA) and Japan’s Ministry of Economy, Trade, and Industry (METI). +The ASTER GDEM data products are created by the Sensor Information Laboratory Corporation (SILC) in Tokyo. + +The ASTER GDEM Version 3 data product was created from the automated processing of the entire ASTER Level 1A archive of scenes acquired between March 1, 2000, and November 30, 2013 +Stereo correlation was used to produce over one million individual scene based ASTER DEMs, to which cloud masking was applied. All cloud screened DEMs and non-cloud screened DEMs were stacked. +Residual bad values and outliers were removed. In areas with limited data stacking, several existing reference DEMs were used to supplement ASTER data to correct for residual anomalies. +Selected data were averaged to create final pixel values before partitioning the data into 1° by 1° tiles with a one pixel overlap. +To correct elevation values of water body surfaces, the ASTER Global Water Bodies Database (ASTWBD) Version 1 data product was also generated. + +ASTER GDEM is a product of NASA and MET See Ihttps://lpdaac.usgs.gov/products/astgtmv003/ + +NASA/METI/AIST/Japan Spacesystems, and U.S./Japan ASTER Science Team (2019). ASTER Global Digital Elevation Model V003 [Data set]. NASA EOSDIS Land Processes DAAC + + + + False + + + False + + + Maidenhead locator system elvation tiles calculated by DL2ALF based on elevation data of the ASTER project: + +The ASTER Global Digital Elevation Model (GDEM) Version 3 (ASTGTM) provides a global digital elevation model (DEM) of land areas on Earth at a spatial resolution of 1 arc second (approximately 30 meter horizontal posting at the equator). + +The development of the ASTER GDEM data products is a collaborative effort between National Aeronautics and Space Administration (NASA) and Japan’s Ministry of Economy, Trade, and Industry (METI). +The ASTER GDEM data products are created by the Sensor Information Laboratory Corporation (SILC) in Tokyo. + +The ASTER GDEM Version 3 data product was created from the automated processing of the entire ASTER Level 1A archive of scenes acquired between March 1, 2000, and November 30, 2013 +Stereo correlation was used to produce over one million individual scene based ASTER DEMs, to which cloud masking was applied. All cloud screened DEMs and non-cloud screened DEMs were stacked. +Residual bad values and outliers were removed. In areas with limited data stacking, several existing reference DEMs were used to supplement ASTER data to correct for residual anomalies. +Selected data were averaged to create final pixel values before partitioning the data into 1° by 1° tiles with a one pixel overlap. +To correct elevation values of water body surfaces, the ASTER Global Water Bodies Database (ASTWBD) Version 1 data product was also generated. + +ASTER GDEM is a product of NASA and MET See Ihttps://lpdaac.usgs.gov/products/astgtmv003/ + +NASA/METI/AIST/Japan Spacesystems, and U.S./Japan ASTER Science Team (2019). ASTER Global Digital Elevation Model V003 [Data set]. NASA EOSDIS Land Processes DAAC + + + + + False + + + False + + + UNDEFINED + + + UNDEFINED + + + 1 + \ No newline at end of file diff --git a/AirScout/VersionHistory.txt b/AirScout/VersionHistory.txt index 5b3f540..34a4575 100644 --- a/AirScout/VersionHistory.txt +++ b/AirScout/VersionHistory.txt @@ -1,4 +1,11 @@ -2020-xx-xx: V1.3.3.3 +2020-xx-xx: V1.4.0.0 +==================== + +- Feature: introducing ASTER Digital Elevation Model covering earth surface almost complete, but data are very raw and have to filtered, only useful when coverage > 60° needed +- Feature: new OpenTopoMap provider, not really suitable for surpervising aircraft travel but has very nice contour levels (based on SRTM) +- Feature: adjust main map opacity via "Options/Map" which is helpful in case map colors are very prominent + +2020-xx-xx: V1.3.3.3 ==================== - Feature: export current path to CSV, feature was removed during change to V1.3.x diff --git a/AirScout/app.config b/AirScout/app.config index 0cd43f1..94f48c2 100644 --- a/AirScout/app.config +++ b/AirScout/app.config @@ -603,6 +603,66 @@ MEaSUREs data and products are available at no charge from the LP DAAC.See https 11 + + Maidenhead locator system elvation tiles calculated by DL2ALF based on elevation data of the ASTER project: + +The ASTER Global Digital Elevation Model (GDEM) Version 3 (ASTGTM) provides a global digital elevation model (DEM) of land areas on Earth at a spatial resolution of 1 arc second (approximately 30 meter horizontal posting at the equator). + +The development of the ASTER GDEM data products is a collaborative effort between National Aeronautics and Space Administration (NASA) and Japan’s Ministry of Economy, Trade, and Industry (METI). +The ASTER GDEM data products are created by the Sensor Information Laboratory Corporation (SILC) in Tokyo. + +The ASTER GDEM Version 3 data product was created from the automated processing of the entire ASTER Level 1A archive of scenes acquired between March 1, 2000, and November 30, 2013 +Stereo correlation was used to produce over one million individual scene based ASTER DEMs, to which cloud masking was applied. All cloud screened DEMs and non-cloud screened DEMs were stacked. +Residual bad values and outliers were removed. In areas with limited data stacking, several existing reference DEMs were used to supplement ASTER data to correct for residual anomalies. +Selected data were averaged to create final pixel values before partitioning the data into 1° by 1° tiles with a one pixel overlap. +To correct elevation values of water body surfaces, the ASTER Global Water Bodies Database (ASTWBD) Version 1 data product was also generated. + +ASTER GDEM is a product of NASA and MET See Ihttps://lpdaac.usgs.gov/products/astgtmv003/ + +NASA/METI/AIST/Japan Spacesystems, and U.S./Japan ASTER Science Team (2019). ASTER Global Digital Elevation Model V003 [Data set]. NASA EOSDIS Land Processes DAAC + + + + False + + + False + + + Maidenhead locator system elvation tiles calculated by DL2ALF based on elevation data of the ASTER project: + +The ASTER Global Digital Elevation Model (GDEM) Version 3 (ASTGTM) provides a global digital elevation model (DEM) of land areas on Earth at a spatial resolution of 1 arc second (approximately 30 meter horizontal posting at the equator). + +The development of the ASTER GDEM data products is a collaborative effort between National Aeronautics and Space Administration (NASA) and Japan’s Ministry of Economy, Trade, and Industry (METI). +The ASTER GDEM data products are created by the Sensor Information Laboratory Corporation (SILC) in Tokyo. + +The ASTER GDEM Version 3 data product was created from the automated processing of the entire ASTER Level 1A archive of scenes acquired between March 1, 2000, and November 30, 2013 +Stereo correlation was used to produce over one million individual scene based ASTER DEMs, to which cloud masking was applied. All cloud screened DEMs and non-cloud screened DEMs were stacked. +Residual bad values and outliers were removed. In areas with limited data stacking, several existing reference DEMs were used to supplement ASTER data to correct for residual anomalies. +Selected data were averaged to create final pixel values before partitioning the data into 1° by 1° tiles with a one pixel overlap. +To correct elevation values of water body surfaces, the ASTER Global Water Bodies Database (ASTWBD) Version 1 data product was also generated. + +ASTER GDEM is a product of NASA and MET See Ihttps://lpdaac.usgs.gov/products/astgtmv003/ + +NASA/METI/AIST/Japan Spacesystems, and U.S./Japan ASTER Science Team (2019). ASTER Global Digital Elevation Model V003 [Data set]. NASA EOSDIS Land Processes DAAC + + + + + False + + + False + + + UNDEFINED + + + UNDEFINED + + + 1 + diff --git a/GreatMaps/GMap.NET.Core/GMap.NET.Core.csproj b/GreatMaps/GMap.NET.Core/GMap.NET.Core.csproj index b16bc4e..87289fc 100644 --- a/GreatMaps/GMap.NET.Core/GMap.NET.Core.csproj +++ b/GreatMaps/GMap.NET.Core/GMap.NET.Core.csproj @@ -167,6 +167,7 @@ + diff --git a/GreatMaps/GMap.NET.Core/GMap.NET.MapProviders/GMapProvider.cs b/GreatMaps/GMap.NET.Core/GMap.NET.MapProviders/GMapProvider.cs index 6607502..eb05902 100644 --- a/GreatMaps/GMap.NET.Core/GMap.NET.MapProviders/GMapProvider.cs +++ b/GreatMaps/GMap.NET.Core/GMap.NET.MapProviders/GMapProvider.cs @@ -38,6 +38,8 @@ namespace GMap.NET.MapProviders public static readonly OpenSeaMapHybridProvider OpenSeaMapHybrid = OpenSeaMapHybridProvider.Instance; + public static readonly OpenTopoMapProvider OpenTopoMap = OpenTopoMapProvider.Instance; + #if OpenStreetOsm public static readonly OpenStreetOsmProvider OpenStreetOsm = OpenStreetOsmProvider.Instance; #endif @@ -46,7 +48,7 @@ namespace GMap.NET.MapProviders public static readonly OpenStreetMapSurferProvider OpenStreetMapSurfer = OpenStreetMapSurferProvider.Instance; public static readonly OpenStreetMapSurferTerrainProvider OpenStreetMapSurferTerrain = OpenStreetMapSurferTerrainProvider.Instance; #endif - public static readonly WikiMapiaMapProvider WikiMapiaMap = WikiMapiaMapProvider.Instance; + public static readonly WikiMapiaMapProvider WikiMapiaMap = WikiMapiaMapProvider.Instance; public static readonly BingMapProvider BingMap = BingMapProvider.Instance; public static readonly BingSatelliteMapProvider BingSatelliteMap = BingSatelliteMapProvider.Instance; diff --git a/GreatMaps/GMap.NET.Core/GMap.NET.MapProviders/OpenStreetMap/OpenTopoMapProvider.cs b/GreatMaps/GMap.NET.Core/GMap.NET.MapProviders/OpenStreetMap/OpenTopoMapProvider.cs new file mode 100644 index 0000000..ecb7430 --- /dev/null +++ b/GreatMaps/GMap.NET.Core/GMap.NET.MapProviders/OpenStreetMap/OpenTopoMapProvider.cs @@ -0,0 +1,75 @@ + +namespace GMap.NET.MapProviders +{ + using System; + + /// + /// OpenTopoMap provider - http://www.opentopomap.org + /// + public class OpenTopoMapProvider : OpenStreetMapProviderBase + { + public static readonly OpenTopoMapProvider Instance; + + OpenTopoMapProvider() + { + RefererUrl = ""; + Copyright = string.Format("© OpenTopoMap - Map data ©{0} OpenTopoMap. Licence CC-BY-SA. See www.opentopomap.org", DateTime.Today.Year); + + } + + static OpenTopoMapProvider() + { + Instance = new OpenTopoMapProvider(); + } + + #region GMapProvider Members + + readonly Guid id = new Guid("B8A6A7B4-3034-495D-BC83-96F6034748B1"); + public override Guid Id + { + get + { + return id; + } + } + + readonly string name = "OpenTopoMap"; + public override string Name + { + get + { + return name; + } + } + + GMapProvider[] overlays; + public override GMapProvider[] Overlays + { + get + { + if(overlays == null) + { + overlays = new GMapProvider[] { this }; + } + return overlays; + } + } + + public override PureImage GetTileImage(GPoint pos, int zoom) + { + string url = MakeTileImageUrl(pos, zoom, string.Empty); + + return GetTileImageUsingHttp(url); + } + + #endregion + + string MakeTileImageUrl(GPoint pos, int zoom, string language) + { + char letter = ServerLetters[GMapProvider.GetServerNum(pos, 3)]; + return string.Format(UrlFormat, letter, zoom, pos.X, pos.Y); + } + + static readonly string UrlFormat = "https://{0}.tile.opentopomap.org/{1}/{2}/{3}.png"; + } +} diff --git a/GreatMaps/GMap.NET.WindowsForms/GMap.NET.WindowsForms/GMapControl.cs b/GreatMaps/GMap.NET.WindowsForms/GMap.NET.WindowsForms/GMapControl.cs index 2b3e71f..44c5665 100644 --- a/GreatMaps/GMap.NET.WindowsForms/GMap.NET.WindowsForms/GMapControl.cs +++ b/GreatMaps/GMap.NET.WindowsForms/GMap.NET.WindowsForms/GMapControl.cs @@ -493,8 +493,25 @@ namespace GMap.NET.WindowsForms } #endif - // internal stuff - internal readonly Core Core = new Core(); + private double _Opacity = 1.0; + public double Opacity + { + get + { + return _Opacity; + } + set + { + _Opacity = value; + if (Core.IsStarted) + { + ReloadMap(); + } + } + } + + // internal stuff + internal readonly Core Core = new Core(); internal readonly Font CopyrightFont = new Font(FontFamily.GenericSansSerif, 7, FontStyle.Regular); #if !PocketPC @@ -530,7 +547,8 @@ namespace GMap.NET.WindowsForms this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); this.SetStyle(ControlStyles.UserPaint, true); - this.SetStyle(ControlStyles.Opaque, true); + // this.SetStyle(ControlStyles.Opaque, true); + this.SetStyle(ControlStyles.Opaque, false); ResizeRedraw = true; TileFlipXYAttributes.SetWrapMode(WrapMode.TileFlipXY); @@ -613,11 +631,53 @@ namespace GMap.NET.WindowsForms } } - /// - /// render map in GDI+ - /// - /// - void DrawMap(Graphics g) + private const int bytesPerPixel = 4; + + /// + /// method for changing the opacity of an image + /// + /// image to set opacity on + /// percentage of opacity + /// + public Image SetImageOpacity(Image image, double opacity) + { + try + { + //create a Bitmap the size of the image provided + Bitmap bmp = new Bitmap(image.Width, image.Height); + + //create a graphics object from the image + using (Graphics gfx = Graphics.FromImage(bmp)) + { + + //create a color matrix object + ColorMatrix matrix = new ColorMatrix(); + + //set the opacity + matrix.Matrix33 = (float)opacity; + + //create image attributes + ImageAttributes attributes = new ImageAttributes(); + + //set the color(opacity) of the image + attributes.SetColorMatrix(matrix, ColorMatrixFlag.Default, ColorAdjustType.Bitmap); + + //now draw the image + gfx.DrawImage(image, new Rectangle(0, 0, bmp.Width, bmp.Height), 0, 0, image.Width, image.Height, GraphicsUnit.Pixel, attributes); + } + return bmp; + } + catch (Exception ex) + { + MessageBox.Show(ex.Message); + return null; + } + } + /// + /// render map in GDI+ + /// + /// + void DrawMap(Graphics g) { if(Core.updatingBounds || MapProvider == EmptyProvider.Instance || MapProvider == null) { @@ -665,7 +725,16 @@ namespace GMap.NET.WindowsForms if(!img.IsParent) { #if !PocketPC - g.DrawImage(img.Img, Core.tileRect.X, Core.tileRect.Y, Core.tileRectBearing.Width, Core.tileRectBearing.Height); + // change opacity if < 1.0 + if (Opacity < 1) + { + Image im = SetImageOpacity(img.Img, Opacity); + g.DrawImage(im, Core.tileRect.X, Core.tileRect.Y, Core.tileRectBearing.Width, Core.tileRectBearing.Height); + } + else + { + g.DrawImage(img.Img, Core.tileRect.X, Core.tileRect.Y, Core.tileRectBearing.Width, Core.tileRectBearing.Height); + } #else g.DrawImage(img.Img, (int) Core.tileRect.X, (int) Core.tileRect.Y); #endif @@ -676,8 +745,16 @@ namespace GMap.NET.WindowsForms // TODO: move calculations to loader thread System.Drawing.RectangleF srcRect = new System.Drawing.RectangleF((float)(img.Xoff * (img.Img.Width / img.Ix)), (float)(img.Yoff * (img.Img.Height / img.Ix)), (img.Img.Width / img.Ix), (img.Img.Height / img.Ix)); System.Drawing.Rectangle dst = new System.Drawing.Rectangle((int)Core.tileRect.X, (int)Core.tileRect.Y, (int)Core.tileRect.Width, (int)Core.tileRect.Height); - - g.DrawImage(img.Img, dst, srcRect.X, srcRect.Y, srcRect.Width, srcRect.Height, GraphicsUnit.Pixel, TileFlipXYAttributes); + // change opacity if < 1.0 + if (Opacity < 1) + { + Image im = SetImageOpacity(img.Img, Opacity); + g.DrawImage(im, dst, srcRect.X, srcRect.Y, srcRect.Width, srcRect.Height, GraphicsUnit.Pixel, TileFlipXYAttributes); + } + else + { + g.DrawImage(img.Img, dst, srcRect.X, srcRect.Y, srcRect.Width, srcRect.Height, GraphicsUnit.Pixel, TileFlipXYAttributes); + } } #endif } diff --git a/ScoutBase/ScoutBase.Core/SupportFunctions.cs b/ScoutBase/ScoutBase.Core/SupportFunctions.cs index b0f86b0..b05fc1e 100644 --- a/ScoutBase/ScoutBase.Core/SupportFunctions.cs +++ b/ScoutBase/ScoutBase.Core/SupportFunctions.cs @@ -697,25 +697,36 @@ namespace ScoutBase.Core /// /// Gets the creation time of a web resource. /// - /// The address URI of web resource. + /// The address URI of web/file resource. /// Allows redirection of requested source. /// The creation time in UTC if successful. DateTime.MinValue if not. public DateTime GetWebCreationTimeUtc(Uri address, bool allowredirect = true) { - // get the last modified time of the website + // get the last modified time of the website/file // returns DateTime.MinValue if address not found try { + DateTime webcreationtime = DateTime.MinValue; - HttpWebRequest req = (HttpWebRequest)WebRequest.Create(address); - // allow redirect 2017/12/06 DL2ALF - req.AllowAutoRedirect = allowredirect; - using (HttpWebResponse res = (HttpWebResponse)req.GetResponse()) + if (address.IsFile) { - webcreationtime = res.LastModified.ToUniversalTime(); + if (File.Exists(address.LocalPath)) + { + webcreationtime = File.GetLastWriteTimeUtc(address.LocalPath); + } } - Console.WriteLine("[GetWebCreationTime] Getting web creation time from address: " + address + " = " + webcreationtime.ToString("yyyy-MM-dd HH:mm:ss")); - return webcreationtime; + else + { + HttpWebRequest req = (HttpWebRequest)WebRequest.Create(address); + // allow redirect 2017/12/06 DL2ALF + req.AllowAutoRedirect = allowredirect; + using (HttpWebResponse res = (HttpWebResponse)req.GetResponse()) + { + webcreationtime = res.LastModified.ToUniversalTime(); + } + Console.WriteLine("[GetWebCreationTime] Getting web creation time from address: " + address + " = " + webcreationtime.ToString("yyyy-MM-dd HH:mm:ss")); + } + return webcreationtime; } catch (Exception ex) { @@ -726,44 +737,62 @@ namespace ScoutBase.Core private bool DownloadFileFromWeb(string address, string filename, bool allowredirect, bool autounzip, string password = "") { - // donwloads file from a web resource + // donwloads file from a web/file resource try { - // get web cration time - DateTime webcreationtime = GetWebCreationTimeUtc(address, allowredirect); - // download file and check for errors and uri identical to request - // do not use WebClient.Download for this! - var request = (HttpWebRequest)WebRequest.Create(address); - // allow redirect 2017/12/06 DL2ALF - request.AllowAutoRedirect = allowredirect; - request.Method = "GET"; - using (HttpWebResponse response = (HttpWebResponse)request.GetResponse()) + Uri uri = new Uri(address); + if (uri.IsFile) { - HttpStatusCode status = response.StatusCode; - if ((status == HttpStatusCode.OK) && (response.ResponseUri == new Uri(address))) + if (File.Exists(uri.LocalPath)) { - using (var responseStream = response.GetResponseStream()) + File.Copy(uri.LocalPath, filename, true); + if (autounzip && Path.GetExtension(filename).ToLower() == ".zip") { - using (var fileToDownload = new System.IO.FileStream(filename, System.IO.FileMode.Create, System.IO.FileAccess.ReadWrite)) + Console.WriteLine("[DownloadFileFromWeb] Trying to unzip downloaded file: " + filename); + return ZIP.UncompressFile(filename, 60, password); + } + Console.WriteLine("[DownloadFileFromWeb] Downloading file from address finished: " + address); + return true; + } + } + else + { + // get web cration time + DateTime webcreationtime = GetWebCreationTimeUtc(address, allowredirect); + // download file and check for errors and uri identical to request + // do not use WebClient.Download for this! + var request = (HttpWebRequest)WebRequest.Create(address); + // allow redirect 2017/12/06 DL2ALF + request.AllowAutoRedirect = allowredirect; + request.Method = "GET"; + using (HttpWebResponse response = (HttpWebResponse)request.GetResponse()) + { + HttpStatusCode status = response.StatusCode; + if ((status == HttpStatusCode.OK) && (response.ResponseUri == new Uri(address))) + { + using (var responseStream = response.GetResponseStream()) { - responseStream.CopyTo(fileToDownload); + using (var fileToDownload = new System.IO.FileStream(filename, System.IO.FileMode.Create, System.IO.FileAccess.ReadWrite)) + { + responseStream.CopyTo(fileToDownload); + } } } } - } - // set creation time - if (File.Exists(filename)) - { - File.SetCreationTime(filename, webcreationtime); - File.SetLastWriteTime(filename, webcreationtime); - // unzip the file content if enabled - if (autounzip && (Path.GetExtension(filename).ToLower() == ".zip")) + // set creation time + if (File.Exists(filename)) { - Console.WriteLine("[DownloadFileFromWeb] Trying to unzip downloaded file: " + filename); - return ZIP.UncompressFile(filename, 60, password); + File.SetCreationTime(filename, webcreationtime); + File.SetLastWriteTime(filename, webcreationtime); + // unzip the file content if enabled + if (autounzip && (Path.GetExtension(filename).ToLower() == ".zip")) + { + Console.WriteLine("[DownloadFileFromWeb] Trying to unzip downloaded file: " + filename); + return ZIP.UncompressFile(filename, 60, password); + } + Console.WriteLine("[DownloadFileFromWeb] Downloading file from address finished: " + address); + return true; } - Console.WriteLine("[DownloadFileFromWeb] Downloading file from address finished: " + address); - return true; } } catch (Exception ex) diff --git a/ScoutBase/ScoutBase.Elevation/ElevationDatabase.cs b/ScoutBase/ScoutBase.Elevation/ElevationDatabase.cs index d7b7742..f2c9b65 100644 --- a/ScoutBase/ScoutBase.Elevation/ElevationDatabase.cs +++ b/ScoutBase/ScoutBase.Elevation/ElevationDatabase.cs @@ -95,20 +95,30 @@ namespace ScoutBase.Elevation System.Data.SQLite.SQLiteDatabase globe; System.Data.SQLite.SQLiteDatabase srtm3; System.Data.SQLite.SQLiteDatabase srtm1; + System.Data.SQLite.SQLiteDatabase aster3; + System.Data.SQLite.SQLiteDatabase aster1; // tile cache private ElevationTileDesignator globe_tile = null; private ElevationTileDesignator srtm3_tile = null; private ElevationTileDesignator srtm1_tile = null; + private ElevationTileDesignator aster3_tile = null; + private ElevationTileDesignator aster1_tile = null; private OrderedDictionary globe_cache = new OrderedDictionary(); private OrderedDictionary srtm3_cache = new OrderedDictionary(); private OrderedDictionary srtm1_cache = new OrderedDictionary(); + private OrderedDictionary aster3_cache = new OrderedDictionary(); + private OrderedDictionary aster1_cache = new OrderedDictionary(); private int globe_tile_size = 138; private int srtm3_tile_size = 10038; private int srtm1_tile_size = 90038; + private int aster3_tile_size = 10038; + private int aster1_tile_size = 90038; private int globe_cache_count = 0; private int srtm3_cache_count = 0; private int srtm1_cache_count = 0; + private int aster3_cache_count = 0; + private int aster1_cache_count = 0; public ElevationDatabase() { @@ -118,7 +128,7 @@ namespace ScoutBase.Elevation "The basic elevation information is kept unique per 6digit-Maidenhead Locator and is updated periodically from a global web resource.\n" + "The path and horizon information are unique per one oder between two geographical locations.\n" + "These values are (pre-)calculated and stored at runtime.\n" + - "All values are based on a distinct elevation model either GLOBE, SRTM3 or SRTM1."; + "All values are based on a distinct elevation model either GLOBE, SRTM3, SRTM1 or ASTER."; // add table description manually TableDescriptions.Add(ElevationTileDesignator.TableName, "Holds elevation information per 6digit Maidenhead Locator."); TableDescriptions.Add(ElevationPathDesignator.TableName, "Holds elevation path information between two locations."); @@ -130,6 +140,8 @@ namespace ScoutBase.Elevation globe = OpenDatabase("globe.db3", DefaultDatabaseDirectory(), false); srtm3 = OpenDatabase("srtm3.db3", DefaultDatabaseDirectory(), false); srtm1 = OpenDatabase("srtm1.db3", DefaultDatabaseDirectory(), false); + aster3 = OpenDatabase("aster3.db3", DefaultDatabaseDirectory(), false); + aster1 = OpenDatabase("aster1.db3", DefaultDatabaseDirectory(), false); // create tables with schemas if not exist if (!ElevationTileTableExists(ELEVATIONMODEL.GLOBE)) ElevationTileCreateTable(ELEVATIONMODEL.GLOBE); @@ -137,24 +149,40 @@ namespace ScoutBase.Elevation ElevationTileCreateTable(ELEVATIONMODEL.SRTM3); if (!ElevationTileTableExists(ELEVATIONMODEL.SRTM1)) ElevationTileCreateTable(ELEVATIONMODEL.SRTM1); + if (!ElevationTileTableExists(ELEVATIONMODEL.ASTER3)) + ElevationTileCreateTable(ELEVATIONMODEL.ASTER3); + if (!ElevationTileTableExists(ELEVATIONMODEL.ASTER1)) + ElevationTileCreateTable(ELEVATIONMODEL.ASTER1); if (!ElevationPathTableExists(ELEVATIONMODEL.GLOBE)) ElevationPathCreateTable(ELEVATIONMODEL.GLOBE); if (!ElevationPathTableExists(ELEVATIONMODEL.SRTM3)) ElevationPathCreateTable(ELEVATIONMODEL.SRTM3); if (!ElevationPathTableExists(ELEVATIONMODEL.SRTM1)) ElevationPathCreateTable(ELEVATIONMODEL.SRTM1); + if (!ElevationPathTableExists(ELEVATIONMODEL.ASTER3)) + ElevationPathCreateTable(ELEVATIONMODEL.ASTER3); + if (!ElevationPathTableExists(ELEVATIONMODEL.ASTER1)) + ElevationPathCreateTable(ELEVATIONMODEL.ASTER1); if (!ElevationHorizonTableExists(ELEVATIONMODEL.GLOBE)) ElevationHorizonCreateTable(ELEVATIONMODEL.GLOBE); if (!ElevationHorizonTableExists(ELEVATIONMODEL.SRTM3)) ElevationHorizonCreateTable(ELEVATIONMODEL.SRTM3); if (!ElevationHorizonTableExists(ELEVATIONMODEL.SRTM1)) ElevationHorizonCreateTable(ELEVATIONMODEL.SRTM1); + if (!ElevationHorizonTableExists(ELEVATIONMODEL.ASTER3)) + ElevationHorizonCreateTable(ELEVATIONMODEL.ASTER3); + if (!ElevationHorizonTableExists(ELEVATIONMODEL.ASTER1)) + ElevationHorizonCreateTable(ELEVATIONMODEL.ASTER1); if (!LocalObstructionTableExists(ELEVATIONMODEL.GLOBE)) LocalObstructionCreateTable(ELEVATIONMODEL.GLOBE); if (!LocalObstructionTableExists(ELEVATIONMODEL.SRTM3)) LocalObstructionCreateTable(ELEVATIONMODEL.SRTM3); if (!LocalObstructionTableExists(ELEVATIONMODEL.SRTM1)) LocalObstructionCreateTable(ELEVATIONMODEL.SRTM1); + if (!LocalObstructionTableExists(ELEVATIONMODEL.ASTER3)) + LocalObstructionCreateTable(ELEVATIONMODEL.ASTER3); + if (!LocalObstructionTableExists(ELEVATIONMODEL.ASTER1)) + LocalObstructionCreateTable(ELEVATIONMODEL.ASTER1); // set default bounds MinLat = double.MinValue; MinLon = double.MinValue; @@ -167,6 +195,8 @@ namespace ScoutBase.Elevation CloseDatabase(globe); CloseDatabase(srtm3); CloseDatabase(srtm1); + CloseDatabase(aster3); + CloseDatabase(aster1); } private void UpgradeToV1(System.Data.SQLite.SQLiteDatabase db) @@ -216,6 +246,8 @@ namespace ScoutBase.Elevation case ELEVATIONMODEL.GLOBE: return globe; case ELEVATIONMODEL.SRTM3: return srtm3; case ELEVATIONMODEL.SRTM1: return srtm1; + case ELEVATIONMODEL.ASTER3: return aster3; + case ELEVATIONMODEL.ASTER1: return aster1; default: return null; } } @@ -282,6 +314,12 @@ namespace ScoutBase.Elevation case ELEVATIONMODEL.SRTM1: dir = Path.Combine(dir, Properties.Settings.Default.Elevation_SRTM1_DataPath); break; + case ELEVATIONMODEL.ASTER3: + dir = Path.Combine(dir, Properties.Settings.Default.Elevation_ASTER3_DataPath); + break; + case ELEVATIONMODEL.ASTER1: + dir = Path.Combine(dir, Properties.Settings.Default.Elevation_ASTER1_DataPath); + break; } // replace Windows/Linux directory spearator chars dir = dir.Replace('\\', Path.DirectorySeparatorChar); @@ -303,6 +341,10 @@ namespace ScoutBase.Elevation return Properties.Settings.Default.Elevation_SRTM3_UpdateURL; case ELEVATIONMODEL.SRTM1: return Properties.Settings.Default.Elevation_SRTM1_UpdateURL; + case ELEVATIONMODEL.ASTER3: + return Properties.Settings.Default.Elevation_ASTER3_UpdateURL; + case ELEVATIONMODEL.ASTER1: + return Properties.Settings.Default.Elevation_ASTER1_UpdateURL; } return ""; } @@ -318,6 +360,10 @@ namespace ScoutBase.Elevation return Properties.Settings.Default.Elevation_SRTM3_JSONFile; case ELEVATIONMODEL.SRTM1: return Properties.Settings.Default.Elevation_SRTM1_JSONFile; + case ELEVATIONMODEL.ASTER3: + return Properties.Settings.Default.Elevation_ASTER3_JSONFile; + case ELEVATIONMODEL.ASTER1: + return Properties.Settings.Default.Elevation_ASTER1_JSONFile; } return ""; @@ -402,6 +448,8 @@ namespace ScoutBase.Elevation globe_cache_count = (int)((avmem / globe_tile_size < int.MaxValue) ? avmem / globe_tile_size : int.MaxValue); srtm3_cache_count = (int)((avmem / srtm3_tile_size < int.MaxValue) ? avmem / srtm3_tile_size : int.MaxValue); srtm1_cache_count = (int)((avmem / srtm1_tile_size < int.MaxValue) ? avmem / srtm1_tile_size : int.MaxValue); + aster3_cache_count = (int)((avmem / aster3_tile_size < int.MaxValue) ? avmem / aster3_tile_size : int.MaxValue); + aster1_cache_count = (int)((avmem / aster1_tile_size < int.MaxValue) ? avmem / aster1_tile_size : int.MaxValue); } /// @@ -412,6 +460,8 @@ namespace ScoutBase.Elevation globe_cache.Clear(); srtm3_cache.Clear(); srtm1_cache.Clear(); + aster3_cache.Clear(); + aster1_cache.Clear(); } private int GetCacheSize(ELEVATIONMODEL model) @@ -425,6 +475,10 @@ namespace ScoutBase.Elevation return srtm3_cache_count; case ELEVATIONMODEL.SRTM1: return srtm1_cache_count; + case ELEVATIONMODEL.ASTER3: + return aster3_cache_count; + case ELEVATIONMODEL.ASTER1: + return aster1_cache_count; } return 0; } @@ -530,6 +584,10 @@ namespace ScoutBase.Elevation return srtm3_cache; if (model == ELEVATIONMODEL.SRTM1) return srtm1_cache; + if (model == ELEVATIONMODEL.ASTER3) + return aster3_cache; + if (model == ELEVATIONMODEL.ASTER1) + return aster1_cache; return null; } @@ -540,7 +598,11 @@ namespace ScoutBase.Elevation if (model == ELEVATIONMODEL.SRTM3) return srtm3_tile; if (model == ELEVATIONMODEL.SRTM1) - return srtm1_tile; + return aster1_tile; + if (model == ELEVATIONMODEL.ASTER3) + return aster3_tile; + if (model == ELEVATIONMODEL.ASTER1) + return aster1_tile; return null; } @@ -552,6 +614,10 @@ namespace ScoutBase.Elevation srtm3_tile = tile; if (model == ELEVATIONMODEL.SRTM1) srtm1_tile = tile; + if (model == ELEVATIONMODEL.ASTER3) + aster3_tile = tile; + if (model == ELEVATIONMODEL.ASTER1) + aster1_tile = tile; } private ElevationTileDesignator GetElevationTile(ELEVATIONMODEL model, double lat, double lon) @@ -653,6 +719,10 @@ namespace ScoutBase.Elevation return 30; if (model == ELEVATIONMODEL.SRTM3) return 90; + if (model == ELEVATIONMODEL.ASTER1) + return 30; + if (model == ELEVATIONMODEL.ASTER3) + return 90; return 1000; } @@ -980,6 +1050,16 @@ namespace ScoutBase.Elevation #region ElevationPath + public int GetElevationPathAveragePeriod(ELEVATIONMODEL model) + { + if (model == ELEVATIONMODEL.ASTER1) + return 5; + if (model == ELEVATIONMODEL.ASTER3) + return 5; + return 0; + + } + public bool ElevationPathTableExists(ELEVATIONMODEL model, string tablename = "") { // check for table name is null or empty --> use default tablename from type instead @@ -1159,44 +1239,113 @@ namespace ScoutBase.Elevation return ElevationPathCreateFromLatLon(caller, lat1, lon1, gp.Lat, gp.Lon, stepwidth, model); } + + + // simple moving average for elevation path + // the resulting average array is (periods - 1) shorter than the source array + private short[] MovingAverage(short[] values, int periods) + { + // check for sufficient count of values + if (values.Length < periods) + return null; + short[] averages = new short[values.Length - periods + 1]; + double sum = 0; + for (int i = 0; i < values.Length; i++) + if (i < periods) + { + sum += values[i]; + // averages[i] = (short)((i == periods - 1) ? sum / (double)periods : 0); + averages[0] = (short)((i == periods - 1) ? sum / (double)periods : 0); + } + else + { + sum = sum - values[i - periods] + values[i]; + averages[i - periods + 1] = (short)(sum / (double)periods); + } + return averages; + } + public ElevationPathDesignator ElevationPathCreateFromLatLon(BackgroundWorker caller, double lat1, double lon1, double lat2, double lon2, double stepwidth, ELEVATIONMODEL model, bool savetodatabase = true) { // calculate new elevation path // supports abort calculation if called from background worker and cancellation requested // report of status messages and single data points not needed so far ElevationPathDesignator ep = new ElevationPathDesignator(lat1, lon1, lat2, lon2, stepwidth); - double d = 0; + bool tilemissing = false; // convert stepwidth to [km] stepwidth = stepwidth / 1000.0; - // check if elevation database is complete before trying to retrieve elevation path bool complete = this.GetDBStatusBit(model, DATABASESTATUS.COMPLETE) & !this.GetDBStatusBit(model, DATABASESTATUS.ERROR); - bool tilemissing = false; - // create tile for cache - ElevationTileDesignator tile = new ElevationTileDesignator(); - for (int i = 0; i < ep.Count; i++) + int avperiod = GetElevationPathAveragePeriod(model); + // check for any averaging + if (avperiod == 0) { - LatLon.GPoint gp = LatLon.DestinationPoint(lat1, lon1, ep.Bearing12, d); - // get elevation point with status - // tile will be cached locally for subsequent use - short e = GetElevation(model, gp.Lat, gp.Lon, false); - // set elevation point if valid, else set it to 0 - if (e > TileMissingFlag) - ep.Path[i] = e; - else + // no averaging --> create path direct into ep + double d = 0; + // check if elevation database is complete before trying to retrieve elevation path + for (int i = 0; i < ep.Count; i++) { - ep.Path[i] = 0; - // set the tilemissing flag - if (e == TileMissingFlag) - tilemissing = true; - } - d += stepwidth; - // abort calculation if called from background worker and cancellation pending - if (caller != null) - { - if (caller.CancellationPending) - return null; + LatLon.GPoint gp = LatLon.DestinationPoint(lat1, lon1, ep.Bearing12, d); + // get elevation point with status + // tile will be cached locally for subsequent use + short e = GetElevation(model, gp.Lat, gp.Lon, false); + // set elevation point if valid, else set it to 0 + if (e > TileMissingFlag) + { + ep.Path[i] = e; + } + else + { + ep.Path[i] = 0; + // set the tilemissing flag + if (e == TileMissingFlag) + tilemissing = true; + } + d += stepwidth; + // abort calculation if called from background worker and cancellation pending + if (caller != null) + { + if (caller.CancellationPending) + return null; + } } } + else + { + // create raw elevation buffer first and copy the average to ep + short[] raw = new short[ep.Path.Length + avperiod - 1]; + // put the start value at the half of avperiod back in opposite direction + double d = -(avperiod / 2) * stepwidth; + // check if elevation database is complete before trying to retrieve elevation path + for (int i = 0; i < raw.Length; i++) + { + LatLon.GPoint gp = LatLon.DestinationPoint(lat1, lon1, ep.Bearing12, d); + // get elevation point with status + // tile will be cached locally for subsequent use + short e = GetElevation(model, gp.Lat, gp.Lon, false); + // set elevation point if valid, else set it to 0 + if (e > TileMissingFlag) + { + raw[i] = e; + } + else + { + raw[i] = 0; + // set the tilemissing flag + if (e == TileMissingFlag) + tilemissing = true; + } + d += stepwidth; + // abort calculation if called from background worker and cancellation pending + if (caller != null) + { + if (caller.CancellationPending) + return null; + } + } + // calculate average and assign it to ep.Path + ep.Path = MovingAverage(raw, avperiod); + } + // check if database is still complete, could have benn changed during background calculation if (complete) complete = GetDBStatusBit(model, DATABASESTATUS.COMPLETE) & !GetDBStatusBit(model, DATABASESTATUS.ERROR); diff --git a/ScoutBase/ScoutBase.Elevation/ElevationDatabaseUpdater.cs b/ScoutBase/ScoutBase.Elevation/ElevationDatabaseUpdater.cs index 16a77c9..e0d869e 100644 --- a/ScoutBase/ScoutBase.Elevation/ElevationDatabaseUpdater.cs +++ b/ScoutBase/ScoutBase.Elevation/ElevationDatabaseUpdater.cs @@ -296,6 +296,10 @@ namespace ScoutBase.Elevation dt = Properties.Settings.Default.Elevation_SRTM3_TimeStamp; else if ((StartOptions.Model == ELEVATIONMODEL.SRTM1) && (Properties.Settings.Default.Elevation_SRTM1_TimeStamp != null)) dt = Properties.Settings.Default.Elevation_SRTM1_TimeStamp; + else if ((StartOptions.Model == ELEVATIONMODEL.ASTER3) && (Properties.Settings.Default.Elevation_ASTER3_TimeStamp != null)) + dt = Properties.Settings.Default.Elevation_ASTER3_TimeStamp; + else if ((StartOptions.Model == ELEVATIONMODEL.ASTER1) && (Properties.Settings.Default.Elevation_ASTER1_TimeStamp != null)) + dt = Properties.Settings.Default.Elevation_ASTER1_TimeStamp; // change kind to UTC as it is not specified in settings dt = DateTime.SpecifyKind(dt, DateTimeKind.Utc); return dt; @@ -309,6 +313,10 @@ namespace ScoutBase.Elevation return Properties.Settings.Default.Elevation_SRTM3_Status; else if (StartOptions.Model == ELEVATIONMODEL.SRTM1) return Properties.Settings.Default.Elevation_SRTM1_Status; + else if (StartOptions.Model == ELEVATIONMODEL.ASTER3) + return Properties.Settings.Default.Elevation_ASTER3_Status; + else if (StartOptions.Model == ELEVATIONMODEL.ASTER1) + return Properties.Settings.Default.Elevation_ASTER1_Status; return DATABASESTATUS.UNDEFINED; } @@ -321,6 +329,10 @@ namespace ScoutBase.Elevation dt = Properties.Settings.Default.Elevation_SRTM3_Update_TimeStamp; else if (StartOptions.Model == ELEVATIONMODEL.SRTM1) dt = Properties.Settings.Default.Elevation_SRTM1_Update_TimeStamp; + else if (StartOptions.Model == ELEVATIONMODEL.ASTER3) + dt = Properties.Settings.Default.Elevation_ASTER3_Update_TimeStamp; + else if (StartOptions.Model == ELEVATIONMODEL.ASTER1) + dt = Properties.Settings.Default.Elevation_ASTER1_Update_TimeStamp; // change kind to UTC as it is not specified in settings dt = DateTime.SpecifyKind(dt, DateTimeKind.Utc); return dt; @@ -334,6 +346,10 @@ namespace ScoutBase.Elevation Properties.Settings.Default.Elevation_SRTM3_TimeStamp = GetDatabaseTimeStamp(); else if (StartOptions.Model == ELEVATIONMODEL.SRTM1) Properties.Settings.Default.Elevation_SRTM1_TimeStamp = GetDatabaseTimeStamp(); + else if (StartOptions.Model == ELEVATIONMODEL.ASTER3) + Properties.Settings.Default.Elevation_ASTER3_TimeStamp = GetDatabaseTimeStamp(); + else if (StartOptions.Model == ELEVATIONMODEL.ASTER1) + Properties.Settings.Default.Elevation_ASTER1_TimeStamp = GetDatabaseTimeStamp(); } private void SaveDatabaseStatus() @@ -344,6 +360,10 @@ namespace ScoutBase.Elevation Properties.Settings.Default.Elevation_SRTM3_Status = GetDatabaseStatus(); else if (StartOptions.Model == ELEVATIONMODEL.SRTM1) Properties.Settings.Default.Elevation_SRTM1_Status = GetDatabaseStatus(); + else if (StartOptions.Model == ELEVATIONMODEL.ASTER3) + Properties.Settings.Default.Elevation_ASTER3_Status = GetDatabaseStatus(); + else if (StartOptions.Model == ELEVATIONMODEL.ASTER1) + Properties.Settings.Default.Elevation_ASTER1_Status = GetDatabaseStatus(); } private void SaveUpdateTimeStamp() @@ -354,6 +374,10 @@ namespace ScoutBase.Elevation Properties.Settings.Default.Elevation_SRTM3_Update_TimeStamp = GetUpdateTimeStamp(); else if (StartOptions.Model == ELEVATIONMODEL.SRTM1) Properties.Settings.Default.Elevation_SRTM1_Update_TimeStamp = GetUpdateTimeStamp(); + else if (StartOptions.Model == ELEVATIONMODEL.ASTER3) + Properties.Settings.Default.Elevation_ASTER3_Update_TimeStamp = GetUpdateTimeStamp(); + else if (StartOptions.Model == ELEVATIONMODEL.ASTER1) + Properties.Settings.Default.Elevation_ASTER1_Update_TimeStamp = GetUpdateTimeStamp(); } private void SaveBounds() diff --git a/ScoutBase/ScoutBase.Elevation/ElevationModel.cs b/ScoutBase/ScoutBase.Elevation/ElevationModel.cs index 3731ec4..1d4ae7b 100644 --- a/ScoutBase/ScoutBase.Elevation/ElevationModel.cs +++ b/ScoutBase/ScoutBase.Elevation/ElevationModel.cs @@ -10,6 +10,8 @@ namespace ScoutBase.Elevation NONE = 0, GLOBE = 1, SRTM3 = 2, - SRTM1 = 3 + SRTM1 = 3, + ASTER3 = 4, + ASTER1 = 5 } } diff --git a/ScoutBase/ScoutBase.Elevation/Properties/Settings.Designer.cs b/ScoutBase/ScoutBase.Elevation/Properties/Settings.Designer.cs index 3293600..d096c75 100644 --- a/ScoutBase/ScoutBase.Elevation/Properties/Settings.Designer.cs +++ b/ScoutBase/ScoutBase.Elevation/Properties/Settings.Designer.cs @@ -334,5 +334,149 @@ namespace ScoutBase.Elevation.Properties { this["MinLon"] = value; } } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("ASTER3")] + public string Elevation_ASTER3_DataPath { + get { + return ((string)(this["Elevation_ASTER3_DataPath"])); + } + set { + this["Elevation_ASTER3_DataPath"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("file://E:\\\\ElevationData\\\\ASTER\\\\V3\\\\ASTER3\\\\Locs")] + public string Elevation_ASTER3_UpdateURL { + get { + return ((string)(this["Elevation_ASTER3_UpdateURL"])); + } + set { + this["Elevation_ASTER3_UpdateURL"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("aster3.json")] + public string Elevation_ASTER3_JSONFile { + get { + return ((string)(this["Elevation_ASTER3_JSONFile"])); + } + set { + this["Elevation_ASTER3_JSONFile"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("1970-01-01")] + public global::System.DateTime Elevation_ASTER3_TimeStamp { + get { + return ((global::System.DateTime)(this["Elevation_ASTER3_TimeStamp"])); + } + set { + this["Elevation_ASTER3_TimeStamp"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("1970-01-01")] + public global::System.DateTime Elevation_ASTER3_Update_TimeStamp { + get { + return ((global::System.DateTime)(this["Elevation_ASTER3_Update_TimeStamp"])); + } + set { + this["Elevation_ASTER3_Update_TimeStamp"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("ASTER1")] + public string Elevation_ASTER1_DataPath { + get { + return ((string)(this["Elevation_ASTER1_DataPath"])); + } + set { + this["Elevation_ASTER1_DataPath"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("file://E:\\\\ElevationData\\\\ASTER\\\\V3\\\\ASTER1\\\\Locs")] + public string Elevation_ASTER1_UpdateURL { + get { + return ((string)(this["Elevation_ASTER1_UpdateURL"])); + } + set { + this["Elevation_ASTER1_UpdateURL"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("aster1.json")] + public string Elevation_ASTER1_JSONFile { + get { + return ((string)(this["Elevation_ASTER1_JSONFile"])); + } + set { + this["Elevation_ASTER1_JSONFile"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("1970-01-01")] + public global::System.DateTime Elevation_ASTER1_TimeStamp { + get { + return ((global::System.DateTime)(this["Elevation_ASTER1_TimeStamp"])); + } + set { + this["Elevation_ASTER1_TimeStamp"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("1970-01-01")] + public global::System.DateTime Elevation_ASTER1_Update_TimeStamp { + get { + return ((global::System.DateTime)(this["Elevation_ASTER1_Update_TimeStamp"])); + } + set { + this["Elevation_ASTER1_Update_TimeStamp"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("UNDEFINED")] + public global::System.Data.SQLite.DATABASESTATUS Elevation_ASTER3_Status { + get { + return ((global::System.Data.SQLite.DATABASESTATUS)(this["Elevation_ASTER3_Status"])); + } + set { + this["Elevation_ASTER3_Status"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("UNDEFINED")] + public global::System.Data.SQLite.DATABASESTATUS Elevation_ASTER1_Status { + get { + return ((global::System.Data.SQLite.DATABASESTATUS)(this["Elevation_ASTER1_Status"])); + } + set { + this["Elevation_ASTER1_Status"] = value; + } + } } } diff --git a/ScoutBase/ScoutBase.Elevation/Properties/Settings.settings b/ScoutBase/ScoutBase.Elevation/Properties/Settings.settings index 2c75ad6..dffd39f 100644 --- a/ScoutBase/ScoutBase.Elevation/Properties/Settings.settings +++ b/ScoutBase/ScoutBase.Elevation/Properties/Settings.settings @@ -80,5 +80,41 @@ 0 + + ASTER3 + + + file://E:\\ElevationData\\ASTER\\V3\\ASTER3\\Locs + + + aster3.json + + + 1970-01-01 + + + 1970-01-01 + + + ASTER1 + + + file://E:\\ElevationData\\ASTER\\V3\\ASTER1\\Locs + + + aster1.json + + + 1970-01-01 + + + 1970-01-01 + + + UNDEFINED + + + UNDEFINED + \ No newline at end of file diff --git a/ScoutBase/ScoutBase.Elevation/app.config b/ScoutBase/ScoutBase.Elevation/app.config index 16bdd60..9054f4a 100644 --- a/ScoutBase/ScoutBase.Elevation/app.config +++ b/ScoutBase/ScoutBase.Elevation/app.config @@ -87,6 +87,42 @@ 0 + + ASTER3 + + + file://E:\\ElevationData\\ASTER\\V3\\ASTER3\\Locs + + + aster3.json + + + 1970-01-01 + + + 1970-01-01 + + + ASTER1 + + + file://E:\\ElevationData\\ASTER\\V3\\ASTER1\\Locs + + + aster1.json + + + 1970-01-01 + + + 1970-01-01 + + + UNDEFINED + + + UNDEFINED + diff --git a/ScoutBase/ScoutBase.Propagation/PropagationDatabase.cs b/ScoutBase/ScoutBase.Propagation/PropagationDatabase.cs index fe75075..cb230ff 100644 --- a/ScoutBase/ScoutBase.Propagation/PropagationDatabase.cs +++ b/ScoutBase/ScoutBase.Propagation/PropagationDatabase.cs @@ -80,6 +80,8 @@ namespace ScoutBase.Propagation System.Data.SQLite.SQLiteDatabase globe; System.Data.SQLite.SQLiteDatabase srtm3; System.Data.SQLite.SQLiteDatabase srtm1; + System.Data.SQLite.SQLiteDatabase aster3; + System.Data.SQLite.SQLiteDatabase aster1; public PropagationDatabase() { @@ -87,7 +89,7 @@ namespace ScoutBase.Propagation Name = "ScoutBase Propagation Database"; Description = "The Scoutbase Propagation Database is containing propagation path and horizon information.\n" + "The info is unique for one single or between two geographical locations, heights, frequency, F1-Clearance and calculation stepwidth.\n" + - "All calculations are based on a distinct elevation model GLOBE, SRTM3 or SRTM1.\n" + + "All calculations are based on a distinct elevation model GLOBE, SRTM3, SRTM1 or ASTER.\n" + "All values are (pre-)calculated and stored at runtime."; // add table description manually TableDescriptions.Add(PropagationPathDesignator.TableName, "Holds propagation path information."); @@ -95,6 +97,8 @@ namespace ScoutBase.Propagation globe = OpenDatabase("globe.db3", DefaultDatabaseDirectory(), Properties.Settings.Default.Database_InMemory); srtm3 = OpenDatabase("srtm3.db3", DefaultDatabaseDirectory(), Properties.Settings.Default.Database_InMemory); srtm1 = OpenDatabase("srtm1.db3", DefaultDatabaseDirectory(), Properties.Settings.Default.Database_InMemory); + aster3 = OpenDatabase("aster3.db3", DefaultDatabaseDirectory(), Properties.Settings.Default.Database_InMemory); + aster1 = OpenDatabase("aster1.db3", DefaultDatabaseDirectory(), Properties.Settings.Default.Database_InMemory); // create tables with schemas if not exist // create tables with schemas if not exist if (!PropagationPathTableExists(ELEVATIONMODEL.GLOBE)) @@ -103,12 +107,20 @@ namespace ScoutBase.Propagation PropagationPathCreateTable(ELEVATIONMODEL.SRTM3); if (!PropagationPathTableExists(ELEVATIONMODEL.SRTM1)) PropagationPathCreateTable(ELEVATIONMODEL.SRTM1); + if (!PropagationPathTableExists(ELEVATIONMODEL.ASTER3)) + PropagationPathCreateTable(ELEVATIONMODEL.ASTER3); + if (!PropagationPathTableExists(ELEVATIONMODEL.ASTER1)) + PropagationPathCreateTable(ELEVATIONMODEL.ASTER1); if (!PropagationHorizonTableExists(ELEVATIONMODEL.GLOBE)) PropagationHorizonCreateTable(ELEVATIONMODEL.GLOBE); if (!PropagationHorizonTableExists(ELEVATIONMODEL.SRTM3)) PropagationHorizonCreateTable(ELEVATIONMODEL.SRTM3); if (!PropagationHorizonTableExists(ELEVATIONMODEL.SRTM1)) PropagationHorizonCreateTable(ELEVATIONMODEL.SRTM1); + if (!PropagationHorizonTableExists(ELEVATIONMODEL.ASTER3)) + PropagationHorizonCreateTable(ELEVATIONMODEL.ASTER3); + if (!PropagationHorizonTableExists(ELEVATIONMODEL.ASTER1)) + PropagationHorizonCreateTable(ELEVATIONMODEL.ASTER1); // set nearfield suppression to 0 NearFieldSuppression = 0; } @@ -118,6 +130,8 @@ namespace ScoutBase.Propagation CloseDatabase(globe); CloseDatabase(srtm3); CloseDatabase(srtm1); + CloseDatabase(aster3); + CloseDatabase(aster1); } public System.Data.SQLite.SQLiteDatabase GetPropagationDatabase(ELEVATIONMODEL model) @@ -127,6 +141,8 @@ namespace ScoutBase.Propagation case ELEVATIONMODEL.GLOBE: return globe; case ELEVATIONMODEL.SRTM3: return srtm3; case ELEVATIONMODEL.SRTM1: return srtm1; + case ELEVATIONMODEL.ASTER3: return aster3; + case ELEVATIONMODEL.ASTER1: return aster1; default: return null; } }