diff --git a/.gitignore b/.gitignore
index 4e81f66..a07baf9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,12 @@
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
+# Exclude internal projects
+
+AirScoutDatabaseManager/
+ElevationTileGenerator/
+HorizonGenerator/
+
# User-specific files
*.suo
*.user
diff --git a/AirScout.PlaneFeeds.Plugin.OpenSky/AirScout.PlaneFeeds.Plugin.OpenSky.csproj b/AirScout.PlaneFeeds.Plugin.OpenSky/AirScout.PlaneFeeds.Plugin.OpenSky.csproj
new file mode 100644
index 0000000..29874c2
--- /dev/null
+++ b/AirScout.PlaneFeeds.Plugin.OpenSky/AirScout.PlaneFeeds.Plugin.OpenSky.csproj
@@ -0,0 +1,83 @@
+
+
+
+
+
+ Debug
+ AnyCPU
+ {23F584DB-EB5E-452D-B49F-7C1CABB713FF}
+ Library
+ Properties
+ AirScout.PlaneFeeds.Plugin.OpenSky
+ AirScout.PlaneFeeds.Plugin.OpenSky
+ v4.0
+ 512
+ true
+
+
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ True
+ True
+ Settings.settings
+
+
+
+
+ {36945dbd-96c8-41e7-9168-f83c42e67af3}
+ AirScout.PlaneFeeds.Plugin
+ False
+
+
+
+
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
+
+ Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Verwenden Sie die Wiederherstellung von NuGet-Paketen, um die fehlenden Dateien herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}".
+
+
+
+
+
+
+ copy Z:\CSharp\AirScout\AirScout\AirScout.PlaneFeeds.Plugin.OpenSky\bin\Debug\ILMerge\*.dll Z:\CSharp\AirScout\AirScout\AirScout\bin\Debug\ /Y
+
+
\ No newline at end of file
diff --git a/AirScout.PlaneFeeds.Plugin.OpenSky/OpenSky.cs b/AirScout.PlaneFeeds.Plugin.OpenSky/OpenSky.cs
new file mode 100644
index 0000000..a9b123d
--- /dev/null
+++ b/AirScout.PlaneFeeds.Plugin.OpenSky/OpenSky.cs
@@ -0,0 +1,648 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Reflection;
+using System.ComponentModel.Composition;
+using System.ComponentModel;
+using System.Globalization;
+using AirScout.PlaneFeeds.Plugin.MEFContract;
+using System.Diagnostics;
+using System.Net;
+using System.IO;
+using System.Web.Script.Serialization;
+using System.Xml.Linq;
+using System.Xml.Serialization;
+using System.Collections;
+
+//TODO: Rename namespace to a name of your choice
+namespace AirScout.PlaneFeeds.Plugin.OpenSky
+{
+
+ //TODO: Rename settings class to a name of your choice
+ // Add any persistant setting here
+ // Use [Browsable(true/false)] to present the setting to the user and allow changes or not
+ // Use [CategoryAttribute(")] to set a default value for this setting
+ // Use [XmlIgnore] if you don't want this setting to be ex-/imported, but stiil stored in settings file
+ // Example:
+ // [CategoryAttribute("Web Feed")]
+ // [DescriptionAttribute("Timeout for loading the site.")]
+ // [DefaultValue(30)]
+ // [XmlIgnore]
+ // public int Timeout { get; set; }
+
+
+ ///
+ /// Keeps all persistant settings of plugin
+ ///
+ public class OpenSkySettings
+ {
+ [Browsable(false)]
+ [DefaultValue("")]
+ [XmlIgnore]
+ public string DisclaimerAccepted { get; set; }
+
+ [Browsable(true)]
+ [CategoryAttribute("Web Feed")]
+ [DescriptionAttribute("Save downloaded JSON to file")]
+ [DefaultValue(false)]
+ [XmlIgnore]
+ public bool SaveToFile { get; set; }
+
+ [Browsable(true)]
+ [CategoryAttribute("Web Feed")]
+ [DescriptionAttribute("Base URL for website.")]
+ [DefaultValue("http://opensky-network.org/api/states/all?lamin=%MINLAT%&lomin=%MINLON%&lamax=%MAXLAT%&lomax=%MAXLON%")]
+ public string URL { get; set; }
+
+ [Browsable(true)]
+ [CategoryAttribute("Web Feed")]
+ [DescriptionAttribute("Timeout for loading the site.")]
+ [DefaultValue(60)]
+ [XmlIgnore]
+ public int Timeout { get; set; }
+
+
+ public OpenSkySettings()
+ {
+ Default();
+ Load(true);
+ // TODO:
+ }
+
+ // Methods für Load/Dave/Default, don't change!
+
+ #region Load/Save/Default
+
+ ///
+ /// Sets all properties to their default value according to the [DefaultValue=] attribute
+ ///
+ public void Default()
+ {
+ // set all properties to their default values according to definition in [DeafultValue=]
+ foreach (var p in this.GetType().GetProperties())
+ {
+ try
+ {
+ // initialize all properties with default value if set
+ if (Attribute.IsDefined(p, typeof(DefaultValueAttribute)))
+ {
+ p.SetValue(this, ((DefaultValueAttribute)Attribute.GetCustomAttribute(
+ p, typeof(DefaultValueAttribute)))?.Value, null);
+ }
+ }
+ catch (Exception ex)
+ {
+ Console.WriteLine("[" + this.GetType().Name + "]: Cannot set default value of: " + p.Name + ", " + ex.Message);
+ }
+ }
+ }
+
+ ///
+ /// Loads settings from a XML-formatted configuration file into settings.
+ ///
+ /// If true, ignore the [XmlIgnore] attribute, e.g. load all settings available in the file.
If false, load only settings without [XmlIgore] attrbute.
+ /// The filename of the settings file.
+ public void Load(bool loadall, string filename = "")
+ {
+ // use standard filename if empty
+ // be careful because Linux file system is case sensitive
+ if (String.IsNullOrEmpty(filename))
+ filename = new Uri(Assembly.GetExecutingAssembly().GetName().CodeBase.Replace(".dll", ".cfg").Replace(".DLL", ".CFG")).LocalPath;
+ // do nothing if file not exists
+ if (!File.Exists(filename))
+ return;
+ try
+ {
+ string xml = "";
+ using (StreamReader sr = new StreamReader(File.OpenRead(filename)))
+ {
+ xml = sr.ReadToEnd();
+ }
+ XDocument xdoc = XDocument.Parse(xml);
+ PropertyInfo[] properties = this.GetType().GetProperties();
+ foreach (PropertyInfo p in properties)
+ {
+ if (!loadall)
+ {
+ // check on XmlIgnore attribute, skip if set
+ object[] attr = p.GetCustomAttributes(typeof(XmlIgnoreAttribute), false);
+ if (attr.Length > 0)
+ continue;
+ }
+ try
+ {
+ // get matching element
+ XElement typenode = xdoc.Element(this.GetType().Name);
+ if (typenode != null)
+ {
+ XElement element = typenode.Element(p.Name);
+ if (element != null)
+ p.SetValue(this, Convert.ChangeType(element.Value, p.PropertyType), null);
+ }
+ }
+ catch (Exception ex)
+ {
+ Console.WriteLine("[" + this.GetType().Name + "]: Error while loading property[" + p.Name + " from " + filename + ", " + ex.Message);
+ }
+ }
+
+ }
+ catch (Exception ex)
+ {
+ Console.WriteLine("[" + this.GetType().Name + "]: Cannot load settings from " + filename + ", " + ex.Message);
+ }
+ }
+
+ ///
+ /// Saves settings from settings into a XML-formatted configuration file
+ ///
+ /// If true, ignore the [XmlIgnore] attribute, e.g. save all settings.
If false, save only settings without [XmlIgore] attrbute.
+ /// The filename of the settings file.
+ public void Save(bool saveall, string filename = "")
+ {
+ // use standard filename if empty
+ // be careful because Linux file system is case sensitive
+ if (String.IsNullOrEmpty(filename))
+ filename = new Uri(Assembly.GetExecutingAssembly().GetName().CodeBase.Replace(".dll", ".cfg").Replace(".DLL", ".CFG")).LocalPath;
+ XmlAttributeOverrides overrides = new XmlAttributeOverrides();
+ if (saveall)
+ {
+ // ovverride the XmlIgnore attributes to get all serialized
+ PropertyInfo[] properties = this.GetType().GetProperties();
+ foreach (PropertyInfo p in properties)
+ {
+ XmlAttributes attribs = new XmlAttributes { XmlIgnore = false };
+ overrides.Add(this.GetType(), p.Name, attribs);
+ }
+ }
+ try
+ {
+ using (StreamWriter sw = new StreamWriter(File.Create(filename)))
+ {
+ XmlSerializer s = new XmlSerializer(this.GetType(), overrides);
+ s.Serialize(sw, this);
+ }
+ }
+ catch (Exception ex)
+ {
+ throw new InvalidOperationException("[" + this.GetType().Name + "]: Cannot save settings to " + filename + ", " + ex.Message);
+ }
+ }
+
+ }
+
+ #endregion
+
+
+ //TODO: Rename plugin class to a name of yout choice
+
+ ///
+ /// Holds the plane feed plugin class
+ ///
+ [Export(typeof(IPlaneFeedPlugin))]
+ [ExportMetadata("Name", "PlaneFeedPlugin")]
+ public class OpenSkyPlugin : IPlaneFeedPlugin
+ {
+ private OpenSkySettings Settings = new OpenSkySettings();
+
+ // start of interface
+
+ //TODO: Change return values so that they represent plugin's functionality
+ #region Interface
+
+ public string Name
+ {
+ get
+ {
+ return "[WebFeed] OpenSky";
+ }
+ }
+ public string Version
+ {
+ get
+ {
+ return Assembly.GetExecutingAssembly().GetName().Version.ToString();
+ }
+ }
+
+ public string Info
+ {
+ get
+ {
+ return "Web feed from the OpenSky Network.\n" +
+ "For details see https://opensky-network.org.\n\n" +
+ "As this is a community network, please consider to run a personal ADSB-receiver and to contribute your data to this network.\n\n" +
+ "This webfeed forces TLS1.2 transport layer security. Though this plugin is compiled for .NET4.0 it needs .NET4.5 or higher installed on this machine to work.\n\n" +
+ "This webfeed will probably not work on early Windows XP and Linux/Mono systems";
+ }
+ }
+ public bool HasSettings
+ {
+ get
+ {
+ return true;
+ }
+ }
+
+ public bool CanImport
+ {
+ get
+ {
+ return false;
+ }
+ }
+
+ public bool CanExport
+ {
+ get
+ {
+ return false;
+ }
+ }
+
+ public string Disclaimer
+ {
+ get
+ {
+ return "";
+ }
+ }
+
+ public string DisclaimerAccepted
+ {
+ get
+ {
+ return Settings.DisclaimerAccepted;
+ }
+ set
+ {
+ Settings.DisclaimerAccepted = value;
+ }
+ }
+
+ public void ResetSettings()
+ {
+ Settings.Default();
+ }
+
+ public void LoadSettings()
+ {
+ Settings.Load(true);
+ }
+
+ public void SaveSettings()
+ {
+ Settings.Save(true);
+ }
+
+ public object GetSettings()
+ {
+ return this.Settings;
+ }
+
+ public void ImportSettings()
+ {
+ // nothing to do
+ }
+
+ public void ExportSettings()
+ {
+ // nothing to do
+ }
+
+ public void Start(PlaneFeedPluginArgs args)
+ {
+ // add code for startup here
+ }
+
+ public PlaneFeedPluginPlaneInfoList GetPlanes(PlaneFeedPluginArgs args)
+ {
+ // intialize variables
+ VarConverter VC = new VarConverter();
+ VC.AddVar("APPDIR", args.AppDirectory);
+ VC.AddVar("DATADIR", args.AppDataDirectory);
+ VC.AddVar("LOGDIR", args.LogDirectory);
+ VC.AddVar("DATABASEDIR", args.DatabaseDirectory);
+ VC.AddVar("MINLAT", args.MinLat);
+ VC.AddVar("MAXLAT", args.MaxLat);
+ VC.AddVar("MINLON", args.MinLon);
+ VC.AddVar("MAXLON", args.MaxLon);
+ VC.AddVar("MINALTM", args.MinAlt);
+ VC.AddVar("MAXALTM", args.MaxAlt);
+ VC.AddVar("MINALTFT", (int)UnitConverter.m_ft((double)args.MinAlt));
+ VC.AddVar("MAXALTFT", (int)UnitConverter.m_ft((double)args.MaxAlt));
+ // initialize plane info list
+ PlaneFeedPluginPlaneInfoList planes = new PlaneFeedPluginPlaneInfoList();
+ string json = "";
+ // calculate url and get json
+ String url = VC.ReplaceAllVars(Settings.URL);
+ Console.WriteLine("[" + this.GetType().Name + "]: Creating web request: " + url);
+ // this will only run on .NET 4.0 if you have installed .NET 4.5 or later frameworks on your machine!
+ ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;
+ HttpWebRequest webrequest = (HttpWebRequest)HttpWebRequest.Create(url);
+ webrequest.Timeout = Settings.Timeout * 1000;
+ webrequest.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0";
+ webrequest.Accept = "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8";
+ Console.WriteLine("[" + this.GetType().Name + "]: Getting web response");
+ HttpWebResponse webresponse = (HttpWebResponse)webrequest.GetResponse();
+ Console.WriteLine("[" + this.GetType().Name + "]: Reading stream");
+ using (StreamReader sr = new StreamReader(webresponse.GetResponseStream()))
+ {
+ json = sr.ReadToEnd();
+ }
+ // save raw data to file if enabled
+ if (Settings.SaveToFile)
+ {
+ using (StreamWriter sw = new StreamWriter(args.TmpDirectory + Path.DirectorySeparatorChar + this.GetType().Name + "_" + DateTime.UtcNow.ToString("yyyy-MM-dd HH_mm_ss") + ".json"))
+ {
+ sw.WriteLine(json);
+ }
+ }
+ Console.WriteLine("[" + this.GetType().Name + "]: Analyzing data");
+ JavaScriptSerializer js = new JavaScriptSerializer();
+ dynamic root = js.Deserialize(json);
+ try
+ {
+ // analyze json string for planes data
+ // get the planes position list
+ var aclist = root["states"];
+ foreach (var ac in aclist)
+ {
+ try
+ {
+ // different handling of reading JSON between Windows (Array) & Linux (ArrayList)
+ // access to data values itself is the same
+ int len = 0;
+ if (ac.GetType() == typeof(ArrayList))
+ {
+ len = ac.Count;
+ }
+ else if (ac.GetType() == typeof(Object[]))
+ {
+ len = ac.Length;
+ }
+ // skip if too few fields in record
+ if (len < 17)
+ continue;
+ PlaneFeedPluginPlaneInfo plane = new PlaneFeedPluginPlaneInfo();
+ // get hex first
+ plane.Hex = ReadPropertyString(ac, 0).ToUpper();
+ // get callsign
+ plane.Call = ReadPropertyString(ac, 1);
+ // get position
+ plane.Lon = ReadPropertyDouble(ac, 5);
+ plane.Lat = ReadPropertyDouble(ac, 6);
+ // get altitude (provided in m --> convert to ft)
+ plane.Alt = UnitConverter.m_ft(ReadPropertyDouble(ac, 13));
+ // get track
+ plane.Track = ReadPropertyDouble(ac, 10);
+ // get speed (provided in m/s --> convert to kts)
+ plane.Speed = UnitConverter.ms_kts(ReadPropertyDouble(ac, 9));
+ // registration is not provided
+ plane.Reg = "";
+ // get position timestamp in sec
+ int l = ReadPropertyInt(ac, 3);
+ if (l != int.MinValue)
+ {
+ DateTime timestamp = new System.DateTime(1970, 1, 1, 0, 0, 0, 0);
+ timestamp = timestamp.AddSeconds(l);
+ plane.Time = timestamp;
+ }
+ else
+ {
+ // skip plane if no valid timestamp found
+ continue;
+ }
+ // get type info
+ plane.Type = ReadPropertyString(ac, 5);
+ planes.Add(plane);
+ }
+ catch (Exception ex)
+ {
+ Console.WriteLine("[" + System.Reflection.MethodBase.GetCurrentMethod().Name + "]" + ex.Message);
+ }
+ }
+ }
+ catch (Exception ex)
+ {
+ // do nothing if property is not found
+ }
+ Console.WriteLine("[" + this.GetType().Name + "]: Returning " + planes.Count + " planes");
+ return planes;
+ }
+
+ public void Stop(PlaneFeedPluginArgs args)
+ {
+ // add code for stopping here
+ }
+
+ #endregion
+
+ // End of interface
+
+
+ // ************************************* Helpers ****************************************************
+
+ [System.Diagnostics.DebuggerNonUserCode]
+ private string ReadPropertyString(dynamic o, int propertyindex)
+ {
+ string s = null;
+ try
+ {
+ s = o[propertyindex];
+ }
+ catch
+ {
+ // do nothing if something went wrong
+ }
+ return s;
+ }
+
+ [System.Diagnostics.DebuggerNonUserCode]
+ private int ReadPropertyInt(dynamic o, int propertyindex)
+ {
+ int i = int.MinValue;
+ double d = ReadPropertyDouble(o, propertyindex);
+ if ((d != double.MinValue) && (d >= int.MinValue) && (d <= int.MaxValue))
+ i = (int)d;
+ return i;
+ }
+
+ [System.Diagnostics.DebuggerNonUserCode]
+ private double ReadPropertyDouble(dynamic o, int propertyindex)
+ {
+ double d = double.MinValue;
+ try
+ {
+ string s = o[propertyindex].ToString(CultureInfo.InvariantCulture);
+ d = double.Parse(s, CultureInfo.InvariantCulture);
+ }
+ catch
+ {
+ // do nothing if something went wrong
+ }
+ return d;
+ }
+
+ [System.Diagnostics.DebuggerNonUserCode]
+ private long ReadPropertyLong(dynamic o, int propertyindex)
+ {
+ long l = long.MinValue;
+ try
+ {
+ l = long.Parse(o[propertyindex].ToString());
+ }
+ catch
+ {
+ // do nothing if something went wrong
+ }
+ return l;
+ }
+
+ [System.Diagnostics.DebuggerNonUserCode]
+ private bool ReadPropertyBool(dynamic o, int propertyindex)
+ {
+ bool b = false;
+ try
+ {
+ string s = o[propertyindex].ToString();
+ b = s.ToLower() == "true";
+ }
+ catch
+ {
+ // do nothing if something went wrong
+ }
+ return b;
+ }
+
+ }
+
+ public static class UnitConverter
+ {
+ public static double ft_m(double feet)
+ {
+ return feet / 3.28084;
+ }
+
+ public static double m_ft(double m)
+ {
+ return m * 3.28084;
+ }
+
+ public static double kts_kmh(double kts)
+ {
+ return kts * 1.852;
+ }
+
+ public static double kmh_kts(double kmh)
+ {
+ return kmh / 1.852;
+ }
+
+ public static double ms_kts(double ms)
+ {
+ return ms * 3.6 / 1.852;
+ }
+
+ public static double km_mi(double km)
+ {
+ return km * 1.609;
+ }
+
+ public static double mi_km(double mi)
+ {
+ return mi / 1.609;
+ }
+ }
+
+ public class VarConverter : Dictionary
+ {
+ public readonly char VarSeparator = '%';
+
+ public void AddVar(string var, object value)
+ {
+ // adds a new var<>value pair to dictionary
+ object o;
+ if (this.TryGetValue(var, out o))
+ {
+ // item found --> update value
+ o = value;
+ }
+ else
+ {
+ // item not found --> add new
+ this.Add(var, value);
+ }
+ }
+
+ public object GetValue(string var)
+ {
+ // finds a var in dictionary and returns its value
+ object o;
+ if (this.TryGetValue(var, out o))
+ {
+ // item found --> return value
+ return o;
+ }
+ // item not found --> return null
+ return null;
+ }
+
+ public string ReplaceAllVars(string s)
+ {
+ // check for var separotors first
+ if (s.Contains(VarSeparator))
+ {
+ // OK, string is containing vars --> crack the string first and replace vars
+ try
+ {
+ string[] a = s.Split(VarSeparator);
+ // as we are always using a pair of separators the length of a[] must be odd
+ if (a.Length % 2 == 0)
+ throw new ArgumentException("Number of separators is not an even number.");
+ // create new string and replace all vars (on odd indices)
+ s = "";
+ for (int i = 0; i < a.Length; i++)
+ {
+ if (i % 2 == 0)
+ {
+ // cannot be not a var on that position
+ s = s + a[i];
+ }
+ else
+ {
+ // var identifier: upper the string and try to convert
+ a[i] = a[i].ToUpper();
+ object o;
+ if (this.TryGetValue(a[i], out o))
+ {
+ // convert floating points with invariant culture info
+ if (o.GetType() == typeof(double))
+ s = s + ((double)o).ToString(CultureInfo.InvariantCulture);
+ else if (o.GetType() == typeof(float))
+ s = s + ((float)o).ToString(CultureInfo.InvariantCulture);
+ else
+ s = s + o.ToString();
+ }
+ else
+ {
+ throw new ArgumentException("Var identifier not found: " + a[i]);
+ }
+ }
+ }
+ }
+ catch (Exception ex)
+ {
+ // throw an excecption
+ throw new ArgumentException("Error while parsing string for variables [" + ex.Message + "]: " + s);
+ }
+ }
+ return s;
+ }
+
+ }
+
+}
diff --git a/AirScout.PlaneFeeds.Plugin.OpenSky/Properties/AssemblyInfo.cs b/AirScout.PlaneFeeds.Plugin.OpenSky/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..5084c27
--- /dev/null
+++ b/AirScout.PlaneFeeds.Plugin.OpenSky/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// Allgemeine Informationen über eine Assembly werden über die folgenden
+// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
+// die einer Assembly zugeordnet sind.
+[assembly: AssemblyTitle("AirScout.PlaneFeeds.Plugin.OpenSky")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("AirScout.PlaneFeeds.Plugin.OpenSky")]
+[assembly: AssemblyCopyright("Copyright © 2020")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
+// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
+// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
+[assembly: ComVisible(false)]
+
+// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
+[assembly: Guid("db85e98a-e209-49d0-b6cf-6cdd5b8e20e3")]
+
+// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
+//
+// Hauptversion
+// Nebenversion
+// Buildnummer
+// Revision
+//
+// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
+// indem Sie "*" wie unten gezeigt eingeben:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.3.0.0")]
+[assembly: AssemblyFileVersion("1.3.0.0")]
diff --git a/AirScout.PlaneFeeds.Plugin.OpenSky/Properties/Settings.Designer.cs b/AirScout.PlaneFeeds.Plugin.OpenSky/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..a02fcbd
--- /dev/null
+++ b/AirScout.PlaneFeeds.Plugin.OpenSky/Properties/Settings.Designer.cs
@@ -0,0 +1,26 @@
+//------------------------------------------------------------------------------
+//
+// Dieser Code wurde von einem Tool generiert.
+// Laufzeitversion:4.0.30319.42000
+//
+// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
+// der Code erneut generiert wird.
+//
+//------------------------------------------------------------------------------
+
+namespace AirScout.PlaneFeeds.Plugin.OpenSky.Properties {
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default {
+ get {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/AirScout.PlaneFeeds.Plugin.OpenSky/Properties/Settings.settings b/AirScout.PlaneFeeds.Plugin.OpenSky/Properties/Settings.settings
new file mode 100644
index 0000000..8e615f2
--- /dev/null
+++ b/AirScout.PlaneFeeds.Plugin.OpenSky/Properties/Settings.settings
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/AirScout.PlaneFeeds.Plugin.OpenSky/app.config b/AirScout.PlaneFeeds.Plugin.OpenSky/app.config
new file mode 100644
index 0000000..9d7f76a
--- /dev/null
+++ b/AirScout.PlaneFeeds.Plugin.OpenSky/app.config
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+ Web feed from www.planefinder.net
+See https://planefinder.net/
+
+(c) AirScout (www.airscout.eu)
+
+This feed does not require a login or API key.
+
+
+
+ [WebFeed] www.planefinder.net
+
+
+ This plane feed is being fetched from an Internet server via Deep Link
+technology (see http://en.wikipedia.org/wiki/Deep_link).
+
+The use is not intended by the website owners and could be changed in URL and data format frequently and without further notice.
+Furthermore, it might cause legal issues in some countries.
+
+By clicking on "Accept" you understand that you are
+
+ DOING THAT ON YOUR OWN RISK
+
+The auhor of this software will not be responsible in any case.
+
+
+
+
+
+ http://droidapp.pinkfroot.com/APPAPIDROID/v7/planeUpdateFAA.php?routetype=IATA&FAA=1&bounds=%MAXLAT%,%MINLAT%,%MINLON%,%MAXLON%
+
+
+ False
+
+
+
+
+
+ True
+
+
+ False
+
+
+ False
+
+
+ 30
+
+
+
+
\ No newline at end of file
diff --git a/AirScout.PlaneFeeds.Plugin.OpenSky/packages.config b/AirScout.PlaneFeeds.Plugin.OpenSky/packages.config
new file mode 100644
index 0000000..7809c60
--- /dev/null
+++ b/AirScout.PlaneFeeds.Plugin.OpenSky/packages.config
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/AirScout.PlaneFeeds.Plugin.PlaneFinder/PlaneFinder.cs b/AirScout.PlaneFeeds.Plugin.PlaneFinder/PlaneFinder.cs
index 169f64d..9b0c102 100644
--- a/AirScout.PlaneFeeds.Plugin.PlaneFinder/PlaneFinder.cs
+++ b/AirScout.PlaneFeeds.Plugin.PlaneFinder/PlaneFinder.cs
@@ -1,4 +1,4 @@
-using System;
+ using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -35,7 +35,7 @@ namespace AirScout.PlaneFeeds.Plugin.PlaneFinder
[Browsable(true)]
[CategoryAttribute("Web Feed")]
[DescriptionAttribute("Base URL for website.")]
- [DefaultValue("http://droidapp.pinkfroot.com/APPAPIDROID/v7/planeUpdateFAA.php?routetype=IATA&FAA=1&bounds=%MAXLAT%,%MINLAT%,%MINLON%,%MAXLON%")]
+ [DefaultValue("http://droidapp.pinkfroot.com/APPAPIDROID/v7/planeUpdateFAA.php?routetype=IATA&FAA=1&bounds=%MAXLAT%,%MINLAT%,%MINLON%,%MAXLON%")]
public string URL { get; set; }
[Browsable(true)]
@@ -310,9 +310,8 @@ namespace AirScout.PlaneFeeds.Plugin.PlaneFinder
String url = VC.ReplaceAllVars(Settings.URL);
Console.WriteLine("[" + this.GetType().Name + "]: Creating web request: " + url);
HttpWebRequest webrequest = (HttpWebRequest)HttpWebRequest.Create(url);
- webrequest.Referer = "http://planefinder.net/";
webrequest.Timeout = Settings.Timeout * 1000;
- webrequest.UserAgent = "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130807 Firefox/17.0";
+ webrequest.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0";
Console.WriteLine("[" + this.GetType().Name + "]: Getting web response");
HttpWebResponse webresponse = (HttpWebResponse)webrequest.GetResponse();
Console.WriteLine("[" + this.GetType().Name + "]: Reading stream");
diff --git a/AirScout.PlaneFeeds.Plugin.Template/Properties/AssemblyInfo.cs b/AirScout.PlaneFeeds.Plugin.Template/Properties/AssemblyInfo.cs
index 3f0dfa2..6a4db56 100644
--- a/AirScout.PlaneFeeds.Plugin.Template/Properties/AssemblyInfo.cs
+++ b/AirScout.PlaneFeeds.Plugin.Template/Properties/AssemblyInfo.cs
@@ -5,11 +5,11 @@ using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
-[assembly: AssemblyTitle("AirScout.PlaneFeeds.Plugin.PlaneFinder")]
+[assembly: AssemblyTitle("AirScout.PlaneFeeds.Plugin.Template")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("AirScout.PlaneFeeds.Plugin.PlaneFinder")]
+[assembly: AssemblyProduct("AirScout.PlaneFeeds.Plugin.Template")]
[assembly: AssemblyCopyright("Copyright © 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
diff --git a/AirScout.PlaneFeeds.Plugin.VirtualRadarServer/AirScout.PlaneFeeds.Plugin.VirtualRadarServer.csproj b/AirScout.PlaneFeeds.Plugin.VirtualRadarServer/AirScout.PlaneFeeds.Plugin.VirtualRadarServer.csproj
index 86ae013..34fa833 100644
--- a/AirScout.PlaneFeeds.Plugin.VirtualRadarServer/AirScout.PlaneFeeds.Plugin.VirtualRadarServer.csproj
+++ b/AirScout.PlaneFeeds.Plugin.VirtualRadarServer/AirScout.PlaneFeeds.Plugin.VirtualRadarServer.csproj
@@ -77,7 +77,7 @@
- copy $(OutDir)\ILMerge\*.$(TargetExt) $(OutDir) /Y
+ copy $(ProjectDir)\$(OutDir)\ILMerge\*$(TargetExt) $(SolutionDir)\Airscout\$(OutDir) /y
\ No newline at end of file
diff --git a/AirScout.sln b/AirScout.sln
index 335c238..7c33096 100644
--- a/AirScout.sln
+++ b/AirScout.sln
@@ -73,8 +73,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AirScout.PlaneFeeds.Plugin.
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AirScout.PlaneFeeds", "AirScout.PlaneFeeds\AirScout.PlaneFeeds.csproj", "{EA78AD40-1505-406F-8049-744E58D93F54}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AirScout.PlaneFeeds.Plugin.PlaneFinder", "AirScout.PlaneFeeds.Plugin.PlaneFinder\AirScout.PlaneFeeds.Plugin.PlaneFinder.csproj", "{DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}"
-EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AirScout.PlaneFeeds.Plugin.RTL1090", "AirScout.PlaneFeeds.Plugin.RTL1090\AirScout.PlaneFeeds.Plugin.RTL1090.csproj", "{4225D870-2CCB-4E6A-965C-AA005CB1C36C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AirScout.PlaneFeeds.Plugin.FlexJSON", "AirScout.PlaneFeeds.Plugin.FlexJSON\AirScout.PlaneFeeds.Plugin.FlexJSON.csproj", "{F1689770-0F8F-4716-B0FF-817D1319827E}"
@@ -85,6 +83,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AirScout.PlaneFeeds.Plugin.
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AirScout_Cleanup", "AirScout_Cleanup\AirScout_Cleanup.csproj", "{4DDDB65C-0E40-4A69-8775-5B4152C3196D}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AirScout.PlaneFeeds.Plugin.OpenSky", "AirScout.PlaneFeeds.Plugin.OpenSky\AirScout.PlaneFeeds.Plugin.OpenSky.csproj", "{23F584DB-EB5E-452D-B49F-7C1CABB713FF}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AirScout.PlaneFeeds.Plugin.PlaneFinder", "AirScout.PlaneFeeds.Plugin.PlaneFinder\AirScout.PlaneFeeds.Plugin.PlaneFinder.csproj", "{DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -491,17 +493,6 @@ Global
{EA78AD40-1505-406F-8049-744E58D93F54}.Release|Mixed Platforms.Build.0 = Release|x86
{EA78AD40-1505-406F-8049-744E58D93F54}.Release|x86.ActiveCfg = Release|x86
{EA78AD40-1505-406F-8049-744E58D93F54}.Release|x86.Build.0 = Release|x86
- {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Debug|x86.ActiveCfg = Debug|Any CPU
- {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Debug|x86.Build.0 = Debug|Any CPU
- {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Release|Mixed Platforms.Build.0 = Release|Any CPU
- {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Release|x86.ActiveCfg = Release|Any CPU
- {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Release|x86.Build.0 = Release|Any CPU
{4225D870-2CCB-4E6A-965C-AA005CB1C36C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4225D870-2CCB-4E6A-965C-AA005CB1C36C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4225D870-2CCB-4E6A-965C-AA005CB1C36C}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
@@ -558,6 +549,30 @@ Global
{4DDDB65C-0E40-4A69-8775-5B4152C3196D}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{4DDDB65C-0E40-4A69-8775-5B4152C3196D}.Release|x86.ActiveCfg = Release|Any CPU
{4DDDB65C-0E40-4A69-8775-5B4152C3196D}.Release|x86.Build.0 = Release|Any CPU
+ {23F584DB-EB5E-452D-B49F-7C1CABB713FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {23F584DB-EB5E-452D-B49F-7C1CABB713FF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {23F584DB-EB5E-452D-B49F-7C1CABB713FF}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {23F584DB-EB5E-452D-B49F-7C1CABB713FF}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {23F584DB-EB5E-452D-B49F-7C1CABB713FF}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {23F584DB-EB5E-452D-B49F-7C1CABB713FF}.Debug|x86.Build.0 = Debug|Any CPU
+ {23F584DB-EB5E-452D-B49F-7C1CABB713FF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {23F584DB-EB5E-452D-B49F-7C1CABB713FF}.Release|Any CPU.Build.0 = Release|Any CPU
+ {23F584DB-EB5E-452D-B49F-7C1CABB713FF}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {23F584DB-EB5E-452D-B49F-7C1CABB713FF}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {23F584DB-EB5E-452D-B49F-7C1CABB713FF}.Release|x86.ActiveCfg = Release|Any CPU
+ {23F584DB-EB5E-452D-B49F-7C1CABB713FF}.Release|x86.Build.0 = Release|Any CPU
+ {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Debug|x86.Build.0 = Debug|Any CPU
+ {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Release|Any CPU.Build.0 = Release|Any CPU
+ {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Release|x86.ActiveCfg = Release|Any CPU
+ {DB85E98A-E209-49D0-B6CF-6CDD5B8E20E3}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/AirScout/AirScout.csproj b/AirScout/AirScout.csproj
index ebe1091..d3512f8 100644
--- a/AirScout/AirScout.csproj
+++ b/AirScout/AirScout.csproj
@@ -277,6 +277,7 @@
Splash.cs
+
Form
diff --git a/AirScout/FirstRunWizard.cs b/AirScout/FirstRunWizard.cs
index 04e37d3..2369dbc 100644
--- a/AirScout/FirstRunWizard.cs
+++ b/AirScout/FirstRunWizard.cs
@@ -49,6 +49,7 @@ namespace AirScout
private void FirstRunWizard_Load(object sender, EventArgs e)
{
+ this.Text = "Welcome to AirScout - Aircraft Scatter Prediction V" + Application.ProductVersion + " (c) 2013-2020 DL2ALF";
Log.WriteMessage("Loading.");
// set initial settings for CoverageMap
GMap.NET.MapProviders.GMapProvider.UserAgent = "AirScout";
@@ -341,16 +342,19 @@ namespace AirScout
// estimate disk space needed = tilecount * tilesize * 150%
long spaceneeded = (long)tilecount * (long)(250 * 3 / 2);
string rootdrive = Path.GetPathRoot(ElevationData.Database.DefaultDatabaseDirectory(ELEVATIONMODEL.GLOBE));
- if (SupportFunctions.GetDriveAvailableFreeSpace(rootdrive) < spaceneeded)
+ long spaceavailable = SupportFunctions.GetDriveAvailableFreeSpace(rootdrive);
+ // check for available disk space, skip on zero (cannot determine)
+ if ((spaceavailable > 0) && (spaceavailable < spaceneeded))
{
// show message box
- MessageBox.Show("Not enough disk space for elevation database.\n\nAvailable: " + SupportFunctions.GetDriveAvailableFreeSpace(rootdrive) + " bytes.\nNeeded: " + spaceneeded + "bytes.\n\nUncheck this option or try to enlarge free space on disk.", "Not enough disk space");
+ MessageBox.Show("Not enough disk space for elevation database.\n\nAvailable: " + spaceavailable + " bytes.\nNeeded: " + spaceneeded + "bytes.\n\nUncheck this option or try to enlarge free space on disk.", "Not enough disk space");
wp_GLOBE.AllowNext = false;
}
- if (SupportFunctions.GetDriveMaxFileSize(rootdrive) < spaceneeded)
+ long maxfilesize = SupportFunctions.GetDriveMaxFileSize(rootdrive);
+ if ((maxfilesize > 0) && (maxfilesize < spaceneeded))
{
// show message box
- MessageBox.Show("The elevation database will exceed maximum allowed filesize for this file system.\n\nAllowed: " + SupportFunctions.GetDriveMaxFileSize(rootdrive) + " bytes.\nNeeded: " + spaceneeded + "bytes.\n\nUncheck this option or change file system on disk.", "File size exceeded");
+ MessageBox.Show("The elevation database will exceed maximum allowed filesize for this file system.\n\nAllowed: " + maxfilesize + " bytes.\nNeeded: " + spaceneeded + "bytes.\n\nUncheck this option or change file system on disk.", "File size exceeded");
wp_GLOBE.AllowNext = false;
}
}
@@ -491,16 +495,19 @@ namespace AirScout
// estimate disk space needed = tilecount * tilesize * 150%
long spaceneeded = (long)tilecount * (long)(10000 * 3 / 2);
string rootdrive = Path.GetPathRoot(ElevationData.Database.DefaultDatabaseDirectory(ELEVATIONMODEL.SRTM3));
- if (SupportFunctions.GetDriveAvailableFreeSpace(rootdrive) < spaceneeded)
+ long spaceavailable = SupportFunctions.GetDriveAvailableFreeSpace(rootdrive);
+ // check for available disk space, skip on zero (cannot determine)
+ if ((spaceavailable > 0) && (spaceavailable < spaceneeded))
{
// show message box
- MessageBox.Show("Not enough disk space for elevation database.\n\nAvailable: " + SupportFunctions.GetDriveAvailableFreeSpace(rootdrive) + " bytes.\nNeeded: " + spaceneeded + "bytes.\n\nUncheck this option or try to enlarge free space on disk.", "Not enough disk space");
+ MessageBox.Show("Not enough disk space for elevation database.\n\nAvailable: " + spaceavailable + " bytes.\nNeeded: " + spaceneeded + "bytes.\n\nUncheck this option or try to enlarge free space on disk.", "Not enough disk space");
wp_SRTM3.AllowNext = false;
}
- if (SupportFunctions.GetDriveMaxFileSize(rootdrive) < spaceneeded)
+ long maxfilesize = SupportFunctions.GetDriveMaxFileSize(rootdrive);
+ if ((maxfilesize > 0) && (maxfilesize < spaceneeded))
{
// show message box
- MessageBox.Show("The elevation database will exceed maximum allowed filesize for this file system.\n\nAllowed: " + SupportFunctions.GetDriveMaxFileSize(rootdrive) + " bytes.\nNeeded: " + spaceneeded + "bytes.\n\nUncheck this option or change file system on disk.", "File size exceeded");
+ MessageBox.Show("The elevation database will exceed maximum allowed filesize for this file system.\n\nAllowed: " + maxfilesize + " bytes.\nNeeded: " + spaceneeded + "bytes.\n\nUncheck this option or change file system on disk.", "File size exceeded");
wp_SRTM3.AllowNext = false;
}
}
@@ -636,16 +643,19 @@ namespace AirScout
// estimate disk space needed = tilecount * tilesize * 150%
long spaceneeded = (long)tilecount * (long)(100000 * 3 / 2);
string rootdrive = Path.GetPathRoot(ElevationData.Database.DefaultDatabaseDirectory(ELEVATIONMODEL.SRTM1));
- if (SupportFunctions.GetDriveAvailableFreeSpace(rootdrive) < spaceneeded)
+ long spaceavailable = SupportFunctions.GetDriveAvailableFreeSpace(rootdrive);
+ // check for available disk space, skip on zero (cannot determine)
+ if ((spaceavailable > 0) && (spaceavailable < spaceneeded))
{
// show message box
- MessageBox.Show("Not enough disk space for elevation database.\n\nAvailable: " + SupportFunctions.GetDriveAvailableFreeSpace(rootdrive) + " bytes.\nNeeded: " + spaceneeded + "bytes.\n\nUncheck this option or try to enlarge free space on disk.", "Not enough disk space");
+ MessageBox.Show("Not enough disk space for elevation database.\n\nAvailable: " + spaceavailable + " bytes.\nNeeded: " + spaceneeded + "bytes.\n\nUncheck this option or try to enlarge free space on disk.", "Not enough disk space");
wp_SRTM1.AllowNext = false;
}
- if (SupportFunctions.GetDriveMaxFileSize(rootdrive) < spaceneeded)
+ long maxfilesize = SupportFunctions.GetDriveMaxFileSize(rootdrive);
+ if ((maxfilesize > 0) && (maxfilesize < spaceneeded))
{
// show message box
- MessageBox.Show("The elevation database will exceed maximum allowed filesize for this file system.\n\nAllowed: " + SupportFunctions.GetDriveMaxFileSize(rootdrive) + " bytes.\nNeeded: " + spaceneeded + "bytes.\n\nUncheck this option or change file system on disk.", "File size exceeded");
+ MessageBox.Show("The elevation database will exceed maximum allowed filesize for this file system.\n\nAllowed: " + maxfilesize + " bytes.\nNeeded: " + spaceneeded + "bytes.\n\nUncheck this option or change file system on disk.", "File size exceeded");
wp_SRTM1.AllowNext = false;
}
}
@@ -770,7 +780,7 @@ namespace AirScout
}
if (GeographicalPoint.Check(tb_Latitude.Value, tb_Longitude.Value))
{
- // update locator text if not focusd
+ // update locator text if not focused
if (!tb_Locator.Focused)
{
tb_Locator.SilentText = MaidenheadLocator.LocFromLatLon(tb_Latitude.Value, tb_Longitude.Value, Properties.Settings.Default.Locator_SmallLettersForSubsquares, (int)Properties.Settings.Default.Locator_MaxLength / 2, true);
@@ -813,12 +823,15 @@ namespace AirScout
}
}
// check all values and enable/disable next button
- if (Callsign.Check(tb_Callsign.Text) && MaidenheadLocator.Check(tb_Locator.Text) && !double.IsNaN(tb_Latitude.Value) && !double.IsNaN(tb_Longitude.Value))
- {
- // save settings
+ // save settings
+ if (Callsign.Check(tb_Callsign.Text))
Properties.Settings.Default.MyCall = tb_Callsign.Text;
+ if (!double.IsNaN(tb_Latitude.Value))
Properties.Settings.Default.MyLat = tb_Latitude.Value;
+ if (!double.IsNaN(tb_Longitude.Value))
Properties.Settings.Default.MyLon = tb_Longitude.Value;
+ if (Callsign.Check(tb_Callsign.Text) && MaidenheadLocator.Check(tb_Locator.Text) && !double.IsNaN(tb_Longitude.Value) && !double.IsNaN(tb_Longitude.Value))
+ {
// StationData.Database.LocationInsertOrUpdateIfNewer(new LocationDesignator(tb_Callsign.Text, tb_Latitude.Value, tb_Longitude.Value, (MaidenheadLocator.IsPrecise(tb_Latitude.Value, tb_Longitude.Value, 3) ? GEOSOURCE.FROMUSER : GEOSOURCE.FROMLOC)));
wp_UserDetails.AllowNext = true;
return true;
@@ -844,6 +857,10 @@ namespace AirScout
}
else
{
+ // clear properties
+ Properties.Settings.Default.MyLat = double.NaN;
+ Properties.Settings.Default.MyLon = double.NaN;
+
tb_Latitude.SilentValue = double.NaN;
tb_Longitude.SilentValue = double.NaN;
tb_Locator.SilentText = "";
diff --git a/AirScout/MapDlg.Designer.cs b/AirScout/MapDlg.Designer.cs
index 754f7f2..649d5c6 100644
--- a/AirScout/MapDlg.Designer.cs
+++ b/AirScout/MapDlg.Designer.cs
@@ -260,6 +260,7 @@
this.tc_Map.SelectedIndex = 0;
this.tc_Map.Size = new System.Drawing.Size(852, 341);
this.tc_Map.TabIndex = 14;
+ this.tc_Map.Selecting += new System.Windows.Forms.TabControlCancelEventHandler(this.tc_Map_Selecting);
//
// tp_Map
//
@@ -375,6 +376,7 @@
this.tc_Main.TabIndex = 0;
this.tc_Main.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.tc_Main_DrawItem);
this.tc_Main.SelectedIndexChanged += new System.EventHandler(this.tc_Main_SelectedIndexChanged);
+ this.tc_Main.Selecting += new System.Windows.Forms.TabControlCancelEventHandler(this.tc_Main_Selecting);
//
// tp_Elevation
//
@@ -1408,11 +1410,6 @@
this.cb_Planes_Filter_Min_Cat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_Planes_Filter_Min_Cat.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cb_Planes_Filter_Min_Cat.FormattingEnabled = true;
- this.cb_Planes_Filter_Min_Cat.Items.AddRange(new object[] {
- "Light",
- "Medium",
- "Heavy",
- "Super"});
this.cb_Planes_Filter_Min_Cat.Location = new System.Drawing.Point(59, 60);
this.cb_Planes_Filter_Min_Cat.Name = "cb_Planes_Filter_Min_Cat";
this.cb_Planes_Filter_Min_Cat.Size = new System.Drawing.Size(77, 24);
@@ -1519,6 +1516,7 @@
this.tc_Control.Size = new System.Drawing.Size(152, 404);
this.tc_Control.TabIndex = 60;
this.tc_Control.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.tc_Control_DrawItem);
+ this.tc_Control.Selecting += new System.Windows.Forms.TabControlCancelEventHandler(this.tc_Control_Selecting);
//
// tp_Control_Single
//
@@ -1738,8 +1736,10 @@
this.lv_Control_Watchlist.DrawColumnHeader += new System.Windows.Forms.DrawListViewColumnHeaderEventHandler(this.lv_Control_Watchlist_DrawColumnHeader);
this.lv_Control_Watchlist.DrawItem += new System.Windows.Forms.DrawListViewItemEventHandler(this.lv_Control_Watchlist_DrawItem);
this.lv_Control_Watchlist.DrawSubItem += new System.Windows.Forms.DrawListViewSubItemEventHandler(this.lv_Control_Watchlist_DrawSubItem);
+ this.lv_Control_Watchlist.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.lv_Control_Watchlist_ItemCheck);
this.lv_Control_Watchlist.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.lv_Control_Watchlist_ItemChecked);
this.lv_Control_Watchlist.ItemMouseHover += new System.Windows.Forms.ListViewItemMouseHoverEventHandler(this.lv_Control_Watchlist_ItemMouseHover);
+ this.lv_Control_Watchlist.SelectedIndexChanged += new System.EventHandler(this.lv_Control_Watchlist_SelectedIndexChanged);
this.lv_Control_Watchlist.MouseMove += new System.Windows.Forms.MouseEventHandler(this.lv_Control_Watchlist_MouseMove);
this.lv_Control_Watchlist.Resize += new System.EventHandler(this.lv_Control_Watchlist_Resize);
//
diff --git a/AirScout/MapDlg.cs b/AirScout/MapDlg.cs
index 4ec8b21..19ee50c 100644
--- a/AirScout/MapDlg.cs
+++ b/AirScout/MapDlg.cs
@@ -71,6 +71,7 @@ using OxyPlot.Series;
using OxyPlot.Axes;
using System.Data.SQLite;
using DeviceId;
+using AirScout.Properties;
using AirScout.Core;
using AirScout.Aircrafts;
using AirScout.PlaneFeeds;
@@ -276,6 +277,7 @@ namespace AirScout
sc_Main.SplitterDistance = value;
else
sc_Main.SplitterDistance = this.Width - gb_Map_Info_DefaultWidth;
+ Console.WriteLine("Setting MainSplitterDistance: " + this.Width + "--->" + sc_Main.SplitterDistance);
}
}
@@ -294,6 +296,7 @@ namespace AirScout
sc_Map.SplitterDistance = value;
else
sc_Map.SplitterDistance = this.Height - tc_Main_DefaultHeight;
+ Console.WriteLine("Setting MapSplitterDistance: " + this.Height + "--->" + sc_Map.SplitterDistance);
}
}
@@ -310,9 +313,6 @@ namespace AirScout
DateTime CurrentTime = DateTime.UtcNow;
- public bool ForceClose = false;
-
-
// FlightRadar
PlaneInfoCache Planes = new PlaneInfoCache();
SortedList ActivePlanes = new SortedList();
@@ -993,7 +993,13 @@ namespace AirScout
SplashDlg.Show();
// bring window to front
SplashDlg.BringToFront();
- Application.DoEvents();
+ // wait for splash window is fully visible
+ while (SplashDlg.Opacity < 1)
+ {
+ Application.DoEvents();
+ }
+ // show AirScout main window
+ this.BringToFront();
// Check directories, complete it and create, if not exist
SplashDlg.Status("Checking directories...");
CheckDirectories();
@@ -1322,15 +1328,6 @@ namespace AirScout
MessageBox.Show("An error occured during startup: " + ex.ToString() + "\n\nPress >OK< to close the application.", "AirScout", MessageBoxButtons.OK);
this.Close();
}
- }
-
- private void FinishStartup()
- {
- // finish startup
- // close splash window
- // set window layout
- if (SplashDlg != null)
- SplashDlg.Close();
// restore window size, state and location
try
{
@@ -1356,6 +1353,15 @@ namespace AirScout
Properties.Settings.Default.MainSplitter_Distance = -1;
Properties.Settings.Default.MapSplitter_Distance = -1;
}
+ }
+
+ private void FinishStartup()
+ {
+ // finish startup
+ // close splash window
+ // set window layout
+ if (SplashDlg != null)
+ SplashDlg.Close();
// restore splitter positions
try
{
@@ -1367,8 +1373,8 @@ namespace AirScout
else
{
// ignore window settings under Linux/Mono and always use default values
- sc_Map.SplitterDistance = -1;
- sc_Main.SplitterDistance = -1;
+ MapSplitterDistance = -1;
+ MainSplitterDistance = -1;
}
}
catch (Exception ex)
@@ -1990,7 +1996,6 @@ namespace AirScout
private void UpdateAirports()
{
- /*
if (!Properties.Settings.Default.Airports_Activate)
return;
if ((Airports == null) || (Airports.Count == 0))
@@ -2011,8 +2016,7 @@ namespace AirScout
Log.WriteMessage(ex.ToString(), LogLevel.Error);
}
}
-// gm_Main.Refresh();
- */
+ gm_Main.Refresh();
}
private void ti_Startup_Tick(object sender, EventArgs e)
@@ -2193,11 +2197,6 @@ namespace AirScout
private void OnIdle(object sender, EventArgs args)
{
- // close window if disagreed
- if (ForceClose)
- {
- Application.Exit();
- }
// enable/disable watchlist button
if (btn_Control_Manage_Watchlist.Enabled == Properties.Settings.Default.Watchlist_SyncWithKST)
btn_Control_Manage_Watchlist.Enabled = !Properties.Settings.Default.Watchlist_SyncWithKST;
@@ -2900,7 +2899,7 @@ namespace AirScout
#region Play & Pause
private void Play()
- {
+ {
PlayMode = AIRSCOUTPLAYMODE.FORWARD;
// switch tab control according to path mode
if (PathMode == AIRSCOUTPATHMODE.SINGLE)
@@ -2909,6 +2908,8 @@ namespace AirScout
tc_Control.SelectedTab = tp_Control_Multi;
// update tab control
tc_Control.Refresh();
+ // refresh watch list
+ RefreshWatchlistView();
// update all current paths
UpdatePaths();
// clear spectrum
@@ -2932,13 +2933,11 @@ namespace AirScout
cb_MyLoc.Enabled = false;
cb_DXCall.Enabled = false;
cb_DXLoc.Enabled = false;
- tc_Control.Enabled = false;
+// tc_Control.Enabled = false;
pa_Planes_Filter.Enabled = false;
gb_Analysis_Controls.Enabled = false;
gb_Analysis_Database.Enabled = false;
gb_Analysis_Player.Enabled = false;
- tc_Main.Enabled = false;
-// tc_Map.Enabled = false;
//referesh main window
this.Refresh();
}
@@ -3686,6 +3685,8 @@ namespace AirScout
if ((ActivePlanes == null) || (ActivePlanes.Count == 0))
return;
bool anyselected = false;
+ List planes_hi = new List();
+ List planes_lo = new List();
// draw all planes
foreach (PlaneInfo plane in ActivePlanes.Values)
{
@@ -3725,8 +3726,10 @@ namespace AirScout
break;
}
- // count the planes drawed and update caption
- tp_Map.Text = "Map [" + gmo_Planes.Markers.Count.ToString() + " plane(s)]";
+ // count the planes drawed and update caption, if not under Linux
+ // Linux/Mono is drawing the whole control again --> performance issue!
+ if (!SupportFunctions.IsMono)
+ tp_Map.Text = "Map [" + gmo_Planes.Markers.Count.ToString() + " plane(s)]";
// if selected: draw the thin path to crossing point if one
if (isselected)
{
@@ -3767,6 +3770,7 @@ namespace AirScout
// calculate distance from mylat/mylon
double dist = LatLon.Distance(Properties.Settings.Default.MyLat, Properties.Settings.Default.MyLon, plane.IntPoint.Lat, plane.IntPoint.Lon);
// add new data points
+ /*
if (plane.AltDiff > 0)
{
Planes_Hi.Points.Add(new DataPoint(dist, plane.Alt_m));
@@ -3775,10 +3779,29 @@ namespace AirScout
{
Planes_Lo.Points.Add(new DataPoint(dist, plane.Alt_m));
}
+ */
+
+ TooltipDataPoint p = new TooltipDataPoint(dist, plane.Alt_m,plane.Call);
+ if (plane.AltDiff > 0)
+ {
+ planes_hi.Add(p);
+ }
+ else
+ {
+ planes_lo.Add(p);
+ }
}
}
}
+ // add planes to chart
+ Planes_Hi.ItemsSource = planes_hi;
+ Planes_Lo.ItemsSource = planes_lo;
+
+ // change tracker display
+ Planes_Hi.TrackerFormatString = "{Tooltip}";
+ Planes_Lo.TrackerFormatString = "{Tooltip}";
+
// invalidate chart
pm_Path.InvalidatePlot(true);
@@ -3919,6 +3942,7 @@ namespace AirScout
// clear data points in chart
Planes_Hi.Points.Clear();
Planes_Lo.Points.Clear();
+ pm_Path.Annotations.Clear();
// draw planes
DrawPlanes();
@@ -3994,7 +4018,10 @@ namespace AirScout
int topItemIndex = 0;
try
{
- topItemIndex = lv_Control_Watchlist.TopItem.Index;
+ if (PlayMode != AIRSCOUTPLAYMODE.FORWARD)
+ {
+ topItemIndex = lv_Control_Watchlist.TopItem.Index;
+ }
}
catch (Exception ex)
{
@@ -4049,6 +4076,9 @@ namespace AirScout
private void ti_Progress_Tick(object sender, EventArgs e)
{
+ // prevent timer tick from overflow when heavy loaded
+ // stop timer --> do update procedure --> start timer again
+ ti_Progress.Stop();
if (LifeMode == AIRSCOUTLIFEMODE.LIFE)
{
if (PlayMode == AIRSCOUTPLAYMODE.FORWARD)
@@ -4078,6 +4108,8 @@ namespace AirScout
UpdatePlanes();
}
}
+ // restart timer
+ ti_Progress.Start();
}
private void sc_Main_SplitterMoved(object sender, SplitterEventArgs e)
@@ -4321,6 +4353,8 @@ namespace AirScout
PathMode = AIRSCOUTPATHMODE.SINGLE;
tc_Map.SelectedTab = tp_Map;
}
+ // update all info
+ UpdateStatus();
}
private void gb_Map_Info_MouseClick(object sender, MouseEventArgs e)
@@ -4606,13 +4640,21 @@ namespace AirScout
PathMode = AIRSCOUTPATHMODE.MULTI;
tc_Map.SelectedTab = tp_Map;
}
+ tp_Control_Multi.Refresh();
}
private void lv_Control_Watchlist_Resize(object sender, EventArgs e)
{
// list view resized
// resize locator column to fit the client size
- lv_Control_Watchlist.Columns[1].Width = lv_Control_Watchlist.ClientSize.Width - lv_Control_Watchlist.Columns[0].Width;
+ try
+ {
+ lv_Control_Watchlist.Columns[1].Width = lv_Control_Watchlist.ClientSize.Width - lv_Control_Watchlist.Columns[0].Width;
+ }
+ catch
+ {
+ // do nothing, if resize fails
+ }
}
private void lv_Control_Watchlist_ColumnWidthChanged(object sender, ColumnWidthChangedEventArgs e)
@@ -4622,10 +4664,24 @@ namespace AirScout
{
// call sign column changed
// resize locator column to fit the client size
- lv_Control_Watchlist.Columns[1].Width = lv_Control_Watchlist.ClientSize.Width - lv_Control_Watchlist.Columns[0].Width;
+ try
+ {
+ lv_Control_Watchlist.Columns[1].Width = lv_Control_Watchlist.ClientSize.Width - lv_Control_Watchlist.Columns[0].Width;
+ }
+ catch
+ {
+ // do nothing, if resize fails
+ }
}
}
+ private void lv_Control_Watchlist_ItemCheck(object sender, ItemCheckEventArgs e)
+ {
+ // ignore when in PLAY mode
+ if (!WatchlistUpdating && (PlayMode == AIRSCOUTPLAYMODE.FORWARD))
+ e.NewValue = e.CurrentValue;
+ }
+
private void lv_Control_Watchlist_ItemChecked(object sender, ItemCheckedEventArgs e)
{
// ignore event while populating list view
@@ -4659,6 +4715,9 @@ namespace AirScout
private void lv_Control_Watchlist_ColumnClick(object sender, ColumnClickEventArgs e)
{
+ // ignore when in PLAY mode
+ if (PlayMode == AIRSCOUTPLAYMODE.FORWARD)
+ return;
WatchlistAllCheckedChanging = true;
if (!WatchlistAllChecked)
{
@@ -4720,14 +4779,13 @@ namespace AirScout
{
e.Item.BackColor = bkcolor;
}
- e.DrawBackground();
}
else
{
e.Item.BackColor = Color.White;
- e.DrawDefault = true;
}
}
+ e.DrawDefault = true;
}
@@ -4736,40 +4794,73 @@ namespace AirScout
e.DrawDefault = true;
}
- private void btn_Control_Manage_Watchlist_Click(object sender, EventArgs e)
+ private void lv_Control_Watchlist_SelectedIndexChanged(object sender, EventArgs e)
{
+ // synchronize station in SINGLE mode when selection changed in MULTI mode
+ try
+ {
+ if ((lv_Control_Watchlist.SelectedItems != null) && (lv_Control_Watchlist.SelectedItems.Count == 1))
+ {
+ string call = lv_Control_Watchlist.SelectedItems[0].Text;
+ string loc = lv_Control_Watchlist.SelectedItems[0].SubItems[1].Text;
+ double lat = MaidenheadLocator.LatFromLoc(loc);
+ double lon = MaidenheadLocator.LonFromLoc(loc);
+ LocationDesignator ld = StationData.Database.LocationFind(call, loc);
+ if (ld != null)
+ {
+ // update lat/lon from database if found
+ lat = ld.Lat;
+ lon = ld.Lon;
+ }
+ Properties.Settings.Default.DXCall = call;
+ Properties.Settings.Default.DXLat = lat;
+ Properties.Settings.Default.DXLon = lon;
+ }
+ }
+ catch (Exception ex)
+ {
+ Log.WriteMessage(ex.ToString());
+ }
+ }
+
+ private void btn_Control_Manage_Watchlist_Click(object sender, EventArgs e)
+ {
+ // sync watchlist, try to keep previously checked calls
+ // you can have a call only once in the watch list
+ List checkedcalls = new List();
+ foreach (WatchlistItem item in Properties.Settings.Default.Watchlist)
+ {
+ if (item.Checked)
+ checkedcalls.Add(item.Call);
+ }
WatchlistDlg Dlg = new WatchlistDlg();
if (Dlg.ShowDialog() == DialogResult.OK)
{
- // sync watchlist
- foreach (WatchlistItem item in Properties.Settings.Default.Watchlist)
+ // clear watch list
+ Properties.Settings.Default.Watchlist.Clear();
+ foreach (DataGridViewRow row in Dlg.dgv_Watchlist_Selected.Rows)
{
- // nasty!! Should never be null!
- if (item == null)
- continue;
- item.Remove = true;
- }
- foreach (ListViewItem lvi in Dlg.lv_Watchlist_Selected.Items)
- {
- // search item in watchlist
- int index = Properties.Settings.Default.Watchlist.IndexOf(lvi.Text);
- // reset remove flag if found, create and add new entry if not
- if (index >= 0)
- Properties.Settings.Default.Watchlist[index].Remove = false;
- else
+ string call = row.Cells[0].Value.ToString();
+ string loc = row.Cells[1].Value.ToString();
+ bool oor = true;
+ // try to get the location from database
+ LocationDesignator dxloc = StationData.Database.LocationFind(call, loc);
+ if (dxloc != null)
{
- // try to find last recent locator from database and add to watchlist
- LocationDesignator dxcall = StationData.Database.LocationFindLastRecent(lvi.Text);
- if (dxcall != null)
- {
- double qrb = LatLon.Distance(Properties.Settings.Default.MyLat, Properties.Settings.Default.MyLon, dxcall.Lat, dxcall.Lon);
- Properties.Settings.Default.Watchlist.Add(new WatchlistItem(dxcall.Call, dxcall.Loc, qrb > Properties.Settings.Default.Path_MaxLength));
- }
+ oor = LatLon.Distance(Properties.Settings.Default.MyLat, Properties.Settings.Default.MyLon, dxloc.Lat, dxloc.Lon) > Properties.Settings.Default.Path_MaxLength;
}
+ // add call to watch list
+ WatchlistItem item = new WatchlistItem(call, loc, oor);
+ Properties.Settings.Default.Watchlist.Add(item);
}
- // remove the rest of items
- Properties.Settings.Default.Watchlist.RemoveAll(item => item.Remove);
- // refersh watchlist view
+ // reselect previously selected
+ foreach (string checkedcall in checkedcalls)
+ {
+ int index = Properties.Settings.Default.Watchlist.IndexOf(checkedcall);
+ if (index >= 0)
+ Properties.Settings.Default.Watchlist[index].Checked = true;
+ }
+ // refresh watchlist view
RefreshWatchlistView();
}
}
@@ -5749,7 +5840,7 @@ namespace AirScout
int mins = 0;
if (planeinfo.Speed > 0)
mins = (int)(planeinfo.IntQRB / (double)planeinfo.Speed / 1.852 * 60.0);
- planes = planes + planeinfo.Call + "," + planeinfo.Category + "," + ((int)planeinfo.IntQRB).ToString() + "," + planeinfo.Potential.ToString() + "," + mins.ToString() + ",";
+ planes = planes + planeinfo.Call + "," + PlaneCategories.GetShortStringValue(planeinfo.Category) + "," + ((int)planeinfo.IntQRB).ToString() + "," + planeinfo.Potential.ToString() + "," + mins.ToString() + ",";
count++;
}
}
@@ -6557,6 +6648,8 @@ namespace AirScout
}
else
{
+ // stop background thread
+ bw_NewsFeed.CancelAsync();
// report website changes
DateTime dt = (DateTime)e.UserState;
if (!SupportFunctions.IsMono)
@@ -6568,31 +6661,24 @@ namespace AirScout
if (wb_News != null)
wb_News.Refresh();
tc_Map.SelectedTab = tp_News;
- // save time to settings
- Properties.Settings.Default.News_LastUpdate = dt;
}
catch (Exception ex)
{
// do nothing if wb_News fails to refresh
}
}
+ // save time to settings
+ Properties.Settings.Default.News_LastUpdate = dt;
}
else
{
- if (MessageBox.Show("There are news on the website. Latest update: " + dt.ToString() + "\n Do you want to read it now?\n\n Under Linux/Mono open web browser of your choice and goto: \n" + Properties.Settings.Default.News_URL + "\n\n", "Website News", MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.Yes)
- {
- try
- {
- // save time to settings
- Properties.Settings.Default.News_LastUpdate = dt;
- }
- catch (Exception ex)
- {
- // do nothing if wb_News fails to refresh
- }
- }
+ MessageBox.Show("There are news on the website. Latest update: " + dt.ToString() + "\n Do you want to read it now?\n\n Under Linux/Mono open web browser of your choice and goto: \n" + Properties.Settings.Default.News_URL + "\n\n", "Website News", MessageBoxButtons.YesNo);
+ // save time to settings
+ Properties.Settings.Default.News_LastUpdate = dt;
}
+ // restart background thread
+ bw_NewsFeed.RunWorkerAsync();
}
}
@@ -7540,6 +7626,28 @@ namespace AirScout
{
}
+
+ private void tc_Main_Selecting(object sender, TabControlCancelEventArgs e)
+ {
+ // cancel tab change when in PLAY mode
+ if (PlayMode == AIRSCOUTPLAYMODE.FORWARD)
+ e.Cancel = true;
+ }
+
+ private void tc_Map_Selecting(object sender, TabControlCancelEventArgs e)
+ {
+ // cancel tab change when in PLAY mode
+ if (PlayMode == AIRSCOUTPLAYMODE.FORWARD)
+ e.Cancel = true;
+ }
+
+ private void tc_Control_Selecting(object sender, TabControlCancelEventArgs e)
+ {
+ // cancel tab change when in PLAY mode
+ if (PlayMode == AIRSCOUTPLAYMODE.FORWARD)
+ e.Cancel = true;
+ }
+
}
diff --git a/AirScout/MapDlg.resx b/AirScout/MapDlg.resx
index e2b5038..49427b5 100644
--- a/AirScout/MapDlg.resx
+++ b/AirScout/MapDlg.resx
@@ -125,7 +125,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACc
- DQAAAk1TRnQBSQFMAgEBAwEAATgBCwE4AQsBIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
+ DQAAAk1TRnQBSQFMAgEBAwEAAWgBCwFoAQsBIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABgAMAASADAAEBAQABCAYAARAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
@@ -340,7 +340,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACM
- DAAAAk1TRnQBSQFMAwEBAAGgAQkBoAEJASABAAEgAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA
+ DAAAAk1TRnQBSQFMAwEBAAHQAQkB0AEJASABAAEgAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA
AYADAAEgAwABAQEAAQgGAAEQGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHAAdwBwAEA
AfABygGmAQABMwUAATMBAAEzAQABMwEAAjMCAAMWAQADHAEAAyIBAAMpAQADVQEAA00BAANCAQADOQEA
AYABfAH/AQACUAH/AQABkwEAAdYBAAH/AewBzAEAAcYB1gHvAQAB1gLnAQABkAGpAa0CAAH/ATMDAAFm
diff --git a/AirScout/OptionsDlg.Designer.cs b/AirScout/OptionsDlg.Designer.cs
index 0911f24..312ff00 100644
--- a/AirScout/OptionsDlg.Designer.cs
+++ b/AirScout/OptionsDlg.Designer.cs
@@ -41,15 +41,25 @@
this.pb_Donate = new System.Windows.Forms.PictureBox();
this.btn_Options_DeleteAllElevationPaths = new System.Windows.Forms.Button();
this.btn_Options_DeleteAllPropagationPaths = new System.Windows.Forms.Button();
+ this.cb_Options_Path_BestCaseElevation = new System.Windows.Forms.CheckBox();
+ this.cb_Options_Planes_KeepHistory = new System.Windows.Forms.CheckBox();
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();
@@ -57,6 +67,8 @@
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();
@@ -85,6 +97,7 @@
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.tb_Options_Path_MaxLength = new ScoutBase.Core.DoubleTextBox();
this.label131 = new System.Windows.Forms.Label();
this.label130 = new System.Windows.Forms.Label();
this.tb_Options_Path_StepWidth = new System.Windows.Forms.TextBox();
@@ -99,6 +112,8 @@
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();
@@ -107,6 +122,8 @@
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();
@@ -115,12 +132,23 @@
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.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.cb_Options_Map_LabelCalls = new System.Windows.Forms.CheckBox();
+ this.cb_Options_Map_SmallMarkers = 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();
@@ -131,10 +159,23 @@
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();
@@ -171,13 +212,17 @@
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();
@@ -193,6 +238,7 @@
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();
@@ -204,12 +250,18 @@
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();
this.label59 = new System.Windows.Forms.Label();
this.label60 = new System.Windows.Forms.Label();
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.btn_Options_Watchlist_Manage = new System.Windows.Forms.Button();
this.label31 = new System.Windows.Forms.Label();
this.tc_Options = new System.Windows.Forms.TabControl();
@@ -220,7 +272,9 @@
this.groupBox15 = new System.Windows.Forms.GroupBox();
this.label105 = 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();
@@ -279,41 +333,70 @@
this.label49 = new System.Windows.Forms.Label();
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.tc_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_Info = new System.Windows.Forms.TabPage();
this.label30 = new System.Windows.Forms.Label();
this.label45 = new System.Windows.Forms.Label();
@@ -339,93 +422,11 @@
this.bw_SRTM1_MapUpdater = new System.ComponentModel.BackgroundWorker();
this.bw_GLOBE_MapUpdater = new System.ComponentModel.BackgroundWorker();
this.bw_StationDataUpdater = new System.ComponentModel.BackgroundWorker();
- 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_Watchlist_SyncWithKST = new System.Windows.Forms.CheckBox();
- this.tb_Options_Watchlist_MaxCount = new ScoutBase.Core.Int32TextBox();
- 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_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.tb_Options_Map_Update_Interval = new ScoutBase.Core.Int32TextBox();
- this.cb_Options_Map_LabelCalls = new System.Windows.Forms.CheckBox();
- this.cb_Options_Map_SmallMarkers = 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.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();
((System.ComponentModel.ISupportInitialize)(this.pb_Donate)).BeginInit();
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();
@@ -458,6 +459,7 @@
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();
@@ -470,6 +472,7 @@
this.groupBox27.SuspendLayout();
this.groupBox15.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_Alarm.SuspendLayout();
this.groupBox21.SuspendLayout();
@@ -489,9 +492,6 @@
this.groupBox28.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_Planes_Position_DatabaseLifetime)).BeginInit();
this.SuspendLayout();
//
// btn_Options_OK
@@ -613,6 +613,40 @@
this.btn_Options_DeleteAllPropagationPaths.UseVisualStyleBackColor = true;
this.btn_Options_DeleteAllPropagationPaths.Click += new System.EventHandler(this.btn_Options_DeleteAllPropagationPaths_Click);
//
+ // 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.toolTip1.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.toolTip1.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;
+ //
// tab_Options_Planes
//
this.tab_Options_Planes.BackColor = System.Drawing.SystemColors.Control;
@@ -645,6 +679,20 @@
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;
@@ -655,6 +703,34 @@
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;
@@ -665,6 +741,19 @@
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);
@@ -689,6 +778,26 @@
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
//
@@ -729,6 +838,48 @@
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;
@@ -807,6 +958,34 @@
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;
@@ -873,11 +1052,6 @@
this.cb_Options_Planes_Filter_Min_Cat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_Options_Planes_Filter_Min_Cat.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cb_Options_Planes_Filter_Min_Cat.FormattingEnabled = true;
- this.cb_Options_Planes_Filter_Min_Cat.Items.AddRange(new object[] {
- "Light",
- "Medium",
- "Heavy",
- "Super"});
this.cb_Options_Planes_Filter_Min_Cat.Location = new System.Drawing.Point(192, 115);
this.cb_Options_Planes_Filter_Min_Cat.Name = "cb_Options_Planes_Filter_Min_Cat";
this.cb_Options_Planes_Filter_Min_Cat.Size = new System.Drawing.Size(77, 24);
@@ -1141,6 +1315,20 @@
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Path Options";
//
+ // 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;
+ //
// label131
//
this.label131.AutoSize = true;
@@ -1311,6 +1499,34 @@
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;
@@ -1418,6 +1634,34 @@
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;
@@ -1525,6 +1769,36 @@
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;
@@ -1555,6 +1829,20 @@
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(121, 18);
+ 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;
@@ -1589,6 +1877,62 @@
this.groupBox23.TabStop = false;
this.groupBox23.Text = "General ";
//
+ // 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(202, 39);
+ this.cb_Options_Map_LabelCalls.Name = "cb_Options_Map_LabelCalls";
+ this.cb_Options_Map_LabelCalls.Size = new System.Drawing.Size(167, 17);
+ this.cb_Options_Map_LabelCalls.TabIndex = 3;
+ this.cb_Options_Map_LabelCalls.Text = "Label calls in Multi-Path Mode";
+ this.cb_Options_Map_LabelCalls.UseVisualStyleBackColor = true;
+ //
+ // 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(15, 41);
+ this.cb_Options_Map_SmallMarkers.Name = "cb_Options_Map_SmallMarkers";
+ this.cb_Options_Map_SmallMarkers.Size = new System.Drawing.Size(183, 17);
+ this.cb_Options_Map_SmallMarkers.TabIndex = 2;
+ this.cb_Options_Map_SmallMarkers.Text = "Small Markers in Multi-Path Mode";
+ this.cb_Options_Map_SmallMarkers.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(202, 17);
+ this.cb_Options_Watchlist_Activate.Name = "cb_Options_Watchlist_Activate";
+ this.cb_Options_Watchlist_Activate.Size = new System.Drawing.Size(183, 17);
+ this.cb_Options_Watchlist_Activate.TabIndex = 1;
+ this.cb_Options_Watchlist_Activate.Text = "Show Calls from Watchlist in Map";
+ 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);
@@ -1608,6 +1952,62 @@
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(81, 103);
+ 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(81, 78);
+ 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(81, 53);
+ 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(81, 28);
+ 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;
@@ -1719,6 +2119,153 @@
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);
@@ -1735,6 +2282,35 @@
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;
@@ -1766,6 +2342,17 @@
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(417, 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);
@@ -2186,6 +2773,34 @@
this.groupBox14.TabStop = false;
this.groupBox14.Text = "Locator 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(12, 58);
+ this.cb_Options_SmallLettersForSubSquares.Name = "cb_Options_SmallLettersForSubSquares";
+ this.cb_Options_SmallLettersForSubSquares.Size = new System.Drawing.Size(177, 17);
+ this.cb_Options_SmallLettersForSubSquares.TabIndex = 11;
+ this.cb_Options_SmallLettersForSubSquares.Text = "Use 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;
@@ -2196,6 +2811,31 @@
this.label48.TabIndex = 1;
this.label48.Text = "Number of digits on maps and in all text boxes (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(281, 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);
@@ -2282,6 +2922,21 @@
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;
@@ -2464,6 +3119,21 @@
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;
@@ -2593,6 +3263,66 @@
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(535, 351);
+ 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(535, 326);
+ 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(535, 299);
+ 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(535, 272);
+ 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;
@@ -2671,6 +3401,39 @@
this.groupBox17.TabStop = false;
this.groupBox17.Text = "Watchlist";
//
+ // 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, 37);
+ 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, 13);
+ 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_Watchlist_Manage
//
this.btn_Options_Watchlist_Manage.Enabled = false;
@@ -2806,6 +3569,20 @@
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(5, 90);
+ 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;
@@ -2816,6 +3593,26 @@
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(263, 68);
+ 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;
@@ -3460,6 +4257,20 @@
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);
@@ -3472,6 +4283,21 @@
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;
@@ -3499,6 +4325,20 @@
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;
@@ -3559,6 +4399,20 @@
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;
@@ -3581,6 +4435,20 @@
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)));
@@ -3604,6 +4472,20 @@
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;
@@ -3624,6 +4506,18 @@
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;
@@ -3661,6 +4555,48 @@
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;
@@ -3721,6 +4657,18 @@
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;
@@ -3750,6 +4698,32 @@
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;
+ //
// tc_Track
//
this.tc_Track.BackColor = System.Drawing.SystemColors.Control;
@@ -3778,6 +4752,49 @@
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);
@@ -3790,6 +4807,35 @@
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);
@@ -3807,6 +4853,34 @@
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;
@@ -3827,6 +4901,50 @@
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);
@@ -3844,6 +4962,35 @@
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;
@@ -3864,6 +5011,46 @@
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);
@@ -3876,6 +5063,20 @@
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_Info
//
this.tab_Options_Info.BackColor = System.Drawing.SystemColors.Control;
@@ -4138,1212 +5339,6 @@
this.bw_StationDataUpdater.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.bw_StationDataUpdater_ProgressChanged);
this.bw_StationDataUpdater.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bw_StationDataUpdater_RunWorkerCompleted);
//
- // 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(535, 351);
- 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(535, 326);
- 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(535, 299);
- 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(535, 272);
- 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_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, 37);
- 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, 13);
- 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;
- //
- // 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(5, 90);
- 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(263, 68);
- 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_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(12, 58);
- this.cb_Options_SmallLettersForSubSquares.Name = "cb_Options_SmallLettersForSubSquares";
- this.cb_Options_SmallLettersForSubSquares.Size = new System.Drawing.Size(177, 17);
- this.cb_Options_SmallLettersForSubSquares.TabIndex = 11;
- this.cb_Options_SmallLettersForSubSquares.Text = "Use 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(281, 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);
- //
- // 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(121, 18);
- 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;
- //
- // 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(202, 39);
- this.cb_Options_Map_LabelCalls.Name = "cb_Options_Map_LabelCalls";
- this.cb_Options_Map_LabelCalls.Size = new System.Drawing.Size(167, 17);
- this.cb_Options_Map_LabelCalls.TabIndex = 3;
- this.cb_Options_Map_LabelCalls.Text = "Label calls in Multi-Path Mode";
- this.cb_Options_Map_LabelCalls.UseVisualStyleBackColor = true;
- //
- // 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(15, 41);
- this.cb_Options_Map_SmallMarkers.Name = "cb_Options_Map_SmallMarkers";
- this.cb_Options_Map_SmallMarkers.Size = new System.Drawing.Size(183, 17);
- this.cb_Options_Map_SmallMarkers.TabIndex = 2;
- this.cb_Options_Map_SmallMarkers.Text = "Small Markers in Multi-Path Mode";
- this.cb_Options_Map_SmallMarkers.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(202, 17);
- this.cb_Options_Watchlist_Activate.Name = "cb_Options_Watchlist_Activate";
- this.cb_Options_Watchlist_Activate.Size = new System.Drawing.Size(183, 17);
- this.cb_Options_Watchlist_Activate.TabIndex = 1;
- this.cb_Options_Watchlist_Activate.Text = "Show Calls from Watchlist in Map";
- 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(81, 103);
- 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(81, 78);
- 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(81, 53);
- 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(81, 28);
- 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(417, 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;
- //
- // 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.toolTip1.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.toolTip1.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(145, 17);
- this.cb_Options_Server_Activate.TabIndex = 1;
- this.cb_Options_Server_Activate.Tag = "";
- this.cb_Options_Server_Activate.Text = "Activate Nertwork 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;
- //
// OptionsDlg
//
this.AcceptButton = this.btn_Options_OK;
@@ -5367,6 +5362,7 @@
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);
@@ -5420,6 +5416,7 @@
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();
@@ -5438,6 +5435,7 @@
this.groupBox15.ResumeLayout(false);
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_Alarm.ResumeLayout(false);
@@ -5472,9 +5470,6 @@
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_Planes_Position_DatabaseLifetime)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/AirScout/OptionsDlg.cs b/AirScout/OptionsDlg.cs
index 15cdd9e..d6df9ba 100644
--- a/AirScout/OptionsDlg.cs
+++ b/AirScout/OptionsDlg.cs
@@ -235,32 +235,41 @@ namespace AirScout
private void btn_Options_Watchlist_Manage_Click(object sender, EventArgs e)
{
+ // sync watchlist, try to keep previously checked calls
+ // you can have a call only once in the watch list
+ List checkedcalls = new List();
+ foreach (WatchlistItem item in Properties.Settings.Default.Watchlist)
+ {
+ if (item.Checked)
+ checkedcalls.Add(item.Call);
+ }
WatchlistDlg Dlg = new WatchlistDlg();
if (Dlg.ShowDialog() == DialogResult.OK)
{
- // sync watchlist
- foreach (WatchlistItem item in Properties.Settings.Default.Watchlist)
- item.Remove = true;
- foreach (ListViewItem lvi in Dlg.lv_Watchlist_Selected.Items)
+ // clear watch list
+ Properties.Settings.Default.Watchlist.Clear();
+ foreach (DataGridViewRow row in Dlg.dgv_Watchlist_Selected.Rows)
{
- // search item in watchlist
- int index = Properties.Settings.Default.Watchlist.IndexOf(lvi.Text);
- // reset remove flag if found, create and add new entry if not
- if (index >= 0)
- Properties.Settings.Default.Watchlist[index].Remove = false;
- else
+ string call = row.Cells[0].Value.ToString();
+ string loc = row.Cells[1].Value.ToString();
+ bool oor = true;
+ // try to get the location from database
+ LocationDesignator dxloc = StationData.Database.LocationFind(call, loc);
+ if (dxloc != null)
{
- // try to find last recent locator from database and add to watchlist
- LocationDesignator dxcall = StationData.Database.LocationFindLastRecent(lvi.Text);
- if (dxcall != null)
- {
- double qrb = LatLon.Distance(Properties.Settings.Default.MyLat, Properties.Settings.Default.MyLon, dxcall.Lat, dxcall.Lon);
- Properties.Settings.Default.Watchlist.Add(new WatchlistItem(dxcall.Call, dxcall.Loc, qrb > Properties.Settings.Default.Path_MaxLength));
- }
+ oor = LatLon.Distance(Properties.Settings.Default.MyLat, Properties.Settings.Default.MyLon, dxloc.Lat, dxloc.Lon) > Properties.Settings.Default.Path_MaxLength;
}
+ // add call to watch list
+ WatchlistItem item = new WatchlistItem(call, loc, oor);
+ Properties.Settings.Default.Watchlist.Add(item);
+ }
+ // reselect previously selected
+ foreach (string checkedcall in checkedcalls)
+ {
+ int index = Properties.Settings.Default.Watchlist.IndexOf(checkedcall);
+ if (index >= 0)
+ Properties.Settings.Default.Watchlist[index].Checked = true;
}
- // remove the rest of items
- Properties.Settings.Default.Watchlist.RemoveAll(item => item.Remove);
}
}
@@ -2058,19 +2067,32 @@ namespace AirScout
private void tab_Options_Info_Enter(object sender, EventArgs e)
{
- // populate link labels
- lbl_Options_Version.Text = "Version: " + Application.ProductVersion;
- lbl_Options_Map.Text = "GMap.NET Copyright (c) 2008 - 2011 Universe";
- lbl_Options_Map.Links.Add(0, 8, "http://greatmaps.codeplex.com/");
- lbl_Options_Spherical.Text = "http://www.movable-type.co.uk/scripts/latlong.html";
- lbl_Options_Spherical.Links.Add(0, lbl_Options_Spherical.Text.Length - 1, "http://www.movable-type.co.uk/scripts/latlong.html");
- lbl_Options_Elevation_GLOBE.Text = "1km based Elevation Data from GLOBE - Project";
- lbl_Options_Elevation_GLOBE.Links.Add(30, 5, "http://www.ngdc.noaa.gov/mgg/topo/globe.html");
- lbl_Options_Elevation_SRTM3.Text = "3arsec (90m x 90m) Elevation Data from SRTM - Project";
- lbl_Options_Elevation_SRTM3.Links.Add(40, 14, "http://srtm.usgs.gov/");
- lbl_Options_Elevation_SRTM1.Text = "1arsec (30m x 30m) Elevation Data from SRTM - Project and ASTER";
- lbl_Options_Elevation_SRTM1.Links.Add(40, 14, "http://srtm.usgs.gov");
- lbl_Options_Elevation_SRTM1.Links.Add(58, 6, "http://asterweb.jpl.nasa.gov/index.asp");
+ try
+ {
+ // clear links first
+ lbl_Options_Map.Links.Clear();
+ lbl_Options_Spherical.Links.Clear();
+ lbl_Options_Elevation_GLOBE.Links.Clear();
+ lbl_Options_Elevation_SRTM3.Links.Clear();
+ lbl_Options_Elevation_SRTM1.Links.Clear();
+ // populate link labels
+ lbl_Options_Version.Text = "Version: " + Application.ProductVersion;
+ lbl_Options_Map.Text = "GMap.NET Copyright (c) 2008 - 2011 Universe";
+ lbl_Options_Map.Links.Add(0, 8, "http://greatmaps.codeplex.com/");
+ lbl_Options_Spherical.Text = "http://www.movable-type.co.uk/scripts/latlong.html";
+ lbl_Options_Spherical.Links.Add(0, lbl_Options_Spherical.Text.Length - 1, "http://www.movable-type.co.uk/scripts/latlong.html");
+ lbl_Options_Elevation_GLOBE.Text = "1km based Elevation Data from GLOBE - Project";
+ lbl_Options_Elevation_GLOBE.Links.Add(30, 5, "http://www.ngdc.noaa.gov/mgg/topo/globe.html");
+ lbl_Options_Elevation_SRTM3.Text = "3arsec (90m x 90m) Elevation Data from SRTM - Project";
+ lbl_Options_Elevation_SRTM3.Links.Add(40, 14, "http://srtm.usgs.gov/");
+ lbl_Options_Elevation_SRTM1.Text = "1arsec (30m x 30m) Elevation Data from SRTM - Project and ASTER";
+ lbl_Options_Elevation_SRTM1.Links.Add(40, 14, "http://srtm.usgs.gov");
+ lbl_Options_Elevation_SRTM1.Links.Add(58, 6, "http://asterweb.jpl.nasa.gov/index.asp");
+ }
+ catch (Exception ex)
+ {
+ Log.WriteMessage(ex.ToString());
+ }
}
diff --git a/AirScout/Properties/AssemblyInfo.cs b/AirScout/Properties/AssemblyInfo.cs
index a939724..fc67a64 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.0.7")]
-[assembly: AssemblyFileVersion("1.3.0.7")]
+[assembly: AssemblyVersion("1.3.1.0")]
+[assembly: AssemblyFileVersion("1.3.1.0")]
diff --git a/AirScout/Readme_Linux.txt b/AirScout/Readme_Linux.txt
index f6b8cd3..32ec3ba 100644
--- a/AirScout/Readme_Linux.txt
+++ b/AirScout/Readme_Linux.txt
@@ -41,6 +41,8 @@ To get ist running on your system, please follow the steps below
- Settings upgrade from previous versions do not work, always use default settings when upgrading
- database view for maintenance does not work --> SQLite-DataAdapter issues
- Program sometimes does not close properly, stops working while saving settings to disk
+- dropdowns for callsigns and locators disappear on startup on some configurations (seems to be a graphics issue) --> try to resize window to get them back
+- filling the watch list ith calsigns is taking ages.
diff --git a/AirScout/Splash.Designer.cs b/AirScout/Splash.Designer.cs
index ee5fac7..f3ed7b0 100644
--- a/AirScout/Splash.Designer.cs
+++ b/AirScout/Splash.Designer.cs
@@ -28,8 +28,11 @@
///
private void InitializeComponent()
{
+ this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Splash));
this.pb_Main = new System.Windows.Forms.PictureBox();
+ this.ti_Close = new System.Windows.Forms.Timer(this.components);
+ this.ti_Animation = new System.Windows.Forms.Timer(this.components);
((System.ComponentModel.ISupportInitialize)(this.pb_Main)).BeginInit();
this.SuspendLayout();
//
@@ -43,6 +46,19 @@
this.pb_Main.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pb_Main.TabIndex = 0;
this.pb_Main.TabStop = false;
+ this.pb_Main.Paint += new System.Windows.Forms.PaintEventHandler(this.pb_Main_Paint);
+ //
+ // ti_Close
+ //
+ this.ti_Close.Enabled = true;
+ this.ti_Close.Interval = 60000;
+ this.ti_Close.Tick += new System.EventHandler(this.ti_Close_Tick);
+ //
+ // ti_Animation
+ //
+ this.ti_Animation.Enabled = true;
+ this.ti_Animation.Interval = 20;
+ this.ti_Animation.Tick += new System.EventHandler(this.ti_Animation_Tick);
//
// Splash
//
@@ -59,6 +75,7 @@
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Splash";
+ this.TopMost = true;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Splash_FormClosing);
this.Load += new System.EventHandler(this.Splash_Load);
((System.ComponentModel.ISupportInitialize)(this.pb_Main)).EndInit();
@@ -69,5 +86,7 @@
#endregion
private System.Windows.Forms.PictureBox pb_Main;
+ private System.Windows.Forms.Timer ti_Close;
+ private System.Windows.Forms.Timer ti_Animation;
}
}
\ No newline at end of file
diff --git a/AirScout/Splash.cs b/AirScout/Splash.cs
index 50e7f27..7c38c3b 100644
--- a/AirScout/Splash.cs
+++ b/AirScout/Splash.cs
@@ -13,6 +13,7 @@ namespace AirScout
{
public partial class Splash : Form
{
+ Label version;
Label status;
// Define the CS_DROPSHADOW constant
@@ -26,8 +27,10 @@ namespace AirScout
CreateParams cp = base.CreateParams;
// change window style to dropshadow
// does not work under Linux/Mono
+ /*
if (!SupportFunctions.IsMono)
cp.ClassStyle |= CS_DROPSHADOW;
+ */
return cp;
}
}
@@ -41,6 +44,7 @@ namespace AirScout
FormBorderStyle = FormBorderStyle.None;
else
FormBorderStyle = FormBorderStyle.FixedSingle;
+ // initialize status label
status = new Label();
status.Parent = pb_Main;
status.BackColor = Color.Transparent;
@@ -50,6 +54,8 @@ namespace AirScout
status.Width = 350;
status.Font = new System.Drawing.Font(this.Font, FontStyle.Italic);
status.TextAlign = ContentAlignment.MiddleCenter;
+ // set to full transparent view at first;
+ Opacity = 0;
}
public void Status(string s)
@@ -67,10 +73,43 @@ namespace AirScout
private void Splash_Load(object sender, EventArgs e)
{
+ // start close timer
+ ti_Close.Start();
+ // start animation timer
+ ti_Animation.Start();
}
private void Splash_FormClosing(object sender, FormClosingEventArgs e)
{
+ // stop timers
+ ti_Animation.Stop();
+ ti_Close.Stop();
+ }
+
+ private void ti_Close_Tick(object sender, EventArgs e)
+ {
+ // close form immediately if not closed by main form
+ this.Close();
+ }
+
+ private void ti_Animation_Tick(object sender, EventArgs e)
+ {
+ if (this.Opacity < 1)
+ {
+ this.Opacity += 0.01;
+ ti_Animation.Start();
+ }
+ }
+
+ private void pb_Main_Paint(object sender, PaintEventArgs e)
+ {
+ // show Version
+ string text = "Version " + Application.ProductVersion;
+ using (Font myFont = new System.Drawing.Font(this.Font.FontFamily, 24, FontStyle.Bold | FontStyle.Italic))
+ {
+ e.Graphics.DrawString(text, myFont, Brushes.DimGray, new Point(140, 10));
+ e.Graphics.DrawString(text, myFont, Brushes.White, new Point(140-2, 10-2));
+ }
}
}
}
diff --git a/AirScout/Splash.resx b/AirScout/Splash.resx
index 0262d6e..383af98 100644
--- a/AirScout/Splash.resx
+++ b/AirScout/Splash.resx
@@ -117,6 +117,12 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 17, 17
+
+
+ 110, 17
+
diff --git a/AirScout/TooltipDataPoint.cs b/AirScout/TooltipDataPoint.cs
new file mode 100644
index 0000000..9854632
--- /dev/null
+++ b/AirScout/TooltipDataPoint.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using OxyPlot;
+
+namespace AirScout
+{
+ public class TooltipDataPoint : IDataPointProvider
+ {
+ public double X { get; set; }
+ public double Y { get; set; }
+ public string Tooltip { get; set; }
+ public DataPoint GetDataPoint() => new DataPoint(X, Y);
+
+ public TooltipDataPoint(double x, double y, string tooltip)
+ {
+ X = x;
+ Y = y;
+ Tooltip = tooltip;
+ }
+ }
+}
diff --git a/AirScout/VersionHistory.txt b/AirScout/VersionHistory.txt
index 7373176..3066c3c 100644
--- a/AirScout/VersionHistory.txt
+++ b/AirScout/VersionHistory.txt
@@ -170,7 +170,7 @@ Initial Version
- Bugfix: Users cannot click on a single plane to show info permanently when in PLAY mode, also no tracking of a single plane is possible --> fixed (tnx IN3UPQ)
- Bugfix: Calculation of elevation angle is wrong, always showing abt. 0°, tracking not working --> fixed (tnx IN3UPQ)
-2020-xx-xx: V1.3.0.7
+2020-02-12: V1.3.0.7
====================
- Bugfix: The AirScout_clean.cmd does not work properly when trying to cleanup files (database files are locked) --> fixed
@@ -178,11 +178,34 @@ Initial Version
- Bugfix: Watchlist in multi-path mode always scrolls back to top position after watchlist is updated, watchlist is getting inoperable on large amounts of calls --> fixed
- Bugfix: Sometimes a MemoryCounter could not created by the system, Exception will occur and AirScout will not start --> fixed
- Feature: Create a progress indicator while creating elevation tile catalogue --> number of tiles processed is displayed now (tnx DL8AAU)
-- Feature: colour checked items in watch list according to their AS potential (tnx DF9IC)
+- Feature: colour checked items in watch list according to their AS potential (tnx DF5HS)
- Feature: Sort selected items to the top of watch list to better view all selected items at once
-- Feature: label checked items from watch list in map premantently when in Multi-Path Mode (call sign only) (tnx DF9IC)
+- Feature: label checked items from watch list in map premantently when in Multi-Path Mode (call sign only) (tnx DF5HS)
- Bugfix: several minor bugs when managing watch list (calls not sorted, multiple adding adding possible) --> fixed (tnx DL8AAU)
+2020-xx-xx: V1.3.0.8 (not published)
+====================
+- Bugfix: The calculation of free disk space does not work on some Linux configurations, unable to load elevation tiles --> fixed with workaround (tnx G8JVM)
+- Bugfix: Somtimes unable to set own callsign in First Run Wizard on Linux (when own callsign is not in database) --> fixed (tnx (G8JVM)
+- Bugfix: Window splitter position not set properly when starting up after First Run Wizard or when starting on Linux
+- Feature: Manage watch list dialog is slow, filling the list boxes is taking ages (especially on Linux/Mono)--> create a background worker and show progress while loading (tnx G8JVM)
+- Feature: Watch list is now sorted on selected calls first when in Play mode, coloured checkboxes are showing AS potential (tnx DH5FS)
+- Bugfix: Multiple dialog boxes "There are news on the website..." are showing if no user reaaction happend after some minutes --> fixed
+- Bugfix: Planes Minimal Category Filter Boxes are showing all categories twice --> fixed (tnx S51ML)
+- Bugfix: UDP-Server (for wtKST or similar) delivers full plane category string (e.g. "MEDIUM") in ASNEAREST message instead of one character (e.g. "M") --> fixed (tnx S51ML)
+2020-03-01: V1.3.1.0
+====================
+
+- Bugfix: AirportMapper does not work, Airports were not shown on the map anymore --> fixed (tnx OZ9GE)
+- Feature: complete rework of watchlist dialog, now changed from ListView to DataGridView (which is much faster), additionally show locator (tnx G8JVM, DH5FS, OZ9GE)
+- Bugfix: Aircraft labels were not shown on the elevation tab anymore (tab was disabled while in PLAY mode) --> fixed, now showing again on Left+Click (tnx OZ9GE)
+- Bugfix: ProgressTimer overflow under heavy load (especially when too many planes or paths are to display on slow systems) --> fixed (timer is stopped now and restarted not until update is performed)
+- Bugfix: do not disable whole tab controls while in PLAY mode, allow some user action and display changes --> fixed (change of tabs in tab control is now blocked by other means)
+- Feature: Rework of watch list in main window, showing potential now in full color, last selected call in MULTI mode is automatically transferred as selected call for SINGLE mode (tnx GM3SEK)
+- Feature: rework of splash window at startup, showing software version now
+- Bugfix: Planefinder web feed stopped working --> fixed (tnx F8AIH)
+- Feature: New web feed from OpenSky Network implenented (a free community)
+- Bugfix: AirScout crashed when the "Info" tab in the "Options" dialog box is opened twice after doing some other stuff --> fixed (tnx G0LGS)
diff --git a/AirScout/Watchlist.cs b/AirScout/Watchlist.cs
index 5787b7d..0a1b04c 100644
--- a/AirScout/Watchlist.cs
+++ b/AirScout/Watchlist.cs
@@ -28,7 +28,7 @@ namespace AirScout
}
public WatchlistItem(string call, string loc, bool oor) : this(call, loc, oor, false, false) { }
- public WatchlistItem(string call, string loc, bool check, bool oor, bool selected )
+ public WatchlistItem(string call, string loc, bool oor, bool check, bool selected )
{
Call = call;
Loc = loc;
diff --git a/AirScout/WatchlistDlg.Designer.cs b/AirScout/WatchlistDlg.Designer.cs
index cb31cb8..18b8092 100644
--- a/AirScout/WatchlistDlg.Designer.cs
+++ b/AirScout/WatchlistDlg.Designer.cs
@@ -29,10 +29,8 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
- this.lv_Watchlist_Callsigns = new System.Windows.Forms.ListView();
- this.ch_Watchlist_Callsgings_Call = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
- this.lv_Watchlist_Selected = new System.Windows.Forms.ListView();
- this.ch_Watchlist_Selected_Calls = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
this.ss_Watchlist_Main = new System.Windows.Forms.StatusStrip();
this.tsl_Watchlist_Main = new System.Windows.Forms.ToolStripStatusLabel();
this.btn_Watchlist_Add = new System.Windows.Forms.Button();
@@ -42,57 +40,25 @@
this.btn_Watchlist_Cancel = new System.Windows.Forms.Button();
this.btn_Watchlist_OK = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
+ this.tb_Watchlist_Callsigns = new System.Windows.Forms.TextBox();
+ this.tb_Watchlist_Selected = new System.Windows.Forms.TextBox();
+ this.bw_Watchlist_Fill = new System.ComponentModel.BackgroundWorker();
+ this.dgv_Watchlist_Callsigns = new System.Windows.Forms.DataGridView();
+ this.dgv_Watchlist_Selected = new System.Windows.Forms.DataGridView();
+ this.label2 = new System.Windows.Forms.Label();
+ this.label3 = new System.Windows.Forms.Label();
this.ss_Watchlist_Main.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dgv_Watchlist_Callsigns)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dgv_Watchlist_Selected)).BeginInit();
this.SuspendLayout();
//
- // lv_Watchlist_Callsigns
- //
- this.lv_Watchlist_Callsigns.AutoArrange = false;
- this.lv_Watchlist_Callsigns.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
- this.ch_Watchlist_Callsgings_Call});
- this.lv_Watchlist_Callsigns.FullRowSelect = true;
- this.lv_Watchlist_Callsigns.Location = new System.Drawing.Point(12, 50);
- this.lv_Watchlist_Callsigns.Name = "lv_Watchlist_Callsigns";
- this.lv_Watchlist_Callsigns.ShowGroups = false;
- this.lv_Watchlist_Callsigns.Size = new System.Drawing.Size(140, 300);
- this.lv_Watchlist_Callsigns.TabIndex = 2;
- this.lv_Watchlist_Callsigns.UseCompatibleStateImageBehavior = false;
- this.lv_Watchlist_Callsigns.View = System.Windows.Forms.View.Details;
- this.lv_Watchlist_Callsigns.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.lv_Watchlist_Callsigns_MouseDoubleClick);
- //
- // ch_Watchlist_Callsgings_Call
- //
- this.ch_Watchlist_Callsgings_Call.Text = "Available Callsigns";
- this.ch_Watchlist_Callsgings_Call.Width = 118;
- //
- // lv_Watchlist_Selected
- //
- this.lv_Watchlist_Selected.AutoArrange = false;
- this.lv_Watchlist_Selected.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
- this.ch_Watchlist_Selected_Calls});
- this.lv_Watchlist_Selected.FullRowSelect = true;
- this.lv_Watchlist_Selected.Location = new System.Drawing.Point(318, 50);
- this.lv_Watchlist_Selected.Name = "lv_Watchlist_Selected";
- this.lv_Watchlist_Selected.ShowGroups = false;
- this.lv_Watchlist_Selected.Size = new System.Drawing.Size(140, 300);
- this.lv_Watchlist_Selected.Sorting = System.Windows.Forms.SortOrder.Ascending;
- this.lv_Watchlist_Selected.TabIndex = 3;
- this.lv_Watchlist_Selected.UseCompatibleStateImageBehavior = false;
- this.lv_Watchlist_Selected.View = System.Windows.Forms.View.Details;
- this.lv_Watchlist_Selected.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.lv_Watchlist_Selected_MouseDoubleClick);
- //
- // ch_Watchlist_Selected_Calls
- //
- this.ch_Watchlist_Selected_Calls.Text = "Selected Callsigns";
- this.ch_Watchlist_Selected_Calls.Width = 118;
- //
// ss_Watchlist_Main
//
this.ss_Watchlist_Main.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsl_Watchlist_Main});
- this.ss_Watchlist_Main.Location = new System.Drawing.Point(0, 400);
+ this.ss_Watchlist_Main.Location = new System.Drawing.Point(0, 435);
this.ss_Watchlist_Main.Name = "ss_Watchlist_Main";
- this.ss_Watchlist_Main.Size = new System.Drawing.Size(487, 22);
+ this.ss_Watchlist_Main.Size = new System.Drawing.Size(484, 22);
this.ss_Watchlist_Main.TabIndex = 4;
//
// tsl_Watchlist_Main
@@ -103,10 +69,11 @@
//
// btn_Watchlist_Add
//
+ this.btn_Watchlist_Add.Enabled = false;
this.btn_Watchlist_Add.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.btn_Watchlist_Add.Location = new System.Drawing.Point(201, 131);
+ this.btn_Watchlist_Add.Location = new System.Drawing.Point(207, 176);
this.btn_Watchlist_Add.Name = "btn_Watchlist_Add";
- this.btn_Watchlist_Add.Size = new System.Drawing.Size(69, 29);
+ this.btn_Watchlist_Add.Size = new System.Drawing.Size(70, 30);
this.btn_Watchlist_Add.TabIndex = 5;
this.btn_Watchlist_Add.Text = ">";
this.tt_Watchlist_Main.SetToolTip(this.btn_Watchlist_Add, "Add selected call to watchlist.");
@@ -115,10 +82,11 @@
//
// btn_Watchlist_Remove
//
+ this.btn_Watchlist_Remove.Enabled = false;
this.btn_Watchlist_Remove.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.btn_Watchlist_Remove.Location = new System.Drawing.Point(201, 181);
+ this.btn_Watchlist_Remove.Location = new System.Drawing.Point(207, 226);
this.btn_Watchlist_Remove.Name = "btn_Watchlist_Remove";
- this.btn_Watchlist_Remove.Size = new System.Drawing.Size(69, 29);
+ this.btn_Watchlist_Remove.Size = new System.Drawing.Size(70, 30);
this.btn_Watchlist_Remove.TabIndex = 6;
this.btn_Watchlist_Remove.Text = "<";
this.tt_Watchlist_Main.SetToolTip(this.btn_Watchlist_Remove, "Remove selected call from watchlist.");
@@ -127,10 +95,11 @@
//
// btn_Watchlist_RemoveAll
//
+ this.btn_Watchlist_RemoveAll.Enabled = false;
this.btn_Watchlist_RemoveAll.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.btn_Watchlist_RemoveAll.Location = new System.Drawing.Point(201, 229);
+ this.btn_Watchlist_RemoveAll.Location = new System.Drawing.Point(207, 274);
this.btn_Watchlist_RemoveAll.Name = "btn_Watchlist_RemoveAll";
- this.btn_Watchlist_RemoveAll.Size = new System.Drawing.Size(69, 29);
+ this.btn_Watchlist_RemoveAll.Size = new System.Drawing.Size(70, 30);
this.btn_Watchlist_RemoveAll.TabIndex = 7;
this.btn_Watchlist_RemoveAll.Text = "<<";
this.tt_Watchlist_Main.SetToolTip(this.btn_Watchlist_RemoveAll, "Remove all calls from watchlist.");
@@ -140,7 +109,7 @@
// btn_Watchlist_Cancel
//
this.btn_Watchlist_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.btn_Watchlist_Cancel.Location = new System.Drawing.Point(161, 365);
+ this.btn_Watchlist_Cancel.Location = new System.Drawing.Point(147, 402);
this.btn_Watchlist_Cancel.Name = "btn_Watchlist_Cancel";
this.btn_Watchlist_Cancel.Size = new System.Drawing.Size(75, 23);
this.btn_Watchlist_Cancel.TabIndex = 8;
@@ -150,7 +119,8 @@
// btn_Watchlist_OK
//
this.btn_Watchlist_OK.DialogResult = System.Windows.Forms.DialogResult.OK;
- this.btn_Watchlist_OK.Location = new System.Drawing.Point(242, 365);
+ this.btn_Watchlist_OK.Enabled = false;
+ this.btn_Watchlist_OK.Location = new System.Drawing.Point(237, 402);
this.btn_Watchlist_OK.Name = "btn_Watchlist_OK";
this.btn_Watchlist_OK.Size = new System.Drawing.Size(75, 23);
this.btn_Watchlist_OK.TabIndex = 9;
@@ -161,19 +131,129 @@
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(43, 20);
+ this.label1.Location = new System.Drawing.Point(43, 13);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(406, 16);
this.label1.TabIndex = 10;
this.label1.Text = "You can select callsigns from database and set them on a watchlist.";
//
+ // tb_Watchlist_Callsigns
+ //
+ this.tb_Watchlist_Callsigns.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
+ this.tb_Watchlist_Callsigns.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.tb_Watchlist_Callsigns.Location = new System.Drawing.Point(15, 75);
+ this.tb_Watchlist_Callsigns.Name = "tb_Watchlist_Callsigns";
+ this.tb_Watchlist_Callsigns.Size = new System.Drawing.Size(180, 20);
+ this.tb_Watchlist_Callsigns.TabIndex = 11;
+ this.tb_Watchlist_Callsigns.TextChanged += new System.EventHandler(this.tb_Watchlist_Callsigns_TextChanged);
+ //
+ // tb_Watchlist_Selected
+ //
+ this.tb_Watchlist_Selected.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
+ this.tb_Watchlist_Selected.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.tb_Watchlist_Selected.Location = new System.Drawing.Point(288, 75);
+ this.tb_Watchlist_Selected.Name = "tb_Watchlist_Selected";
+ this.tb_Watchlist_Selected.Size = new System.Drawing.Size(180, 20);
+ this.tb_Watchlist_Selected.TabIndex = 12;
+ this.tb_Watchlist_Selected.TextChanged += new System.EventHandler(this.tb_Watchlist_Selected_TextChanged);
+ //
+ // bw_Watchlist_Fill
+ //
+ this.bw_Watchlist_Fill.WorkerReportsProgress = true;
+ this.bw_Watchlist_Fill.WorkerSupportsCancellation = true;
+ this.bw_Watchlist_Fill.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bw_Watchlist_Fill_DoWork);
+ this.bw_Watchlist_Fill.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.bw_Watchlist_Fill_ProgressChanged);
+ this.bw_Watchlist_Fill.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bw_Watchlist_Fill_RunWorkerCompleted);
+ //
+ // dgv_Watchlist_Callsigns
+ //
+ this.dgv_Watchlist_Callsigns.AllowUserToAddRows = false;
+ this.dgv_Watchlist_Callsigns.AllowUserToDeleteRows = false;
+ this.dgv_Watchlist_Callsigns.AllowUserToResizeColumns = false;
+ this.dgv_Watchlist_Callsigns.AllowUserToResizeRows = false;
+ this.dgv_Watchlist_Callsigns.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
+ this.dgv_Watchlist_Callsigns.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
+ this.dgv_Watchlist_Callsigns.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle3.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgv_Watchlist_Callsigns.DefaultCellStyle = dataGridViewCellStyle3;
+ this.dgv_Watchlist_Callsigns.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
+ this.dgv_Watchlist_Callsigns.Location = new System.Drawing.Point(15, 101);
+ this.dgv_Watchlist_Callsigns.Name = "dgv_Watchlist_Callsigns";
+ this.dgv_Watchlist_Callsigns.RowHeadersVisible = false;
+ this.dgv_Watchlist_Callsigns.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
+ this.dgv_Watchlist_Callsigns.Size = new System.Drawing.Size(180, 280);
+ this.dgv_Watchlist_Callsigns.TabIndex = 13;
+ this.dgv_Watchlist_Callsigns.CellContentDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_Watchlist_Callsigns_CellContentDoubleClick);
+ this.dgv_Watchlist_Callsigns.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.dgv_Watchlist_Callsigns_CellPainting);
+ //
+ // dgv_Watchlist_Selected
+ //
+ this.dgv_Watchlist_Selected.AllowUserToAddRows = false;
+ this.dgv_Watchlist_Selected.AllowUserToDeleteRows = false;
+ this.dgv_Watchlist_Selected.AllowUserToResizeColumns = false;
+ this.dgv_Watchlist_Selected.AllowUserToResizeRows = false;
+ this.dgv_Watchlist_Selected.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
+ this.dgv_Watchlist_Selected.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
+ this.dgv_Watchlist_Selected.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle4.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgv_Watchlist_Selected.DefaultCellStyle = dataGridViewCellStyle4;
+ this.dgv_Watchlist_Selected.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
+ this.dgv_Watchlist_Selected.Location = new System.Drawing.Point(288, 101);
+ this.dgv_Watchlist_Selected.Name = "dgv_Watchlist_Selected";
+ this.dgv_Watchlist_Selected.RowHeadersVisible = false;
+ this.dgv_Watchlist_Selected.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
+ this.dgv_Watchlist_Selected.Size = new System.Drawing.Size(180, 280);
+ this.dgv_Watchlist_Selected.TabIndex = 14;
+ this.dgv_Watchlist_Selected.CellContentDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_Watchlist_Selected_CellContentDoubleClick);
+ this.dgv_Watchlist_Selected.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.dgv_Watchlist_Selected_CellPainting);
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Khaki;
+ this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label2.Location = new System.Drawing.Point(15, 42);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(180, 25);
+ this.label2.TabIndex = 15;
+ this.label2.Text = "Availbale Callsigns";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.PaleGreen;
+ this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label3.Location = new System.Drawing.Point(288, 42);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(180, 25);
+ this.label3.TabIndex = 16;
+ this.label3.Text = "Selected Callsigns";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
// WatchlistDlg
//
this.AcceptButton = this.btn_Watchlist_OK;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.btn_Watchlist_Cancel;
- this.ClientSize = new System.Drawing.Size(487, 422);
+ this.ClientSize = new System.Drawing.Size(484, 457);
+ this.Controls.Add(this.label3);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.dgv_Watchlist_Selected);
+ this.Controls.Add(this.dgv_Watchlist_Callsigns);
+ this.Controls.Add(this.tb_Watchlist_Selected);
+ this.Controls.Add(this.tb_Watchlist_Callsigns);
this.Controls.Add(this.label1);
this.Controls.Add(this.btn_Watchlist_OK);
this.Controls.Add(this.btn_Watchlist_Cancel);
@@ -181,24 +261,20 @@
this.Controls.Add(this.btn_Watchlist_Remove);
this.Controls.Add(this.btn_Watchlist_Add);
this.Controls.Add(this.ss_Watchlist_Main);
- this.Controls.Add(this.lv_Watchlist_Selected);
- this.Controls.Add(this.lv_Watchlist_Callsigns);
this.Name = "WatchlistDlg";
this.Text = "Manage Watchlist";
this.Load += new System.EventHandler(this.WatchlistDlg_Load);
this.Shown += new System.EventHandler(this.WatchlistDlg_Shown);
this.ss_Watchlist_Main.ResumeLayout(false);
this.ss_Watchlist_Main.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dgv_Watchlist_Callsigns)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dgv_Watchlist_Selected)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
- private System.Windows.Forms.ColumnHeader ch_Watchlist_Callsgings_Call;
- private System.Windows.Forms.ColumnHeader ch_Watchlist_Selected_Calls;
- public System.Windows.Forms.ListView lv_Watchlist_Callsigns;
- public System.Windows.Forms.ListView lv_Watchlist_Selected;
private System.Windows.Forms.StatusStrip ss_Watchlist_Main;
private System.Windows.Forms.ToolStripStatusLabel tsl_Watchlist_Main;
private System.Windows.Forms.Button btn_Watchlist_Add;
@@ -208,5 +284,12 @@
private System.Windows.Forms.Button btn_Watchlist_Cancel;
private System.Windows.Forms.Button btn_Watchlist_OK;
private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.TextBox tb_Watchlist_Callsigns;
+ private System.Windows.Forms.TextBox tb_Watchlist_Selected;
+ private System.ComponentModel.BackgroundWorker bw_Watchlist_Fill;
+ private System.Windows.Forms.DataGridView dgv_Watchlist_Callsigns;
+ public System.Windows.Forms.DataGridView dgv_Watchlist_Selected;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
}
}
\ No newline at end of file
diff --git a/AirScout/WatchlistDlg.cs b/AirScout/WatchlistDlg.cs
index e341af0..e9dbc9e 100644
--- a/AirScout/WatchlistDlg.cs
+++ b/AirScout/WatchlistDlg.cs
@@ -13,9 +13,20 @@ namespace AirScout
{
public partial class WatchlistDlg : Form
{
+ List AllLocations = new List();
+
+ DataTable AllCallsigns = new DataTable();
+ DataTable SelectedCallsigns = new DataTable();
+
public WatchlistDlg()
{
InitializeComponent();
+ AllCallsigns.Columns.Add("Call");
+ AllCallsigns.Columns.Add("Locator");
+ AllCallsigns.DefaultView.Sort = "Call ASC";
+ SelectedCallsigns.Columns.Add("Call");
+ SelectedCallsigns.Columns.Add("Locator");
+ SelectedCallsigns.DefaultView.Sort = "Call ASC";
}
private void WatchlistDlg_Load(object sender, EventArgs e)
@@ -25,76 +36,209 @@ namespace AirScout
private void WatchlistDlg_Shown(object sender, EventArgs e)
{
- tsl_Watchlist_Main.Text = "Please wait while lists are being populated...";
- ss_Watchlist_Main.Refresh();
- List l = StationData.Database.LocationGetAll();
- lv_Watchlist_Callsigns.BeginUpdate();
- foreach (LocationDesignator ld in l)
+ // initially fill tables
+ bw_Watchlist_Fill.RunWorkerAsync();
+ }
+
+ private void FillCallsigns (string filter)
+ {
+ try
{
- ListViewItem item = new ListViewItem(ld.Call);
- item.Name = ld.Call;
- lv_Watchlist_Callsigns.Items.Add(item);
+ AllCallsigns.Rows.Clear();
+ dgv_Watchlist_Callsigns.DataSource = null;
+ foreach (LocationDesignator ld in AllLocations)
+ {
+ DataRow row = AllCallsigns.NewRow();
+ row[0] = ld.Call;
+ row[1] = ld.Loc;
+ AllCallsigns.Rows.Add(row);
+ }
+ dgv_Watchlist_Callsigns.DataSource = AllCallsigns;
}
- lv_Watchlist_Callsigns.EndUpdate();
- lv_Watchlist_Selected.BeginUpdate();
- lv_Watchlist_Selected.Items.Clear();
- foreach (WatchlistItem item in Properties.Settings.Default.Watchlist)
+ catch (Exception ex)
{
- ListViewItem lvi = new ListViewItem(item.Call);
- lvi.SubItems.Add(new ListViewItem.ListViewSubItem(lvi, item.Loc));
- if (item.Checked)
- lvi.Checked = true;
- if (item.Selected)
- lvi.Selected = true;
- lv_Watchlist_Selected.Items.Add(lvi);
- lv_Watchlist_Selected.Sort();
+ Console.WriteLine("Watchlist.FillItems: " + ex.ToString());
+ }
+ }
+
+ private void FillSelected(string filter)
+ {
+ try
+ {
+ SelectedCallsigns.Rows.Clear();
+ dgv_Watchlist_Selected.DataSource = null;
+ foreach (WatchlistItem item in Properties.Settings.Default.Watchlist)
+ {
+ DataRow row = SelectedCallsigns.NewRow();
+ row[0] = item.Call;
+ row[1] = item.Loc;
+ SelectedCallsigns.Rows.Add(row);
+ }
+ dgv_Watchlist_Selected.DataSource = SelectedCallsigns;
+ }
+ catch (Exception ex)
+ {
+ Console.WriteLine("Watchlist.FillItems: " + ex.ToString());
}
- lv_Watchlist_Selected.EndUpdate();
- tsl_Watchlist_Main.Text = "";
}
private void btn_Watchlist_Add_Click(object sender, EventArgs e)
{
- if(lv_Watchlist_Callsigns.SelectedItems.Count > 0)
+ try
{
- foreach (ListViewItem item in lv_Watchlist_Callsigns.SelectedItems)
+ if (dgv_Watchlist_Callsigns.SelectedRows != null)
{
- ListViewItem newitem = new ListViewItem(item.Name);
- newitem.Name = item.Name;
- lv_Watchlist_Selected.Items.Add(newitem);
+ foreach (DataGridViewRow selectedrow in dgv_Watchlist_Callsigns.SelectedRows)
+ {
+ // search row content in selected calls first
+ string sql = "Call = '" + selectedrow.Cells[0].Value.ToString() + "' AND Locator = '" + selectedrow.Cells[1].Value.ToString() + "'";
+ DataRow[] result = SelectedCallsigns.Select(sql);
+ if ((result == null) || (result.Length == 0))
+ {
+ DataRow row = SelectedCallsigns.NewRow();
+ row[0] = selectedrow.Cells[0].Value;
+ row[1] = selectedrow.Cells[1].Value;
+ SelectedCallsigns.Rows.Add(row);
+ }
+ }
}
}
+ catch (Exception ex)
+ {
+ // do nothing
+ }
}
private void btn_Watchlist_Remove_Click(object sender, EventArgs e)
{
- if (lv_Watchlist_Selected.SelectedItems.Count > 0)
+ try
{
- foreach (ListViewItem item in lv_Watchlist_Selected.SelectedItems)
+ if (dgv_Watchlist_Selected.SelectedRows != null)
{
- try
+ // keep the selected rows in a separate List as the selection changes dynamically when deleting rows from table
+ List SelectedRows = new List();
+ foreach (DataGridViewRow selectedrow in dgv_Watchlist_Selected.SelectedRows)
{
- lv_Watchlist_Selected.Items.RemoveByKey(item.Name);
+ DataRow row = SelectedCallsigns.NewRow();
+ row[0] = selectedrow.Cells[0].Value.ToString();
+ row[1] = selectedrow.Cells[1].Value.ToString();
+ SelectedRows.Add(row);
}
- catch
+ SelectedCallsigns.AcceptChanges();
+ foreach (DataRow selectedrow in SelectedRows)
{
-
+ foreach (DataRow row in SelectedCallsigns.Rows)
+ {
+ if ((row[0].ToString() == selectedrow[0].ToString()) && (row[1].ToString() == selectedrow[1].ToString()))
+ {
+ // row found --> delete row in table, commit changes immediately and exit iteration
+ row.Delete();
+ SelectedCallsigns.AcceptChanges();
+ break;
+ }
+ }
}
}
}
+ catch (Exception ex)
+ {
+ // do nothing
+ }
}
private void btn_Watchlist_RemoveAll_Click(object sender, EventArgs e)
{
- lv_Watchlist_Selected.Items.Clear();
+ SelectedCallsigns.Rows.Clear();
}
- private void lv_Watchlist_Callsigns_MouseDoubleClick(object sender, MouseEventArgs e)
+ private void tb_Watchlist_Callsigns_TextChanged(object sender, EventArgs e)
+ {
+ try
+ {
+ AllCallsigns.DefaultView.RowFilter = "[Call] LIKE '" + tb_Watchlist_Callsigns.Text + "%'";
+ }
+ catch (Exception ex)
+ {
+ // do nothing
+ }
+ }
+
+ private void tb_Watchlist_Selected_TextChanged(object sender, EventArgs e)
+ {
+ SelectedCallsigns.DefaultView.RowFilter = "[Call] LIKE '" + tb_Watchlist_Selected.Text + "%'";
+ }
+
+ private void bw_Watchlist_Fill_DoWork(object sender, DoWorkEventArgs e)
+ {
+ bw_Watchlist_Fill.ReportProgress(0, "Lists are being populated. Please wait...");
+ // get all available callsigns from database
+ lock (AllLocations)
+ {
+ AllLocations = StationData.Database.LocationGetAll(bw_Watchlist_Fill, Properties.Settings.Default.MinLat, Properties.Settings.Default.MinLon, Properties.Settings.Default.MaxLat, Properties.Settings.Default.MaxLon);
+ }
+ }
+
+ private void bw_Watchlist_Fill_ProgressChanged(object sender, ProgressChangedEventArgs e)
+ {
+ // report message
+ if (e.ProgressPercentage <= 0)
+ {
+ tsl_Watchlist_Main.Text = (string)e.UserState;
+ ss_Watchlist_Main.Refresh();
+ }
+ }
+
+ private void bw_Watchlist_Fill_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
+ {
+ tsl_Watchlist_Main.Text = "Adding callsigns to list. Please wait...";
+ ss_Watchlist_Main.Refresh();
+ FillCallsigns(tb_Watchlist_Callsigns.Text);
+ FillSelected(tb_Watchlist_Selected.Text);
+ tsl_Watchlist_Main.Text = "";
+ btn_Watchlist_Add.Enabled = true;
+ btn_Watchlist_Remove.Enabled = true;
+ btn_Watchlist_RemoveAll.Enabled = true;
+ btn_Watchlist_OK.Enabled = true;
+ tsl_Watchlist_Main.Text = "Ready.";
+ ss_Watchlist_Main.Refresh();
+ }
+
+ private void dgv_Watchlist_Callsigns_CellPainting(object sender, DataGridViewCellPaintingEventArgs e)
+ {
+ if (e.ColumnIndex < 0)
+ return;
+ if (e.RowIndex < 0)
+ return;
+ e.Paint(e.CellBounds, DataGridViewPaintParts.All);
+ var r = e.CellBounds;
+ e.Graphics.DrawLine(Pens.LightGray, r.Left, r.Top, r.Right, r.Top);
+ e.Graphics.DrawLine(Pens.LightGray, r.Left, r.Top, r.Left, r.Bottom);
+ e.Graphics.DrawLine(Pens.LightGray, r.Left, r.Bottom, r.Right, r.Bottom);
+ e.Graphics.DrawLine(Pens.LightGray, r.Right, r.Top, r.Right, r.Bottom);
+ e.Handled = true;
+ }
+
+ private void dgv_Watchlist_Selected_CellPainting(object sender, DataGridViewCellPaintingEventArgs e)
+ {
+ if (e.ColumnIndex < 0)
+ return;
+ if (e.RowIndex < 0)
+ return;
+ e.Paint(e.CellBounds, DataGridViewPaintParts.All);
+ var r = e.CellBounds;
+ e.Graphics.DrawLine(Pens.LightGray, r.Left, r.Top, r.Right, r.Top);
+ e.Graphics.DrawLine(Pens.LightGray, r.Left, r.Top, r.Left, r.Bottom);
+ e.Graphics.DrawLine(Pens.LightGray, r.Left, r.Bottom, r.Right, r.Bottom);
+ e.Graphics.DrawLine(Pens.LightGray, r.Right, r.Top, r.Right, r.Bottom);
+ e.Handled = true;
+ }
+
+ private void dgv_Watchlist_Callsigns_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
{
btn_Watchlist_Add_Click(this, null);
}
- private void lv_Watchlist_Selected_MouseDoubleClick(object sender, MouseEventArgs e)
+ private void dgv_Watchlist_Selected_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
{
btn_Watchlist_Remove_Click(this, null);
}
diff --git a/AirScout/WatchlistDlg.resx b/AirScout/WatchlistDlg.resx
index 9f817c5..0090a6e 100644
--- a/AirScout/WatchlistDlg.resx
+++ b/AirScout/WatchlistDlg.resx
@@ -123,4 +123,10 @@
167, 17
+
+ 167, 17
+
+
+ 315, 17
+
\ No newline at end of file
diff --git a/ScoutBase/ScoutBase.Core/SupportFunctions.cs b/ScoutBase/ScoutBase.Core/SupportFunctions.cs
index 9b96c17..b0f86b0 100644
--- a/ScoutBase/ScoutBase.Core/SupportFunctions.cs
+++ b/ScoutBase/ScoutBase.Core/SupportFunctions.cs
@@ -300,7 +300,14 @@ namespace ScoutBase.Core
string[] files = Directory.GetFiles(dir, filter);
foreach (string file in files)
{
- File.Delete(file);
+ try
+ {
+ File.Delete(file);
+ }
+ catch (Exception ex)
+ {
+ Console.WriteLine("DeleteFilesFromDirectory: " + ex.ToString());
+ }
}
}
@@ -315,7 +322,14 @@ namespace ScoutBase.Core
string[] files = filters.SelectMany(f => Directory.GetFiles(dir, f)).ToArray();
foreach (string file in files)
{
- File.Delete(file);
+ try
+ {
+ File.Delete(file);
+ }
+ catch (Exception ex)
+ {
+ Console.WriteLine("DeleteFilesFromDirectory: " + ex.ToString());
+ }
}
}
diff --git a/ScoutBase/ScoutBase.Elevation/ElevationDatabaseUpdater.cs b/ScoutBase/ScoutBase.Elevation/ElevationDatabaseUpdater.cs
index fae56ff..9142901 100644
--- a/ScoutBase/ScoutBase.Elevation/ElevationDatabaseUpdater.cs
+++ b/ScoutBase/ScoutBase.Elevation/ElevationDatabaseUpdater.cs
@@ -288,6 +288,7 @@ namespace ScoutBase.Elevation
try
{
SupportFunctions.DeleteFilesFromDirectory(TmpDirectory, new string[] { "*.tmp", "*.PendingOverwrite" });
+ SupportFunctions.DeleteFilesFromDirectory(ElevationData.Database.DefaultDatabaseDirectory(StartOptions.Model), new string[] { "*.tmp", "*.PendingOverwrite" });
}
catch (Exception ex)
{
diff --git a/ScoutBase/ScoutBase.Stations/StationDatabase.cs b/ScoutBase/ScoutBase.Stations/StationDatabase.cs
index 0a1b69b..9dd08b9 100644
--- a/ScoutBase/ScoutBase.Stations/StationDatabase.cs
+++ b/ScoutBase/ScoutBase.Stations/StationDatabase.cs
@@ -559,7 +559,7 @@ namespace ScoutBase.Stations
if (caller.WorkerSupportsCancellation && caller.CancellationPending)
return new List();
if (caller.WorkerReportsProgress && (i % 1000 == 0))
- caller.ReportProgress(0, "Getting location " + i.ToString() + " of");
+ caller.ReportProgress(0, "Getting location " + i.ToString());
}
}
reader.Close();
@@ -612,7 +612,7 @@ namespace ScoutBase.Stations
if (caller.WorkerSupportsCancellation && caller.CancellationPending)
return new List();
if (caller.WorkerReportsProgress && (i % 1000 == 0))
- caller.ReportProgress(0, "Getting location " + i.ToString() + " of");
+ caller.ReportProgress(0, "Getting location " + i.ToString());
}
}
reader.Close();