Changeset - bdc2be1924e8
[Not reviewed]
default
0 2 0
mkanning@CL-ENS241-10.cedarville.edu - 13 years ago 2013-02-28 14:32:40
mkanning@CL-ENS241-10.cedarville.edu
Fixed some bugs with the markers used for tracking balloon and creating routes
2 files changed with 512 insertions and 476 deletions:
0 comments (0 inline, 0 general)
Demo.WindowsForms/Forms/MainForm.Designer.cs
Show inline comments
 
@@ -13,326 +13,323 @@
 
      /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
 
      protected override void Dispose(bool disposing)
 
      {
 
         if(disposing && (components != null))
 
         {
 
            components.Dispose();
 
         }
 
         base.Dispose(disposing);
 
      }
 
 
      #region Windows Form Designer generated code
 
 
      /// <summary>
 
      /// Required method for Designer support - do not modify
 
      /// the contents of this method with the code editor.
 
      /// </summary>
 
      private void InitializeComponent()
 
      {
 
            this.tabMap = new System.Windows.Forms.TabPage();
 
            this.panel4 = new System.Windows.Forms.Panel();
 
            this.panel2 = new System.Windows.Forms.Panel();
 
            this.btnTest = new System.Windows.Forms.Button();
 
            this.tabControl = new System.Windows.Forms.TabControl();
 
            this.tabGraphs = new System.Windows.Forms.TabPage();
 
            this.pnlDataListDisplay = new System.Windows.Forms.Panel();
 
            this.tboxChartData = new System.Windows.Forms.TextBox();
 
            this.lblChartData = new System.Windows.Forms.Label();
 
            this.tboxCurrent = new System.Windows.Forms.TextBox();
 
            this.lblCurrent = new System.Windows.Forms.Label();
 
            this.tboxMin = new System.Windows.Forms.TextBox();
 
            this.lblAverage = new System.Windows.Forms.Label();
 
            this.tboxMax = new System.Windows.Forms.TextBox();
 
            this.lblMax = new System.Windows.Forms.Label();
 
            this.tboxAverage = new System.Windows.Forms.TextBox();
 
            this.lblMin = new System.Windows.Forms.Label();
 
            this.ctnParentChartHolder = new System.Windows.Forms.SplitContainer();
 
            this.ctnTopChartHolder = new System.Windows.Forms.SplitContainer();
 
            this.lblTopLeftChartTitle = new System.Windows.Forms.Label();
 
            this.chrtTopLeft = new System.Windows.Forms.DataVisualization.Charting.Chart();
 
            this.lblTopRightChartTitle = new System.Windows.Forms.Label();
 
            this.chrtTopRight = new System.Windows.Forms.DataVisualization.Charting.Chart();
 
            this.ctnBottomChartHolder = new System.Windows.Forms.SplitContainer();
 
            this.lblBottomLeftChartTitle = new System.Windows.Forms.Label();
 
            this.chrtBottomLeft = new System.Windows.Forms.DataVisualization.Charting.Chart();
 
            this.lblBottomRightChartTitle = new System.Windows.Forms.Label();
 
            this.chrtBottomRight = new System.Windows.Forms.DataVisualization.Charting.Chart();
 
            this.tabData = new System.Windows.Forms.TabPage();
 
            this.gboxSlaveData = new System.Windows.Forms.GroupBox();
 
            this.tboxAtmoLight = new System.Windows.Forms.TextBox();
 
            this.label31 = new System.Windows.Forms.Label();
 
            this.tboxCameraBatteryLevel = new System.Windows.Forms.TextBox();
 
            this.label26 = new System.Windows.Forms.Label();
 
            this.tboxCameraBoardTemp = new System.Windows.Forms.TextBox();
 
            this.label27 = new System.Windows.Forms.Label();
 
            this.label28 = new System.Windows.Forms.Label();
 
            this.tboxGeigerRads = new System.Windows.Forms.TextBox();
 
            this.label25 = new System.Windows.Forms.Label();
 
            this.tboxGeigerBatteryLevel = new System.Windows.Forms.TextBox();
 
            this.label24 = new System.Windows.Forms.Label();
 
            this.tboxGeigerBoardTemp = new System.Windows.Forms.TextBox();
 
            this.label23 = new System.Windows.Forms.Label();
 
            this.label22 = new System.Windows.Forms.Label();
 
            this.tboxAtmoAltitude = new System.Windows.Forms.TextBox();
 
            this.label21 = new System.Windows.Forms.Label();
 
            this.tboxAtmoAirTemp = new System.Windows.Forms.TextBox();
 
            this.label19 = new System.Windows.Forms.Label();
 
            this.tboxAtmoHumidity = new System.Windows.Forms.TextBox();
 
            this.label18 = new System.Windows.Forms.Label();
 
            this.tboxAtmoPressure = new System.Windows.Forms.TextBox();
 
            this.label17 = new System.Windows.Forms.Label();
 
            this.tboxAtmoBatteryLevel = new System.Windows.Forms.TextBox();
 
            this.label15 = new System.Windows.Forms.Label();
 
            this.tboxAtmoBoardTemp = new System.Windows.Forms.TextBox();
 
            this.label8 = new System.Windows.Forms.Label();
 
            this.label20 = new System.Windows.Forms.Label();
 
            this.gboxMasterData = new System.Windows.Forms.GroupBox();
 
            this.tboxMasterHDOP = new System.Windows.Forms.TextBox();
 
            this.label30 = new System.Windows.Forms.Label();
 
            this.tboxMasterSatellites = new System.Windows.Forms.TextBox();
 
            this.label29 = new System.Windows.Forms.Label();
 
            this.textBox6 = new System.Windows.Forms.TextBox();
 
            this.label7 = new System.Windows.Forms.Label();
 
            this.label6 = new System.Windows.Forms.Label();
 
            this.tboxMasterVelocity = new System.Windows.Forms.TextBox();
 
            this.label3 = new System.Windows.Forms.Label();
 
            this.tboxMasterLongitude = new System.Windows.Forms.TextBox();
 
            this.label2 = new System.Windows.Forms.Label();
 
            this.tboxMasterLatitude = new System.Windows.Forms.TextBox();
 
            this.label16 = new System.Windows.Forms.Label();
 
            this.tboxMasterBatteryLevel = new System.Windows.Forms.TextBox();
 
            this.tboxMasterBoardTemp = new System.Windows.Forms.TextBox();
 
            this.label1 = new System.Windows.Forms.Label();
 
            this.tboxMessageBox = new System.Windows.Forms.TextBox();
 
            this.splitContainer1 = new System.Windows.Forms.SplitContainer();
 
            this.tboxMasterSatellites = new System.Windows.Forms.TextBox();
 
            this.label29 = new System.Windows.Forms.Label();
 
            this.tboxMasterHDOP = new System.Windows.Forms.TextBox();
 
            this.label30 = new System.Windows.Forms.Label();
 
            this.MainMap = new Demo.WindowsForms.Map();
 
            this.splitter1 = new BSE.Windows.Forms.Splitter();
 
            this.panelMenu = new BSE.Windows.Forms.Panel();
 
            this.xPanderPanelList1 = new BSE.Windows.Forms.XPanderPanelList();
 
            this.xPanderPanelMain = new BSE.Windows.Forms.XPanderPanel();
 
            this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel();
 
            this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel();
 
            this.groupBox8 = new System.Windows.Forms.GroupBox();
 
            this.btnZoomCenter = new System.Windows.Forms.Button();
 
            this.xboxPlacemarkInfo = new System.Windows.Forms.CheckBox();
 
            this.gboxRemove = new System.Windows.Forms.GroupBox();
 
            this.btnClearAll = new System.Windows.Forms.Button();
 
            this.btnAddMarker = new System.Windows.Forms.Button();
 
            this.groupBox7 = new System.Windows.Forms.GroupBox();
 
            this.btnClearMarkers = new System.Windows.Forms.Button();
 
            this.btnClearRoutes = new System.Windows.Forms.Button();
 
            this.gboxMapItems = new System.Windows.Forms.GroupBox();
 
            this.buttonExportToGpx = new System.Windows.Forms.Button();
 
            this.xboxPlacemarkInfo = new System.Windows.Forms.CheckBox();
 
            this.MobileLogTo = new System.Windows.Forms.DateTimePicker();
 
            this.lblClear = new System.Windows.Forms.Label();
 
            this.btnClearPolygons = new System.Windows.Forms.Button();
 
            this.MobileLogFrom = new System.Windows.Forms.DateTimePicker();
 
            this.btnMobileLog = new System.Windows.Forms.Button();
 
            this.buttonSetEnd = new System.Windows.Forms.Button();
 
            this.buttonSetStart = new System.Windows.Forms.Button();
 
            this.btnClearRoutes = new System.Windows.Forms.Button();
 
            this.btnAddMarker = new System.Windows.Forms.Button();
 
            this.btnSetEnd = new System.Windows.Forms.Button();
 
            this.btnSetStart = new System.Windows.Forms.Button();
 
            this.btnAddRoute = new System.Windows.Forms.Button();
 
            this.groupBox5 = new System.Windows.Forms.GroupBox();
 
            this.gboxGmap = new System.Windows.Forms.GroupBox();
 
            this.btnLoadGPX = new System.Windows.Forms.Button();
 
            this.btnGetStatic = new System.Windows.Forms.Button();
 
            this.xboxGrid = new System.Windows.Forms.CheckBox();
 
            this.btnSaveView = new System.Windows.Forms.Button();
 
            this.lblMode = new System.Windows.Forms.Label();
 
            this.comboBoxMode = new System.Windows.Forms.ComboBox();
 
            this.xboxCanDrag = new System.Windows.Forms.CheckBox();
 
            this.xboxCurrentMarker = new System.Windows.Forms.CheckBox();
 
            this.lblMapType = new System.Windows.Forms.Label();
 
            this.comboBoxMapType = new System.Windows.Forms.ComboBox();
 
            this.groupBox3 = new System.Windows.Forms.GroupBox();
 
            this.lblGoTo = new System.Windows.Forms.Label();
 
            this.textBoxGeo = new System.Windows.Forms.TextBox();
 
            this.gboxCoordinates = new System.Windows.Forms.GroupBox();
 
            this.btnZoomCenter = new System.Windows.Forms.Button();
 
            this.btnReload = new System.Windows.Forms.Button();
 
            this.btnGoToCoords = new System.Windows.Forms.Button();
 
            this.lblLng = new System.Windows.Forms.Label();
 
            this.cboxCollectData = new System.Windows.Forms.CheckBox();
 
            this.lblLat = new System.Windows.Forms.Label();
 
            this.textBoxLng = new System.Windows.Forms.TextBox();
 
            this.textBoxLat = new System.Windows.Forms.TextBox();
 
            this.cboxCollectData = new System.Windows.Forms.CheckBox();
 
            this.tableLayoutPanel6 = new System.Windows.Forms.TableLayoutPanel();
 
            this.btnZoomIn = new System.Windows.Forms.Button();
 
            this.trackBarZoomLevel = new System.Windows.Forms.TrackBar();
 
            this.btnZoomOut = new System.Windows.Forms.Button();
 
            this.xPanderPanelInfo = new BSE.Windows.Forms.XPanderPanel();
 
            this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
 
            this.textBoxZoomCurrent = new System.Windows.Forms.TextBox();
 
            this.textBoxrouteCount = new System.Windows.Forms.TextBox();
 
            this.label12 = new System.Windows.Forms.Label();
 
            this.label9 = new System.Windows.Forms.Label();
 
            this.textBoxLngCurrent = new System.Windows.Forms.TextBox();
 
            this.textBoxMarkerCount = new System.Windows.Forms.TextBox();
 
            this.label11 = new System.Windows.Forms.Label();
 
            this.label4 = new System.Windows.Forms.Label();
 
            this.textBoxLatCurrent = new System.Windows.Forms.TextBox();
 
            this.label5 = new System.Windows.Forms.Label();
 
            this.xPanderPanelCache = new BSE.Windows.Forms.XPanderPanel();
 
            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
 
            this.textBoxCacheSize = new System.Windows.Forms.TextBox();
 
            this.textBoxCacheStatus = new System.Windows.Forms.TextBox();
 
            this.button10 = new System.Windows.Forms.Button();
 
            this.textBoxMemory = new System.Windows.Forms.TextBox();
 
            this.checkBoxUseRouteCache = new System.Windows.Forms.CheckBox();
 
            this.button9 = new System.Windows.Forms.Button();
 
            this.button11 = new System.Windows.Forms.Button();
 
            this.label10 = new System.Windows.Forms.Label();
 
            this.button2 = new System.Windows.Forms.Button();
 
            this.label13 = new System.Windows.Forms.Label();
 
            this.label14 = new System.Windows.Forms.Label();
 
            this.button17 = new System.Windows.Forms.Button();
 
            this.tboxAtmoLight = new System.Windows.Forms.TextBox();
 
            this.label31 = new System.Windows.Forms.Label();
 
            this.tabMap.SuspendLayout();
 
            this.panel4.SuspendLayout();
 
            this.panel2.SuspendLayout();
 
            this.tabControl.SuspendLayout();
 
            this.tabGraphs.SuspendLayout();
 
            this.pnlDataListDisplay.SuspendLayout();
 
            this.ctnParentChartHolder.Panel1.SuspendLayout();
 
            this.ctnParentChartHolder.Panel2.SuspendLayout();
 
            this.ctnParentChartHolder.SuspendLayout();
 
            this.ctnTopChartHolder.Panel1.SuspendLayout();
 
            this.ctnTopChartHolder.Panel2.SuspendLayout();
 
            this.ctnTopChartHolder.SuspendLayout();
 
            ((System.ComponentModel.ISupportInitialize)(this.chrtTopLeft)).BeginInit();
 
            ((System.ComponentModel.ISupportInitialize)(this.chrtTopRight)).BeginInit();
 
            this.ctnBottomChartHolder.Panel1.SuspendLayout();
 
            this.ctnBottomChartHolder.Panel2.SuspendLayout();
 
            this.ctnBottomChartHolder.SuspendLayout();
 
            ((System.ComponentModel.ISupportInitialize)(this.chrtBottomLeft)).BeginInit();
 
            ((System.ComponentModel.ISupportInitialize)(this.chrtBottomRight)).BeginInit();
 
            this.tabData.SuspendLayout();
 
            this.gboxSlaveData.SuspendLayout();
 
            this.gboxMasterData.SuspendLayout();
 
            this.splitContainer1.Panel1.SuspendLayout();
 
            this.splitContainer1.Panel2.SuspendLayout();
 
            this.splitContainer1.SuspendLayout();
 
            this.panelMenu.SuspendLayout();
 
            this.xPanderPanelList1.SuspendLayout();
 
            this.xPanderPanelMain.SuspendLayout();
 
            this.tableLayoutPanel4.SuspendLayout();
 
            this.tableLayoutPanel5.SuspendLayout();
 
            this.groupBox8.SuspendLayout();
 
            this.groupBox7.SuspendLayout();
 
            this.groupBox5.SuspendLayout();
 
            this.groupBox3.SuspendLayout();
 
            this.gboxRemove.SuspendLayout();
 
            this.gboxMapItems.SuspendLayout();
 
            this.gboxGmap.SuspendLayout();
 
            this.gboxCoordinates.SuspendLayout();
 
            this.tableLayoutPanel6.SuspendLayout();
 
            ((System.ComponentModel.ISupportInitialize)(this.trackBarZoomLevel)).BeginInit();
 
            this.xPanderPanelInfo.SuspendLayout();
 
            this.tableLayoutPanel2.SuspendLayout();
 
            this.xPanderPanelCache.SuspendLayout();
 
            this.tableLayoutPanel1.SuspendLayout();
 
            this.SuspendLayout();
 
            // 
 
            // tabMap
 
            // 
 
            this.tabMap.Controls.Add(this.panel4);
 
            this.tabMap.Location = new System.Drawing.Point(4, 22);
 
            this.tabMap.Name = "tabMap";
 
            this.tabMap.Padding = new System.Windows.Forms.Padding(3);
 
            this.tabMap.Size = new System.Drawing.Size(863, 425);
 
            this.tabMap.Size = new System.Drawing.Size(863, 690);
 
            this.tabMap.TabIndex = 0;
 
            this.tabMap.Text = "Map";
 
            this.tabMap.UseVisualStyleBackColor = true;
 
            // 
 
            // panel4
 
            // 
 
            this.panel4.Controls.Add(this.panel2);
 
            this.panel4.Controls.Add(this.splitter1);
 
            this.panel4.Controls.Add(this.panelMenu);
 
            this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.panel4.Location = new System.Drawing.Point(3, 3);
 
            this.panel4.Margin = new System.Windows.Forms.Padding(2);
 
            this.panel4.Name = "panel4";
 
            this.panel4.Size = new System.Drawing.Size(857, 419);
 
            this.panel4.Size = new System.Drawing.Size(857, 684);
 
            this.panel4.TabIndex = 44;
 
            // 
 
            // panel2
 
            // 
 
            this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
 
            | System.Windows.Forms.AnchorStyles.Left) 
 
            | System.Windows.Forms.AnchorStyles.Right)));
 
            this.panel2.Controls.Add(this.btnTest);
 
            this.panel2.Controls.Add(this.MainMap);
 
            this.panel2.Location = new System.Drawing.Point(0, 0);
 
            this.panel2.Name = "panel2";
 
            this.panel2.Size = new System.Drawing.Size(599, 419);
 
            this.panel2.Size = new System.Drawing.Size(599, 684);
 
            this.panel2.TabIndex = 41;
 
            // 
 
            // btnTest
 
            // 
 
            this.btnTest.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
 
            this.btnTest.Location = new System.Drawing.Point(555, 393);
 
            this.btnTest.Location = new System.Drawing.Point(555, 658);
 
            this.btnTest.Name = "btnTest";
 
            this.btnTest.Size = new System.Drawing.Size(41, 26);
 
            this.btnTest.TabIndex = 32;
 
            this.btnTest.Text = "Test";
 
            this.btnTest.UseVisualStyleBackColor = true;
 
            this.btnTest.Click += new System.EventHandler(this.btnTest_Click);
 
            // 
 
            // tabControl
 
            // 
 
            this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
 
            | System.Windows.Forms.AnchorStyles.Left) 
 
            | System.Windows.Forms.AnchorStyles.Right)));
 
            this.tabControl.Controls.Add(this.tabMap);
 
            this.tabControl.Controls.Add(this.tabGraphs);
 
            this.tabControl.Controls.Add(this.tabData);
 
            this.tabControl.Location = new System.Drawing.Point(0, 0);
 
            this.tabControl.Name = "tabControl";
 
            this.tabControl.SelectedIndex = 0;
 
            this.tabControl.Size = new System.Drawing.Size(871, 516);
 
            this.tabControl.Size = new System.Drawing.Size(871, 716);
 
            this.tabControl.TabIndex = 45;
 
            // 
 
            // tabGraphs
 
            // 
 
            this.tabGraphs.Controls.Add(this.pnlDataListDisplay);
 
            this.tabGraphs.Controls.Add(this.ctnParentChartHolder);
 
            this.tabGraphs.Location = new System.Drawing.Point(4, 22);
 
            this.tabGraphs.Name = "tabGraphs";
 
            this.tabGraphs.Padding = new System.Windows.Forms.Padding(3);
 
            this.tabGraphs.Size = new System.Drawing.Size(863, 425);
 
            this.tabGraphs.Size = new System.Drawing.Size(863, 690);
 
            this.tabGraphs.TabIndex = 2;
 
            this.tabGraphs.Text = "Graphs";
 
            this.tabGraphs.UseVisualStyleBackColor = true;
 
            // 
 
            // pnlDataListDisplay
 
            // 
 
            this.pnlDataListDisplay.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
 
            | System.Windows.Forms.AnchorStyles.Right)));
 
            this.pnlDataListDisplay.Controls.Add(this.tboxChartData);
 
            this.pnlDataListDisplay.Controls.Add(this.lblChartData);
 
            this.pnlDataListDisplay.Controls.Add(this.tboxCurrent);
 
            this.pnlDataListDisplay.Controls.Add(this.lblCurrent);
 
            this.pnlDataListDisplay.Controls.Add(this.tboxMin);
 
            this.pnlDataListDisplay.Controls.Add(this.lblAverage);
 
            this.pnlDataListDisplay.Controls.Add(this.tboxMax);
 
            this.pnlDataListDisplay.Controls.Add(this.lblMax);
 
            this.pnlDataListDisplay.Controls.Add(this.tboxAverage);
 
            this.pnlDataListDisplay.Controls.Add(this.lblMin);
 
            this.pnlDataListDisplay.Location = new System.Drawing.Point(6, 6);
 
            this.pnlDataListDisplay.Name = "pnlDataListDisplay";
 
            this.pnlDataListDisplay.Size = new System.Drawing.Size(851, 26);
 
            this.pnlDataListDisplay.TabIndex = 29;
 
            // 
 
            // tboxChartData
 
            // 
 
            this.tboxChartData.Enabled = false;
 
            this.tboxChartData.Location = new System.Drawing.Point(85, 3);
 
            this.tboxChartData.Name = "tboxChartData";
 
            this.tboxChartData.Size = new System.Drawing.Size(100, 20);
 
            this.tboxChartData.TabIndex = 29;
 
            // 
 
            // lblChartData
 
            // 
 
            this.lblChartData.AutoSize = true;
 
            this.lblChartData.Location = new System.Drawing.Point(3, 6);
 
            this.lblChartData.Name = "lblChartData";
 
            this.lblChartData.Size = new System.Drawing.Size(76, 13);
 
            this.lblChartData.TabIndex = 28;
 
            this.lblChartData.Text = "Data for Chart:";
 
            // 
 
            // tboxCurrent
 
            // 
 
            this.tboxCurrent.Enabled = false;
 
            this.tboxCurrent.Location = new System.Drawing.Point(241, 3);
 
            this.tboxCurrent.Name = "tboxCurrent";
 
            this.tboxCurrent.Size = new System.Drawing.Size(100, 20);
 
            this.tboxCurrent.TabIndex = 24;
 
            // 
 
@@ -369,281 +366,290 @@
 
            this.tboxMax.Enabled = false;
 
            this.tboxMax.Location = new System.Drawing.Point(545, 3);
 
            this.tboxMax.Name = "tboxMax";
 
            this.tboxMax.Size = new System.Drawing.Size(100, 20);
 
            this.tboxMax.TabIndex = 26;
 
            // 
 
            // lblMax
 
            // 
 
            this.lblMax.AutoSize = true;
 
            this.lblMax.Location = new System.Drawing.Point(509, 6);
 
            this.lblMax.Name = "lblMax";
 
            this.lblMax.Size = new System.Drawing.Size(30, 13);
 
            this.lblMax.TabIndex = 22;
 
            this.lblMax.Text = "Max:";
 
            // 
 
            // tboxAverage
 
            // 
 
            this.tboxAverage.Enabled = false;
 
            this.tboxAverage.Location = new System.Drawing.Point(403, 3);
 
            this.tboxAverage.Name = "tboxAverage";
 
            this.tboxAverage.Size = new System.Drawing.Size(100, 20);
 
            this.tboxAverage.TabIndex = 25;
 
            // 
 
            // lblMin
 
            // 
 
            this.lblMin.AutoSize = true;
 
            this.lblMin.Location = new System.Drawing.Point(651, 6);
 
            this.lblMin.Name = "lblMin";
 
            this.lblMin.Size = new System.Drawing.Size(27, 13);
 
            this.lblMin.TabIndex = 23;
 
            this.lblMin.Text = "Min:";
 
            // 
 
            // ctnParentChartHolder
 
            // 
 
            this.ctnParentChartHolder.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
 
            | System.Windows.Forms.AnchorStyles.Left) 
 
            | System.Windows.Forms.AnchorStyles.Right)));
 
            this.ctnParentChartHolder.Location = new System.Drawing.Point(6, 38);
 
            this.ctnParentChartHolder.Name = "ctnParentChartHolder";
 
            this.ctnParentChartHolder.Orientation = System.Windows.Forms.Orientation.Horizontal;
 
            // 
 
            // ctnParentChartHolder.Panel1
 
            // 
 
            this.ctnParentChartHolder.Panel1.Controls.Add(this.ctnTopChartHolder);
 
            // 
 
            // ctnParentChartHolder.Panel2
 
            // 
 
            this.ctnParentChartHolder.Panel2.Controls.Add(this.ctnBottomChartHolder);
 
            this.ctnParentChartHolder.Size = new System.Drawing.Size(851, 381);
 
            this.ctnParentChartHolder.SplitterDistance = 170;
 
            this.ctnParentChartHolder.Size = new System.Drawing.Size(851, 646);
 
            this.ctnParentChartHolder.SplitterDistance = 288;
 
            this.ctnParentChartHolder.TabIndex = 28;
 
            // 
 
            // ctnTopChartHolder
 
            // 
 
            this.ctnTopChartHolder.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
 
            | System.Windows.Forms.AnchorStyles.Left) 
 
            | System.Windows.Forms.AnchorStyles.Right)));
 
            this.ctnTopChartHolder.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
 
            this.ctnTopChartHolder.Location = new System.Drawing.Point(3, 3);
 
            this.ctnTopChartHolder.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.ctnTopChartHolder.Location = new System.Drawing.Point(0, 0);
 
            this.ctnTopChartHolder.Name = "ctnTopChartHolder";
 
            // 
 
            // ctnTopChartHolder.Panel1
 
            // 
 
            this.ctnTopChartHolder.Panel1.Controls.Add(this.lblTopLeftChartTitle);
 
            this.ctnTopChartHolder.Panel1.Controls.Add(this.chrtTopLeft);
 
            // 
 
            // ctnTopChartHolder.Panel2
 
            // 
 
            this.ctnTopChartHolder.Panel2.Controls.Add(this.lblTopRightChartTitle);
 
            this.ctnTopChartHolder.Panel2.Controls.Add(this.chrtTopRight);
 
            this.ctnTopChartHolder.Size = new System.Drawing.Size(845, 164);
 
            this.ctnTopChartHolder.SplitterDistance = 407;
 
            this.ctnTopChartHolder.Size = new System.Drawing.Size(851, 288);
 
            this.ctnTopChartHolder.SplitterDistance = 408;
 
            this.ctnTopChartHolder.TabIndex = 0;
 
            // 
 
            // lblTopLeftChartTitle
 
            // 
 
            this.lblTopLeftChartTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
 
            this.lblTopLeftChartTitle.AutoSize = true;
 
            this.lblTopLeftChartTitle.Location = new System.Drawing.Point(0, 149);
 
            this.lblTopLeftChartTitle.Location = new System.Drawing.Point(0, 273);
 
            this.lblTopLeftChartTitle.Name = "lblTopLeftChartTitle";
 
            this.lblTopLeftChartTitle.Size = new System.Drawing.Size(42, 13);
 
            this.lblTopLeftChartTitle.TabIndex = 2;
 
            this.lblTopLeftChartTitle.Text = "Altitude";
 
            // 
 
            // chrtTopLeft
 
            // 
 
            this.chrtTopLeft.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
 
            | System.Windows.Forms.AnchorStyles.Left) 
 
            | System.Windows.Forms.AnchorStyles.Right)));
 
            this.chrtTopLeft.Location = new System.Drawing.Point(3, 3);
 
            this.chrtTopLeft.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.chrtTopLeft.Location = new System.Drawing.Point(0, 0);
 
            this.chrtTopLeft.Name = "chrtTopLeft";
 
            this.chrtTopLeft.Size = new System.Drawing.Size(399, 156);
 
            this.chrtTopLeft.Size = new System.Drawing.Size(406, 286);
 
            this.chrtTopLeft.TabIndex = 1;
 
            this.chrtTopLeft.Text = "chart4";
 
            this.chrtTopLeft.Click += new System.EventHandler(this.chrtTopLeft_Click);
 
            // 
 
            // lblTopRightChartTitle
 
            // 
 
            this.lblTopRightChartTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
 
            this.lblTopRightChartTitle.AutoSize = true;
 
            this.lblTopRightChartTitle.Location = new System.Drawing.Point(0, 149);
 
            this.lblTopRightChartTitle.Location = new System.Drawing.Point(0, 273);
 
            this.lblTopRightChartTitle.Name = "lblTopRightChartTitle";
 
            this.lblTopRightChartTitle.Size = new System.Drawing.Size(47, 13);
 
            this.lblTopRightChartTitle.TabIndex = 1;
 
            this.lblTopRightChartTitle.Text = "Humidity";
 
            // 
 
            // chrtTopRight
 
            // 
 
            this.chrtTopRight.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
 
            | System.Windows.Forms.AnchorStyles.Left) 
 
            | System.Windows.Forms.AnchorStyles.Right)));
 
            this.chrtTopRight.Location = new System.Drawing.Point(3, 3);
 
            this.chrtTopRight.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.chrtTopRight.Location = new System.Drawing.Point(0, 0);
 
            this.chrtTopRight.Name = "chrtTopRight";
 
            this.chrtTopRight.Size = new System.Drawing.Size(426, 156);
 
            this.chrtTopRight.Size = new System.Drawing.Size(437, 286);
 
            this.chrtTopRight.TabIndex = 0;
 
            this.chrtTopRight.Text = "chart4";
 
            this.chrtTopRight.Click += new System.EventHandler(this.chrtTopRight_Click);
 
            // 
 
            // ctnBottomChartHolder
 
            // 
 
            this.ctnBottomChartHolder.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
 
            | System.Windows.Forms.AnchorStyles.Left) 
 
            | System.Windows.Forms.AnchorStyles.Right)));
 
            this.ctnBottomChartHolder.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
 
            this.ctnBottomChartHolder.Location = new System.Drawing.Point(3, 3);
 
            this.ctnBottomChartHolder.Name = "ctnBottomChartHolder";
 
            // 
 
            // ctnBottomChartHolder.Panel1
 
            // 
 
            this.ctnBottomChartHolder.Panel1.Controls.Add(this.lblBottomLeftChartTitle);
 
            this.ctnBottomChartHolder.Panel1.Controls.Add(this.chrtBottomLeft);
 
            // 
 
            // ctnBottomChartHolder.Panel2
 
            // 
 
            this.ctnBottomChartHolder.Panel2.Controls.Add(this.lblBottomRightChartTitle);
 
            this.ctnBottomChartHolder.Panel2.Controls.Add(this.chrtBottomRight);
 
            this.ctnBottomChartHolder.Size = new System.Drawing.Size(845, 201);
 
            this.ctnBottomChartHolder.Size = new System.Drawing.Size(845, 348);
 
            this.ctnBottomChartHolder.SplitterDistance = 407;
 
            this.ctnBottomChartHolder.TabIndex = 0;
 
            // 
 
            // lblBottomLeftChartTitle
 
            // 
 
            this.lblBottomLeftChartTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
 
            this.lblBottomLeftChartTitle.AutoSize = true;
 
            this.lblBottomLeftChartTitle.Location = new System.Drawing.Point(0, 186);
 
            this.lblBottomLeftChartTitle.Location = new System.Drawing.Point(0, 333);
 
            this.lblBottomLeftChartTitle.Name = "lblBottomLeftChartTitle";
 
            this.lblBottomLeftChartTitle.Size = new System.Drawing.Size(48, 13);
 
            this.lblBottomLeftChartTitle.TabIndex = 1;
 
            this.lblBottomLeftChartTitle.Text = "Pressure";
 
            // 
 
            // chrtBottomLeft
 
            // 
 
            this.chrtBottomLeft.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
 
            | System.Windows.Forms.AnchorStyles.Left) 
 
            | System.Windows.Forms.AnchorStyles.Right)));
 
            this.chrtBottomLeft.Location = new System.Drawing.Point(3, -1);
 
            this.chrtBottomLeft.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.chrtBottomLeft.Location = new System.Drawing.Point(0, 0);
 
            this.chrtBottomLeft.Name = "chrtBottomLeft";
 
            this.chrtBottomLeft.Size = new System.Drawing.Size(399, 197);
 
            this.chrtBottomLeft.Size = new System.Drawing.Size(405, 346);
 
            this.chrtBottomLeft.TabIndex = 0;
 
            this.chrtBottomLeft.Text = "chart2";
 
            this.chrtBottomLeft.Click += new System.EventHandler(this.chrtBottomLeft_Click);
 
            // 
 
            // lblBottomRightChartTitle
 
            // 
 
            this.lblBottomRightChartTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
 
            this.lblBottomRightChartTitle.AutoSize = true;
 
            this.lblBottomRightChartTitle.Location = new System.Drawing.Point(0, 186);
 
            this.lblBottomRightChartTitle.Location = new System.Drawing.Point(0, 333);
 
            this.lblBottomRightChartTitle.Name = "lblBottomRightChartTitle";
 
            this.lblBottomRightChartTitle.Size = new System.Drawing.Size(44, 13);
 
            this.lblBottomRightChartTitle.TabIndex = 2;
 
            this.lblBottomRightChartTitle.Text = "Velocity";
 
            // 
 
            // chrtBottomRight
 
            // 
 
            this.chrtBottomRight.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
 
            | System.Windows.Forms.AnchorStyles.Left) 
 
            | System.Windows.Forms.AnchorStyles.Right)));
 
            this.chrtBottomRight.Location = new System.Drawing.Point(3, -1);
 
            this.chrtBottomRight.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.chrtBottomRight.Location = new System.Drawing.Point(0, 0);
 
            this.chrtBottomRight.Name = "chrtBottomRight";
 
            this.chrtBottomRight.Size = new System.Drawing.Size(426, 197);
 
            this.chrtBottomRight.Size = new System.Drawing.Size(432, 346);
 
            this.chrtBottomRight.TabIndex = 1;
 
            this.chrtBottomRight.Text = "chart2";
 
            this.chrtBottomRight.Click += new System.EventHandler(this.chrtBottomRight_Click);
 
            // 
 
            // tabData
 
            // 
 
            this.tabData.Controls.Add(this.gboxSlaveData);
 
            this.tabData.Controls.Add(this.gboxMasterData);
 
            this.tabData.Location = new System.Drawing.Point(4, 22);
 
            this.tabData.Name = "tabData";
 
            this.tabData.Padding = new System.Windows.Forms.Padding(10);
 
            this.tabData.Size = new System.Drawing.Size(863, 490);
 
            this.tabData.Size = new System.Drawing.Size(863, 690);
 
            this.tabData.TabIndex = 3;
 
            this.tabData.Text = "Data";
 
            this.tabData.UseVisualStyleBackColor = true;
 
            // 
 
            // gboxSlaveData
 
            // 
 
            this.gboxSlaveData.Controls.Add(this.tboxAtmoLight);
 
            this.gboxSlaveData.Controls.Add(this.label31);
 
            this.gboxSlaveData.Controls.Add(this.tboxCameraBatteryLevel);
 
            this.gboxSlaveData.Controls.Add(this.label26);
 
            this.gboxSlaveData.Controls.Add(this.tboxCameraBoardTemp);
 
            this.gboxSlaveData.Controls.Add(this.label27);
 
            this.gboxSlaveData.Controls.Add(this.label28);
 
            this.gboxSlaveData.Controls.Add(this.tboxGeigerRads);
 
            this.gboxSlaveData.Controls.Add(this.label25);
 
            this.gboxSlaveData.Controls.Add(this.tboxGeigerBatteryLevel);
 
            this.gboxSlaveData.Controls.Add(this.label24);
 
            this.gboxSlaveData.Controls.Add(this.tboxGeigerBoardTemp);
 
            this.gboxSlaveData.Controls.Add(this.label23);
 
            this.gboxSlaveData.Controls.Add(this.label22);
 
            this.gboxSlaveData.Controls.Add(this.tboxAtmoAltitude);
 
            this.gboxSlaveData.Controls.Add(this.label21);
 
            this.gboxSlaveData.Controls.Add(this.tboxAtmoAirTemp);
 
            this.gboxSlaveData.Controls.Add(this.label19);
 
            this.gboxSlaveData.Controls.Add(this.tboxAtmoHumidity);
 
            this.gboxSlaveData.Controls.Add(this.label18);
 
            this.gboxSlaveData.Controls.Add(this.tboxAtmoPressure);
 
            this.gboxSlaveData.Controls.Add(this.label17);
 
            this.gboxSlaveData.Controls.Add(this.tboxAtmoBatteryLevel);
 
            this.gboxSlaveData.Controls.Add(this.label15);
 
            this.gboxSlaveData.Controls.Add(this.tboxAtmoBoardTemp);
 
            this.gboxSlaveData.Controls.Add(this.label8);
 
            this.gboxSlaveData.Controls.Add(this.label20);
 
            this.gboxSlaveData.Location = new System.Drawing.Point(259, 13);
 
            this.gboxSlaveData.Name = "gboxSlaveData";
 
            this.gboxSlaveData.Padding = new System.Windows.Forms.Padding(10);
 
            this.gboxSlaveData.Size = new System.Drawing.Size(297, 438);
 
            this.gboxSlaveData.TabIndex = 1;
 
            this.gboxSlaveData.TabStop = false;
 
            this.gboxSlaveData.Text = "Slave Modules";
 
            // 
 
            // tboxAtmoLight
 
            // 
 
            this.tboxAtmoLight.BackColor = System.Drawing.SystemColors.Control;
 
            this.tboxAtmoLight.Location = new System.Drawing.Point(146, 134);
 
            this.tboxAtmoLight.Name = "tboxAtmoLight";
 
            this.tboxAtmoLight.ReadOnly = true;
 
            this.tboxAtmoLight.Size = new System.Drawing.Size(100, 20);
 
            this.tboxAtmoLight.TabIndex = 43;
 
            // 
 
            // label31
 
            // 
 
            this.label31.AutoSize = true;
 
            this.label31.Location = new System.Drawing.Point(40, 137);
 
            this.label31.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7);
 
            this.label31.Name = "label31";
 
            this.label31.Size = new System.Drawing.Size(71, 13);
 
            this.label31.TabIndex = 42;
 
            this.label31.Text = "Ambient Light";
 
            // 
 
            // tboxCameraBatteryLevel
 
            // 
 
            this.tboxCameraBatteryLevel.Location = new System.Drawing.Point(146, 403);
 
            this.tboxCameraBatteryLevel.Name = "tboxCameraBatteryLevel";
 
            this.tboxCameraBatteryLevel.ReadOnly = true;
 
            this.tboxCameraBatteryLevel.Size = new System.Drawing.Size(100, 20);
 
            this.tboxCameraBatteryLevel.TabIndex = 41;
 
            // 
 
            // label26
 
            // 
 
            this.label26.AutoSize = true;
 
            this.label26.Location = new System.Drawing.Point(40, 406);
 
            this.label26.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7);
 
            this.label26.Name = "label26";
 
            this.label26.Size = new System.Drawing.Size(69, 13);
 
            this.label26.TabIndex = 40;
 
            this.label26.Text = "Battery Level";
 
            // 
 
            // tboxCameraBoardTemp
 
            // 
 
            this.tboxCameraBoardTemp.Location = new System.Drawing.Point(146, 376);
 
            this.tboxCameraBoardTemp.Name = "tboxCameraBoardTemp";
 
            this.tboxCameraBoardTemp.ReadOnly = true;
 
            this.tboxCameraBoardTemp.Size = new System.Drawing.Size(100, 20);
 
            this.tboxCameraBoardTemp.TabIndex = 39;
 
            // 
 
            // label27
 
            // 
 
            this.label27.AutoSize = true;
 
            this.label27.Location = new System.Drawing.Point(40, 379);
 
            this.label27.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7);
 
            this.label27.Name = "label27";
 
            this.label27.Size = new System.Drawing.Size(98, 13);
 
            this.label27.TabIndex = 38;
 
            this.label27.Text = "Board Temperature";
 
            // 
 
            // label28
 
            // 
 
            this.label28.AutoSize = true;
 
            this.label28.Location = new System.Drawing.Point(15, 352);
 
            this.label28.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7);
 
            this.label28.Name = "label28";
 
            this.label28.Size = new System.Drawing.Size(81, 13);
 
            this.label28.TabIndex = 37;
 
            this.label28.Text = "Camera Module";
 
            // 
 
            // tboxGeigerRads
 
            // 
 
@@ -809,96 +815,132 @@
 
            this.tboxAtmoBoardTemp.TabIndex = 19;
 
            // 
 
            // label8
 
            // 
 
            this.label8.AutoSize = true;
 
            this.label8.Location = new System.Drawing.Point(40, 57);
 
            this.label8.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7);
 
            this.label8.Name = "label8";
 
            this.label8.Size = new System.Drawing.Size(98, 13);
 
            this.label8.TabIndex = 18;
 
            this.label8.Text = "Board Temperature";
 
            // 
 
            // label20
 
            // 
 
            this.label20.AutoSize = true;
 
            this.label20.Location = new System.Drawing.Point(15, 30);
 
            this.label20.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7);
 
            this.label20.Name = "label20";
 
            this.label20.Size = new System.Drawing.Size(101, 13);
 
            this.label20.TabIndex = 18;
 
            this.label20.Text = "Atmosphere Module";
 
            // 
 
            // gboxMasterData
 
            // 
 
            this.gboxMasterData.Controls.Add(this.tboxMasterHDOP);
 
            this.gboxMasterData.Controls.Add(this.label30);
 
            this.gboxMasterData.Controls.Add(this.tboxMasterSatellites);
 
            this.gboxMasterData.Controls.Add(this.label29);
 
            this.gboxMasterData.Controls.Add(this.textBox6);
 
            this.gboxMasterData.Controls.Add(this.label7);
 
            this.gboxMasterData.Controls.Add(this.label6);
 
            this.gboxMasterData.Controls.Add(this.tboxMasterVelocity);
 
            this.gboxMasterData.Controls.Add(this.label3);
 
            this.gboxMasterData.Controls.Add(this.tboxMasterLongitude);
 
            this.gboxMasterData.Controls.Add(this.label2);
 
            this.gboxMasterData.Controls.Add(this.tboxMasterLatitude);
 
            this.gboxMasterData.Controls.Add(this.label16);
 
            this.gboxMasterData.Controls.Add(this.tboxMasterBatteryLevel);
 
            this.gboxMasterData.Controls.Add(this.tboxMasterBoardTemp);
 
            this.gboxMasterData.Controls.Add(this.label1);
 
            this.gboxMasterData.Location = new System.Drawing.Point(13, 13);
 
            this.gboxMasterData.Name = "gboxMasterData";
 
            this.gboxMasterData.Padding = new System.Windows.Forms.Padding(10);
 
            this.gboxMasterData.Size = new System.Drawing.Size(240, 329);
 
            this.gboxMasterData.TabIndex = 0;
 
            this.gboxMasterData.TabStop = false;
 
            this.gboxMasterData.Text = "Master Module";
 
            // 
 
            // tboxMasterHDOP
 
            // 
 
            this.tboxMasterHDOP.Location = new System.Drawing.Point(120, 214);
 
            this.tboxMasterHDOP.Name = "tboxMasterHDOP";
 
            this.tboxMasterHDOP.ReadOnly = true;
 
            this.tboxMasterHDOP.Size = new System.Drawing.Size(100, 20);
 
            this.tboxMasterHDOP.TabIndex = 21;
 
            // 
 
            // label30
 
            // 
 
            this.label30.AutoSize = true;
 
            this.label30.Location = new System.Drawing.Point(14, 217);
 
            this.label30.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7);
 
            this.label30.Name = "label30";
 
            this.label30.Size = new System.Drawing.Size(38, 13);
 
            this.label30.TabIndex = 20;
 
            this.label30.Text = "HDOP";
 
            // 
 
            // tboxMasterSatellites
 
            // 
 
            this.tboxMasterSatellites.Location = new System.Drawing.Point(121, 188);
 
            this.tboxMasterSatellites.Name = "tboxMasterSatellites";
 
            this.tboxMasterSatellites.ReadOnly = true;
 
            this.tboxMasterSatellites.Size = new System.Drawing.Size(100, 20);
 
            this.tboxMasterSatellites.TabIndex = 19;
 
            // 
 
            // label29
 
            // 
 
            this.label29.AutoSize = true;
 
            this.label29.Location = new System.Drawing.Point(15, 191);
 
            this.label29.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7);
 
            this.label29.Name = "label29";
 
            this.label29.Size = new System.Drawing.Size(86, 13);
 
            this.label29.TabIndex = 18;
 
            this.label29.Text = "Satellites in View";
 
            // 
 
            // textBox6
 
            // 
 
            this.textBox6.Location = new System.Drawing.Point(120, 162);
 
            this.textBox6.Name = "textBox6";
 
            this.textBox6.ReadOnly = true;
 
            this.textBox6.Size = new System.Drawing.Size(100, 20);
 
            this.textBox6.TabIndex = 17;
 
            // 
 
            // label7
 
            // 
 
            this.label7.AutoSize = true;
 
            this.label7.Location = new System.Drawing.Point(14, 165);
 
            this.label7.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7);
 
            this.label7.Name = "label7";
 
            this.label7.Size = new System.Drawing.Size(67, 13);
 
            this.label7.TabIndex = 16;
 
            this.label7.Text = "GPS Altitude";
 
            // 
 
            // label6
 
            // 
 
            this.label6.AutoSize = true;
 
            this.label6.Location = new System.Drawing.Point(15, 138);
 
            this.label6.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7);
 
            this.label6.Name = "label6";
 
            this.label6.Size = new System.Drawing.Size(44, 13);
 
            this.label6.TabIndex = 15;
 
            this.label6.Text = "Velocity";
 
            // 
 
            // tboxMasterVelocity
 
            // 
 
            this.tboxMasterVelocity.BackColor = System.Drawing.SystemColors.Control;
 
            this.tboxMasterVelocity.Location = new System.Drawing.Point(121, 135);
 
            this.tboxMasterVelocity.Name = "tboxMasterVelocity";
 
            this.tboxMasterVelocity.ReadOnly = true;
 
            this.tboxMasterVelocity.Size = new System.Drawing.Size(100, 20);
 
            this.tboxMasterVelocity.TabIndex = 14;
 
            // 
 
            // label3
 
            // 
 
            this.label3.AutoSize = true;
 
            this.label3.Location = new System.Drawing.Point(14, 111);
 
            this.label3.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7);
 
            this.label3.Name = "label3";
 
            this.label3.Size = new System.Drawing.Size(54, 13);
 
            this.label3.TabIndex = 13;
 
            this.label3.Text = "Longitude";
 
            // 
 
            // tboxMasterLongitude
 
@@ -921,801 +963,741 @@
 
            // 
 
            // tboxMasterLatitude
 
            // 
 
            this.tboxMasterLatitude.Location = new System.Drawing.Point(121, 81);
 
            this.tboxMasterLatitude.Name = "tboxMasterLatitude";
 
            this.tboxMasterLatitude.ReadOnly = true;
 
            this.tboxMasterLatitude.Size = new System.Drawing.Size(100, 20);
 
            this.tboxMasterLatitude.TabIndex = 10;
 
            // 
 
            // label16
 
            // 
 
            this.label16.AutoSize = true;
 
            this.label16.Location = new System.Drawing.Point(14, 57);
 
            this.label16.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7);
 
            this.label16.Name = "label16";
 
            this.label16.Size = new System.Drawing.Size(69, 13);
 
            this.label16.TabIndex = 9;
 
            this.label16.Text = "Battery Level";
 
            // 
 
            // tboxMasterBatteryLevel
 
            // 
 
            this.tboxMasterBatteryLevel.Location = new System.Drawing.Point(120, 54);
 
            this.tboxMasterBatteryLevel.Name = "tboxMasterBatteryLevel";
 
            this.tboxMasterBatteryLevel.ReadOnly = true;
 
            this.tboxMasterBatteryLevel.Size = new System.Drawing.Size(100, 20);
 
            this.tboxMasterBatteryLevel.TabIndex = 8;
 
            // 
 
            // tboxMasterBoardTemp
 
            // 
 
            this.tboxMasterBoardTemp.Location = new System.Drawing.Point(120, 24);
 
            this.tboxMasterBoardTemp.Name = "tboxMasterBoardTemp";
 
            this.tboxMasterBoardTemp.ReadOnly = true;
 
            this.tboxMasterBoardTemp.Size = new System.Drawing.Size(100, 20);
 
            this.tboxMasterBoardTemp.TabIndex = 1;
 
            // 
 
            // label1
 
            // 
 
            this.label1.AutoSize = true;
 
            this.label1.Location = new System.Drawing.Point(15, 30);
 
            this.label1.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7);
 
            this.label1.Name = "label1";
 
            this.label1.Size = new System.Drawing.Size(98, 13);
 
            this.label1.TabIndex = 0;
 
            this.label1.Text = "Board Temperature";
 
            // 
 
            // tboxMessageBox
 
            // 
 
            this.tboxMessageBox.AcceptsReturn = true;
 
            this.tboxMessageBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
 
            | System.Windows.Forms.AnchorStyles.Left) 
 
            | System.Windows.Forms.AnchorStyles.Right)));
 
            this.tboxMessageBox.BackColor = System.Drawing.SystemColors.ScrollBar;
 
            this.tboxMessageBox.Location = new System.Drawing.Point(0, 3);
 
            this.tboxMessageBox.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.tboxMessageBox.Location = new System.Drawing.Point(0, 0);
 
            this.tboxMessageBox.Multiline = true;
 
            this.tboxMessageBox.Name = "tboxMessageBox";
 
            this.tboxMessageBox.ReadOnly = true;
 
            this.tboxMessageBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
 
            this.tboxMessageBox.Size = new System.Drawing.Size(868, 81);
 
            this.tboxMessageBox.Size = new System.Drawing.Size(871, 120);
 
            this.tboxMessageBox.TabIndex = 30;
 
            // 
 
            // splitContainer1
 
            // 
 
            this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
 
            | System.Windows.Forms.AnchorStyles.Left) 
 
            | System.Windows.Forms.AnchorStyles.Right)));
 
            this.splitContainer1.Location = new System.Drawing.Point(12, 12);
 
            this.splitContainer1.Name = "splitContainer1";
 
            this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
 
            // 
 
            // splitContainer1.Panel1
 
            // 
 
            this.splitContainer1.Panel1.Controls.Add(this.tabControl);
 
            // 
 
            // splitContainer1.Panel2
 
            // 
 
            this.splitContainer1.Panel2.Controls.Add(this.tboxMessageBox);
 
            this.splitContainer1.Size = new System.Drawing.Size(871, 603);
 
            this.splitContainer1.SplitterDistance = 515;
 
            this.splitContainer1.Size = new System.Drawing.Size(871, 839);
 
            this.splitContainer1.SplitterDistance = 715;
 
            this.splitContainer1.TabIndex = 46;
 
            // 
 
            // tboxMasterSatellites
 
            // 
 
            this.tboxMasterSatellites.Location = new System.Drawing.Point(121, 188);
 
            this.tboxMasterSatellites.Name = "tboxMasterSatellites";
 
            this.tboxMasterSatellites.ReadOnly = true;
 
            this.tboxMasterSatellites.Size = new System.Drawing.Size(100, 20);
 
            this.tboxMasterSatellites.TabIndex = 19;
 
            // 
 
            // label29
 
            // 
 
            this.label29.AutoSize = true;
 
            this.label29.Location = new System.Drawing.Point(15, 191);
 
            this.label29.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7);
 
            this.label29.Name = "label29";
 
            this.label29.Size = new System.Drawing.Size(86, 13);
 
            this.label29.TabIndex = 18;
 
            this.label29.Text = "Satellites in View";
 
            // 
 
            // tboxMasterHDOP
 
            // 
 
            this.tboxMasterHDOP.Location = new System.Drawing.Point(120, 214);
 
            this.tboxMasterHDOP.Name = "tboxMasterHDOP";
 
            this.tboxMasterHDOP.ReadOnly = true;
 
            this.tboxMasterHDOP.Size = new System.Drawing.Size(100, 20);
 
            this.tboxMasterHDOP.TabIndex = 21;
 
            // 
 
            // label30
 
            // 
 
            this.label30.AutoSize = true;
 
            this.label30.Location = new System.Drawing.Point(14, 217);
 
            this.label30.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7);
 
            this.label30.Name = "label30";
 
            this.label30.Size = new System.Drawing.Size(38, 13);
 
            this.label30.TabIndex = 20;
 
            this.label30.Text = "HDOP";
 
            // 
 
            // MainMap
 
            // 
 
            this.MainMap.Bearing = 0F;
 
            this.MainMap.CanDragMap = true;
 
            this.MainMap.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.MainMap.EmptyTileColor = System.Drawing.Color.Navy;
 
            this.MainMap.GrayScaleMode = false;
 
            this.MainMap.HelperLineOption = GMap.NET.WindowsForms.HelperLineOptions.DontShow;
 
            this.MainMap.LevelsKeepInMemmory = 5;
 
            this.MainMap.Location = new System.Drawing.Point(0, 0);
 
            this.MainMap.MarkersEnabled = true;
 
            this.MainMap.MaxZoom = 17;
 
            this.MainMap.MinZoom = 2;
 
            this.MainMap.MouseWheelZoomType = GMap.NET.MouseWheelZoomType.MousePositionAndCenter;
 
            this.MainMap.Name = "MainMap";
 
            this.MainMap.NegativeMode = false;
 
            this.MainMap.PolygonsEnabled = true;
 
            this.MainMap.RetryLoadTile = 0;
 
            this.MainMap.RoutesEnabled = true;
 
            this.MainMap.ScaleMode = GMap.NET.WindowsForms.ScaleModes.Integer;
 
            this.MainMap.SelectedAreaFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(65)))), ((int)(((byte)(105)))), ((int)(((byte)(225)))));
 
            this.MainMap.ShowTileGridLines = false;
 
            this.MainMap.Size = new System.Drawing.Size(599, 419);
 
            this.MainMap.Size = new System.Drawing.Size(599, 684);
 
            this.MainMap.TabIndex = 0;
 
            this.MainMap.Zoom = 0D;
 
            // 
 
            // splitter1
 
            // 
 
            this.splitter1.BackColor = System.Drawing.Color.Transparent;
 
            this.splitter1.Dock = System.Windows.Forms.DockStyle.Right;
 
            this.splitter1.Enabled = false;
 
            this.splitter1.Location = new System.Drawing.Point(597, 0);
 
            this.splitter1.Margin = new System.Windows.Forms.Padding(2);
 
            this.splitter1.MinExtra = 390;
 
            this.splitter1.MinSize = 390;
 
            this.splitter1.Name = "splitter1";
 
            this.splitter1.Size = new System.Drawing.Size(2, 419);
 
            this.splitter1.Size = new System.Drawing.Size(2, 684);
 
            this.splitter1.TabIndex = 42;
 
            this.splitter1.TabStop = false;
 
            // 
 
            // panelMenu
 
            // 
 
            this.panelMenu.AssociatedSplitter = this.splitter1;
 
            this.panelMenu.BackColor = System.Drawing.Color.Transparent;
 
            this.panelMenu.CaptionFont = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
 
            this.panelMenu.CaptionHeight = 27;
 
            this.panelMenu.Controls.Add(this.xPanderPanelList1);
 
            this.panelMenu.CustomColors.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(184)))), ((int)(((byte)(184)))));
 
            this.panelMenu.CustomColors.CaptionCloseIcon = System.Drawing.SystemColors.ControlText;
 
            this.panelMenu.CustomColors.CaptionExpandIcon = System.Drawing.SystemColors.ControlText;
 
            this.panelMenu.CustomColors.CaptionGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(252)))));
 
            this.panelMenu.CustomColors.CaptionGradientEnd = System.Drawing.SystemColors.ButtonFace;
 
            this.panelMenu.CustomColors.CaptionGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(248)))), ((int)(((byte)(248)))));
 
            this.panelMenu.CustomColors.CaptionSelectedGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.panelMenu.CustomColors.CaptionSelectedGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.panelMenu.CustomColors.CaptionText = System.Drawing.SystemColors.ControlText;
 
            this.panelMenu.CustomColors.CollapsedCaptionText = System.Drawing.SystemColors.ControlText;
 
            this.panelMenu.CustomColors.ContentGradientBegin = System.Drawing.SystemColors.ButtonFace;
 
            this.panelMenu.CustomColors.ContentGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(252)))));
 
            this.panelMenu.CustomColors.InnerBorderColor = System.Drawing.SystemColors.Window;
 
            this.panelMenu.Dock = System.Windows.Forms.DockStyle.Right;
 
            this.panelMenu.ForeColor = System.Drawing.SystemColors.ControlText;
 
            this.panelMenu.Image = null;
 
            this.panelMenu.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
 
            this.panelMenu.Location = new System.Drawing.Point(599, 0);
 
            this.panelMenu.Margin = new System.Windows.Forms.Padding(2);
 
            this.panelMenu.MinimumSize = new System.Drawing.Size(27, 27);
 
            this.panelMenu.Name = "panelMenu";
 
            this.panelMenu.PanelStyle = BSE.Windows.Forms.PanelStyle.Office2007;
 
            this.panelMenu.ShowExpandIcon = true;
 
            this.panelMenu.Size = new System.Drawing.Size(258, 419);
 
            this.panelMenu.Size = new System.Drawing.Size(258, 684);
 
            this.panelMenu.TabIndex = 40;
 
            this.panelMenu.Text = "Menu";
 
            this.panelMenu.ToolTipTextCloseIcon = null;
 
            this.panelMenu.ToolTipTextExpandIconPanelCollapsed = "maximize";
 
            this.panelMenu.ToolTipTextExpandIconPanelExpanded = "minimize";
 
            // 
 
            // xPanderPanelList1
 
            // 
 
            this.xPanderPanelList1.CaptionStyle = BSE.Windows.Forms.CaptionStyle.Flat;
 
            this.xPanderPanelList1.Controls.Add(this.xPanderPanelMain);
 
            this.xPanderPanelList1.Controls.Add(this.xPanderPanelInfo);
 
            this.xPanderPanelList1.Controls.Add(this.xPanderPanelCache);
 
            this.xPanderPanelList1.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.xPanderPanelList1.GradientBackground = System.Drawing.Color.Empty;
 
            this.xPanderPanelList1.Location = new System.Drawing.Point(0, 28);
 
            this.xPanderPanelList1.Margin = new System.Windows.Forms.Padding(2);
 
            this.xPanderPanelList1.Name = "xPanderPanelList1";
 
            this.xPanderPanelList1.PanelColors = null;
 
            this.xPanderPanelList1.PanelStyle = BSE.Windows.Forms.PanelStyle.Office2007;
 
            this.xPanderPanelList1.ShowExpandIcon = true;
 
            this.xPanderPanelList1.Size = new System.Drawing.Size(258, 390);
 
            this.xPanderPanelList1.Size = new System.Drawing.Size(258, 655);
 
            this.xPanderPanelList1.TabIndex = 0;
 
            this.xPanderPanelList1.Text = "xPanderPanelList1";
 
            // 
 
            // xPanderPanelMain
 
            // 
 
            this.xPanderPanelMain.CaptionFont = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Bold);
 
            this.xPanderPanelMain.Controls.Add(this.tableLayoutPanel4);
 
            this.xPanderPanelMain.CustomColors.BackColor = System.Drawing.SystemColors.Control;
 
            this.xPanderPanelMain.CustomColors.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(184)))), ((int)(((byte)(184)))));
 
            this.xPanderPanelMain.CustomColors.CaptionCheckedGradientBegin = System.Drawing.Color.Empty;
 
            this.xPanderPanelMain.CustomColors.CaptionCheckedGradientEnd = System.Drawing.Color.Empty;
 
            this.xPanderPanelMain.CustomColors.CaptionCheckedGradientMiddle = System.Drawing.Color.Empty;
 
            this.xPanderPanelMain.CustomColors.CaptionCloseIcon = System.Drawing.SystemColors.ControlText;
 
            this.xPanderPanelMain.CustomColors.CaptionExpandIcon = System.Drawing.SystemColors.ControlText;
 
            this.xPanderPanelMain.CustomColors.CaptionGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(252)))));
 
            this.xPanderPanelMain.CustomColors.CaptionGradientEnd = System.Drawing.SystemColors.ButtonFace;
 
            this.xPanderPanelMain.CustomColors.CaptionGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(248)))), ((int)(((byte)(248)))));
 
            this.xPanderPanelMain.CustomColors.CaptionPressedGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.xPanderPanelMain.CustomColors.CaptionPressedGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.xPanderPanelMain.CustomColors.CaptionPressedGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.xPanderPanelMain.CustomColors.CaptionSelectedGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.xPanderPanelMain.CustomColors.CaptionSelectedGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.xPanderPanelMain.CustomColors.CaptionSelectedGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.xPanderPanelMain.CustomColors.CaptionSelectedText = System.Drawing.SystemColors.ControlText;
 
            this.xPanderPanelMain.CustomColors.CaptionText = System.Drawing.SystemColors.ControlText;
 
            this.xPanderPanelMain.CustomColors.FlatCaptionGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(248)))), ((int)(((byte)(248)))));
 
            this.xPanderPanelMain.CustomColors.FlatCaptionGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(252)))));
 
            this.xPanderPanelMain.CustomColors.InnerBorderColor = System.Drawing.SystemColors.Window;
 
            this.xPanderPanelMain.Expand = true;
 
            this.xPanderPanelMain.ForeColor = System.Drawing.SystemColors.ControlText;
 
            this.xPanderPanelMain.Image = null;
 
            this.xPanderPanelMain.IsClosable = false;
 
            this.xPanderPanelMain.Margin = new System.Windows.Forms.Padding(2);
 
            this.xPanderPanelMain.Name = "xPanderPanelMain";
 
            this.xPanderPanelMain.PanelStyle = BSE.Windows.Forms.PanelStyle.Office2007;
 
            this.xPanderPanelMain.Size = new System.Drawing.Size(258, 340);
 
            this.xPanderPanelMain.Size = new System.Drawing.Size(258, 605);
 
            this.xPanderPanelMain.TabIndex = 0;
 
            this.xPanderPanelMain.Text = "map";
 
            this.xPanderPanelMain.ToolTipTextCloseIcon = null;
 
            this.xPanderPanelMain.ToolTipTextExpandIconPanelCollapsed = null;
 
            this.xPanderPanelMain.ToolTipTextExpandIconPanelExpanded = null;
 
            this.xPanderPanelMain.Click += new System.EventHandler(this.xPanderPanel1_Click);
 
            // 
 
            // tableLayoutPanel4
 
            // 
 
            this.tableLayoutPanel4.ColumnCount = 2;
 
            this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 48F));
 
            this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 49.27536F));
 
            this.tableLayoutPanel4.Controls.Add(this.tableLayoutPanel5, 1, 0);
 
            this.tableLayoutPanel4.Controls.Add(this.tableLayoutPanel6, 0, 0);
 
            this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.tableLayoutPanel4.Location = new System.Drawing.Point(1, 25);
 
            this.tableLayoutPanel4.Margin = new System.Windows.Forms.Padding(2);
 
            this.tableLayoutPanel4.Name = "tableLayoutPanel4";
 
            this.tableLayoutPanel4.RowCount = 1;
 
            this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
 
            this.tableLayoutPanel4.Size = new System.Drawing.Size(256, 315);
 
            this.tableLayoutPanel4.Size = new System.Drawing.Size(256, 580);
 
            this.tableLayoutPanel4.TabIndex = 38;
 
            // 
 
            // tableLayoutPanel5
 
            // 
 
            this.tableLayoutPanel5.ColumnCount = 1;
 
            this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
 
            this.tableLayoutPanel5.Controls.Add(this.groupBox8, 0, 3);
 
            this.tableLayoutPanel5.Controls.Add(this.groupBox7, 0, 2);
 
            this.tableLayoutPanel5.Controls.Add(this.groupBox5, 0, 1);
 
            this.tableLayoutPanel5.Controls.Add(this.groupBox3, 0, 0);
 
            this.tableLayoutPanel5.Controls.Add(this.cboxCollectData, 0, 4);
 
            this.tableLayoutPanel5.Controls.Add(this.gboxRemove, 0, 3);
 
            this.tableLayoutPanel5.Controls.Add(this.gboxMapItems, 0, 2);
 
            this.tableLayoutPanel5.Controls.Add(this.gboxGmap, 0, 1);
 
            this.tableLayoutPanel5.Controls.Add(this.gboxCoordinates, 0, 0);
 
            this.tableLayoutPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.tableLayoutPanel5.Location = new System.Drawing.Point(48, 0);
 
            this.tableLayoutPanel5.Margin = new System.Windows.Forms.Padding(0, 0, 2, 2);
 
            this.tableLayoutPanel5.Name = "tableLayoutPanel5";
 
            this.tableLayoutPanel5.RowCount = 5;
 
            this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 6F));
 
            this.tableLayoutPanel5.Size = new System.Drawing.Size(206, 313);
 
            this.tableLayoutPanel5.Size = new System.Drawing.Size(206, 578);
 
            this.tableLayoutPanel5.TabIndex = 30;
 
            // 
 
            // groupBox8
 
            // 
 
            this.groupBox8.Controls.Add(this.btnZoomCenter);
 
            this.groupBox8.Controls.Add(this.xboxPlacemarkInfo);
 
            this.groupBox8.Controls.Add(this.btnClearAll);
 
            this.groupBox8.Controls.Add(this.btnAddMarker);
 
            this.groupBox8.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.groupBox8.Location = new System.Drawing.Point(3, 450);
 
            this.groupBox8.Name = "groupBox8";
 
            this.groupBox8.Size = new System.Drawing.Size(200, 74);
 
            this.groupBox8.TabIndex = 37;
 
            this.groupBox8.TabStop = false;
 
            this.groupBox8.Text = "markers";
 
            // 
 
            // btnZoomCenter
 
            // gboxRemove
 
            // 
 
            this.btnZoomCenter.Location = new System.Drawing.Point(6, 45);
 
            this.btnZoomCenter.Name = "btnZoomCenter";
 
            this.btnZoomCenter.Size = new System.Drawing.Size(82, 24);
 
            this.btnZoomCenter.TabIndex = 15;
 
            this.btnZoomCenter.Text = "Zoom Center";
 
            this.btnZoomCenter.UseVisualStyleBackColor = true;
 
            this.btnZoomCenter.Click += new System.EventHandler(this.button7_Click);
 
            // 
 
            // xboxPlacemarkInfo
 
            // 
 
            this.xboxPlacemarkInfo.AutoSize = true;
 
            this.xboxPlacemarkInfo.CheckAlign = System.Drawing.ContentAlignment.TopLeft;
 
            this.xboxPlacemarkInfo.Checked = true;
 
            this.xboxPlacemarkInfo.CheckState = System.Windows.Forms.CheckState.Checked;
 
            this.xboxPlacemarkInfo.Location = new System.Drawing.Point(94, 19);
 
            this.xboxPlacemarkInfo.Name = "xboxPlacemarkInfo";
 
            this.xboxPlacemarkInfo.Size = new System.Drawing.Size(72, 17);
 
            this.xboxPlacemarkInfo.TabIndex = 14;
 
            this.xboxPlacemarkInfo.Text = "place info";
 
            this.xboxPlacemarkInfo.UseVisualStyleBackColor = true;
 
            this.gboxRemove.AutoSize = true;
 
            this.gboxRemove.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
 
            this.gboxRemove.Controls.Add(this.btnClearAll);
 
            this.gboxRemove.Controls.Add(this.btnClearMarkers);
 
            this.gboxRemove.Controls.Add(this.btnClearRoutes);
 
            this.gboxRemove.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.gboxRemove.Location = new System.Drawing.Point(3, 495);
 
            this.gboxRemove.Name = "gboxRemove";
 
            this.gboxRemove.Size = new System.Drawing.Size(200, 91);
 
            this.gboxRemove.TabIndex = 37;
 
            this.gboxRemove.TabStop = false;
 
            this.gboxRemove.Text = "Remove Map Item";
 
            // 
 
            // btnClearAll
 
            // 
 
            this.btnClearAll.Location = new System.Drawing.Point(94, 45);
 
            this.btnClearAll.Location = new System.Drawing.Point(9, 49);
 
            this.btnClearAll.Name = "btnClearAll";
 
            this.btnClearAll.Size = new System.Drawing.Size(63, 24);
 
            this.btnClearAll.TabIndex = 13;
 
            this.btnClearAll.Size = new System.Drawing.Size(75, 23);
 
            this.btnClearAll.TabIndex = 46;
 
            this.btnClearAll.Text = "Clear All";
 
            this.btnClearAll.UseVisualStyleBackColor = true;
 
            this.btnClearAll.Click += new System.EventHandler(this.btnClearMarkers_Click);
 
            this.btnClearAll.Click += new System.EventHandler(this.btnClearAll_Click);
 
            // 
 
            // btnAddMarker
 
            // btnClearMarkers
 
            // 
 
            this.btnAddMarker.Location = new System.Drawing.Point(6, 15);
 
            this.btnAddMarker.Name = "btnAddMarker";
 
            this.btnAddMarker.Size = new System.Drawing.Size(82, 24);
 
            this.btnAddMarker.TabIndex = 12;
 
            this.btnAddMarker.Text = "Add Marker";
 
            this.btnAddMarker.UseVisualStyleBackColor = true;
 
            this.btnAddMarker.Click += new System.EventHandler(this.btnAddMarker_Click);
 
            this.btnClearMarkers.AutoSize = true;
 
            this.btnClearMarkers.Location = new System.Drawing.Point(68, 19);
 
            this.btnClearMarkers.Name = "btnClearMarkers";
 
            this.btnClearMarkers.Size = new System.Drawing.Size(63, 24);
 
            this.btnClearMarkers.TabIndex = 13;
 
            this.btnClearMarkers.Text = "Markers";
 
            this.btnClearMarkers.UseVisualStyleBackColor = true;
 
            this.btnClearMarkers.Click += new System.EventHandler(this.btnClearMarkers_Click);
 
            // 
 
            // groupBox7
 
            // btnClearRoutes
 
            // 
 
            this.groupBox7.Controls.Add(this.buttonExportToGpx);
 
            this.groupBox7.Controls.Add(this.MobileLogTo);
 
            this.groupBox7.Controls.Add(this.lblClear);
 
            this.groupBox7.Controls.Add(this.btnClearPolygons);
 
            this.groupBox7.Controls.Add(this.MobileLogFrom);
 
            this.groupBox7.Controls.Add(this.btnMobileLog);
 
            this.groupBox7.Controls.Add(this.buttonSetEnd);
 
            this.groupBox7.Controls.Add(this.buttonSetStart);
 
            this.groupBox7.Controls.Add(this.btnClearRoutes);
 
            this.groupBox7.Controls.Add(this.btnAddRoute);
 
            this.groupBox7.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.groupBox7.Location = new System.Drawing.Point(3, 289);
 
            this.groupBox7.Name = "groupBox7";
 
            this.groupBox7.Size = new System.Drawing.Size(200, 155);
 
            this.groupBox7.TabIndex = 35;
 
            this.groupBox7.TabStop = false;
 
            this.groupBox7.Text = "routing";
 
            this.btnClearRoutes.AutoSize = true;
 
            this.btnClearRoutes.Location = new System.Drawing.Point(9, 19);
 
            this.btnClearRoutes.Name = "btnClearRoutes";
 
            this.btnClearRoutes.Size = new System.Drawing.Size(55, 24);
 
            this.btnClearRoutes.TabIndex = 34;
 
            this.btnClearRoutes.Text = "Routes";
 
            this.btnClearRoutes.UseVisualStyleBackColor = true;
 
            this.btnClearRoutes.Click += new System.EventHandler(this.btnClearRoutes_Click);
 
            // 
 
            // gboxMapItems
 
            // 
 
            this.gboxMapItems.AutoSize = true;
 
            this.gboxMapItems.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
 
            this.gboxMapItems.Controls.Add(this.buttonExportToGpx);
 
            this.gboxMapItems.Controls.Add(this.xboxPlacemarkInfo);
 
            this.gboxMapItems.Controls.Add(this.MobileLogTo);
 
            this.gboxMapItems.Controls.Add(this.MobileLogFrom);
 
            this.gboxMapItems.Controls.Add(this.btnMobileLog);
 
            this.gboxMapItems.Controls.Add(this.btnAddMarker);
 
            this.gboxMapItems.Controls.Add(this.btnSetEnd);
 
            this.gboxMapItems.Controls.Add(this.btnSetStart);
 
            this.gboxMapItems.Controls.Add(this.btnAddRoute);
 
            this.gboxMapItems.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.gboxMapItems.Location = new System.Drawing.Point(3, 322);
 
            this.gboxMapItems.Name = "gboxMapItems";
 
            this.gboxMapItems.Size = new System.Drawing.Size(200, 167);
 
            this.gboxMapItems.TabIndex = 35;
 
            this.gboxMapItems.TabStop = false;
 
            this.gboxMapItems.Text = "Add Map Item";
 
            // 
 
            // buttonExportToGpx
 
            // 
 
            this.buttonExportToGpx.Location = new System.Drawing.Point(124, 78);
 
            this.buttonExportToGpx.Margin = new System.Windows.Forms.Padding(2);
 
            this.buttonExportToGpx.Name = "buttonExportToGpx";
 
            this.buttonExportToGpx.Size = new System.Drawing.Size(37, 37);
 
            this.buttonExportToGpx.TabIndex = 48;
 
            this.buttonExportToGpx.Text = "to GPX";
 
            this.buttonExportToGpx.UseVisualStyleBackColor = true;
 
            this.buttonExportToGpx.Click += new System.EventHandler(this.buttonExportToGpx_Click);
 
            // 
 
            // xboxPlacemarkInfo
 
            // 
 
            this.xboxPlacemarkInfo.AutoSize = true;
 
            this.xboxPlacemarkInfo.CheckAlign = System.Drawing.ContentAlignment.TopLeft;
 
            this.xboxPlacemarkInfo.Checked = true;
 
            this.xboxPlacemarkInfo.CheckState = System.Windows.Forms.CheckState.Checked;
 
            this.xboxPlacemarkInfo.Location = new System.Drawing.Point(97, 129);
 
            this.xboxPlacemarkInfo.Name = "xboxPlacemarkInfo";
 
            this.xboxPlacemarkInfo.Size = new System.Drawing.Size(72, 17);
 
            this.xboxPlacemarkInfo.TabIndex = 14;
 
            this.xboxPlacemarkInfo.Text = "place info";
 
            this.xboxPlacemarkInfo.UseVisualStyleBackColor = true;
 
            // 
 
            // MobileLogTo
 
            // 
 
            this.MobileLogTo.CustomFormat = "yyyy\'.\'MM\'.\'dd HH\':\'mm";
 
            this.MobileLogTo.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
 
            this.MobileLogTo.Location = new System.Drawing.Point(9, 99);
 
            this.MobileLogTo.Margin = new System.Windows.Forms.Padding(2);
 
            this.MobileLogTo.Name = "MobileLogTo";
 
            this.MobileLogTo.ShowCheckBox = true;
 
            this.MobileLogTo.Size = new System.Drawing.Size(110, 20);
 
            this.MobileLogTo.TabIndex = 47;
 
            // 
 
            // lblClear
 
            // 
 
            this.lblClear.AutoSize = true;
 
            this.lblClear.Location = new System.Drawing.Point(9, 128);
 
            this.lblClear.Name = "lblClear";
 
            this.lblClear.Size = new System.Drawing.Size(34, 13);
 
            this.lblClear.TabIndex = 46;
 
            this.lblClear.Text = "Clear:";
 
            // 
 
            // btnClearPolygons
 
            // 
 
            this.btnClearPolygons.Location = new System.Drawing.Point(104, 124);
 
            this.btnClearPolygons.Name = "btnClearPolygons";
 
            this.btnClearPolygons.Size = new System.Drawing.Size(56, 24);
 
            this.btnClearPolygons.TabIndex = 45;
 
            this.btnClearPolygons.Text = "Polygons";
 
            this.btnClearPolygons.UseVisualStyleBackColor = true;
 
            this.btnClearPolygons.Click += new System.EventHandler(this.btnClearPolygons_Click);
 
            // 
 
            // MobileLogFrom
 
            // 
 
            this.MobileLogFrom.CustomFormat = "yyyy\'.\'MM\'.\'dd HH\':\'mm";
 
            this.MobileLogFrom.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
 
            this.MobileLogFrom.Location = new System.Drawing.Point(9, 78);
 
            this.MobileLogFrom.Margin = new System.Windows.Forms.Padding(2);
 
            this.MobileLogFrom.Name = "MobileLogFrom";
 
            this.MobileLogFrom.ShowCheckBox = true;
 
            this.MobileLogFrom.Size = new System.Drawing.Size(110, 20);
 
            this.MobileLogFrom.TabIndex = 44;
 
            this.MobileLogFrom.Value = new System.DateTime(2010, 5, 10, 15, 41, 0, 0);
 
            // 
 
            // btnMobileLog
 
            // 
 
            this.btnMobileLog.Location = new System.Drawing.Point(88, 49);
 
            this.btnMobileLog.Name = "btnMobileLog";
 
            this.btnMobileLog.Size = new System.Drawing.Size(73, 24);
 
            this.btnMobileLog.TabIndex = 43;
 
            this.btnMobileLog.Text = "Mobile log...";
 
            this.btnMobileLog.UseVisualStyleBackColor = true;
 
            this.btnMobileLog.Click += new System.EventHandler(this.btnMobileLog_Click);
 
            // 
 
            // buttonSetEnd
 
            // btnAddMarker
 
            // 
 
            this.buttonSetEnd.Location = new System.Drawing.Point(88, 19);
 
            this.buttonSetEnd.Name = "buttonSetEnd";
 
            this.buttonSetEnd.Size = new System.Drawing.Size(73, 24);
 
            this.buttonSetEnd.TabIndex = 42;
 
            this.buttonSetEnd.Text = "set End";
 
            this.buttonSetEnd.UseVisualStyleBackColor = true;
 
            this.buttonSetEnd.Click += new System.EventHandler(this.buttonSetEnd_Click);
 
            this.btnAddMarker.Location = new System.Drawing.Point(9, 124);
 
            this.btnAddMarker.Name = "btnAddMarker";
 
            this.btnAddMarker.Size = new System.Drawing.Size(82, 24);
 
            this.btnAddMarker.TabIndex = 12;
 
            this.btnAddMarker.Text = "Add Marker";
 
            this.btnAddMarker.UseVisualStyleBackColor = true;
 
            this.btnAddMarker.Click += new System.EventHandler(this.addUserMarker);
 
            // 
 
            // buttonSetStart
 
            // btnSetEnd
 
            // 
 
            this.buttonSetStart.Location = new System.Drawing.Point(9, 19);
 
            this.buttonSetStart.Name = "buttonSetStart";
 
            this.buttonSetStart.Size = new System.Drawing.Size(73, 24);
 
            this.buttonSetStart.TabIndex = 41;
 
            this.buttonSetStart.Text = "set Start";
 
            this.buttonSetStart.UseVisualStyleBackColor = true;
 
            this.buttonSetStart.Click += new System.EventHandler(this.buttonSetStart_Click);
 
            this.btnSetEnd.Location = new System.Drawing.Point(88, 19);
 
            this.btnSetEnd.Name = "btnSetEnd";
 
            this.btnSetEnd.Size = new System.Drawing.Size(73, 24);
 
            this.btnSetEnd.TabIndex = 42;
 
            this.btnSetEnd.Text = "set End";
 
            this.btnSetEnd.UseVisualStyleBackColor = true;
 
            this.btnSetEnd.Click += new System.EventHandler(this.buttonSetEnd_Click);
 
            // 
 
            // btnClearRoutes
 
            // btnSetStart
 
            // 
 
            this.btnClearRoutes.Location = new System.Drawing.Point(45, 124);
 
            this.btnClearRoutes.Name = "btnClearRoutes";
 
            this.btnClearRoutes.Size = new System.Drawing.Size(55, 24);
 
            this.btnClearRoutes.TabIndex = 34;
 
            this.btnClearRoutes.Text = "Routes";
 
            this.btnClearRoutes.UseVisualStyleBackColor = true;
 
            this.btnClearRoutes.Click += new System.EventHandler(this.btnClearRoutes_Click);
 
            this.btnSetStart.Location = new System.Drawing.Point(9, 19);
 
            this.btnSetStart.Name = "btnSetStart";
 
            this.btnSetStart.Size = new System.Drawing.Size(73, 24);
 
            this.btnSetStart.TabIndex = 41;
 
            this.btnSetStart.Text = "set Start";
 
            this.btnSetStart.UseVisualStyleBackColor = true;
 
            this.btnSetStart.Click += new System.EventHandler(this.buttonSetStart_Click);
 
            // 
 
            // btnAddRoute
 
            // 
 
            this.btnAddRoute.Location = new System.Drawing.Point(9, 49);
 
            this.btnAddRoute.Name = "btnAddRoute";
 
            this.btnAddRoute.Size = new System.Drawing.Size(73, 24);
 
            this.btnAddRoute.TabIndex = 33;
 
            this.btnAddRoute.Text = "Add Route";
 
            this.btnAddRoute.UseVisualStyleBackColor = true;
 
            this.btnAddRoute.Click += new System.EventHandler(this.btnAddRoute_Click);
 
            // 
 
            // groupBox5
 
            // gboxGmap
 
            // 
 
            this.groupBox5.Controls.Add(this.btnLoadGPX);
 
            this.groupBox5.Controls.Add(this.btnGetStatic);
 
            this.groupBox5.Controls.Add(this.xboxGrid);
 
            this.groupBox5.Controls.Add(this.btnSaveView);
 
            this.groupBox5.Controls.Add(this.lblMode);
 
            this.groupBox5.Controls.Add(this.comboBoxMode);
 
            this.groupBox5.Controls.Add(this.xboxCanDrag);
 
            this.groupBox5.Controls.Add(this.xboxCurrentMarker);
 
            this.groupBox5.Controls.Add(this.lblMapType);
 
            this.groupBox5.Controls.Add(this.comboBoxMapType);
 
            this.groupBox5.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.groupBox5.Location = new System.Drawing.Point(3, 137);
 
            this.groupBox5.Name = "groupBox5";
 
            this.groupBox5.Size = new System.Drawing.Size(200, 146);
 
            this.groupBox5.TabIndex = 31;
 
            this.groupBox5.TabStop = false;
 
            this.groupBox5.Text = "gmap";
 
            this.gboxGmap.AutoSize = true;
 
            this.gboxGmap.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
 
            this.gboxGmap.Controls.Add(this.btnLoadGPX);
 
            this.gboxGmap.Controls.Add(this.btnGetStatic);
 
            this.gboxGmap.Controls.Add(this.xboxGrid);
 
            this.gboxGmap.Controls.Add(this.btnSaveView);
 
            this.gboxGmap.Controls.Add(this.lblMode);
 
            this.gboxGmap.Controls.Add(this.comboBoxMode);
 
            this.gboxGmap.Controls.Add(this.xboxCanDrag);
 
            this.gboxGmap.Controls.Add(this.xboxCurrentMarker);
 
            this.gboxGmap.Controls.Add(this.lblMapType);
 
            this.gboxGmap.Controls.Add(this.comboBoxMapType);
 
            this.gboxGmap.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.gboxGmap.Location = new System.Drawing.Point(3, 153);
 
            this.gboxGmap.Name = "gboxGmap";
 
            this.gboxGmap.Size = new System.Drawing.Size(200, 163);
 
            this.gboxGmap.TabIndex = 31;
 
            this.gboxGmap.TabStop = false;
 
            this.gboxGmap.Text = "gmap";
 
            // 
 
            // btnLoadGPX
 
            // 
 
            this.btnLoadGPX.Location = new System.Drawing.Point(92, 92);
 
            this.btnLoadGPX.Name = "btnLoadGPX";
 
            this.btnLoadGPX.Size = new System.Drawing.Size(69, 24);
 
            this.btnLoadGPX.TabIndex = 49;
 
            this.btnLoadGPX.Text = "GPX...";
 
            this.btnLoadGPX.UseVisualStyleBackColor = true;
 
            this.btnLoadGPX.Click += new System.EventHandler(this.btnLoadGPX_Click);
 
            // 
 
            // btnGetStatic
 
            // 
 
            this.btnGetStatic.Location = new System.Drawing.Point(9, 117);
 
            this.btnGetStatic.Location = new System.Drawing.Point(9, 121);
 
            this.btnGetStatic.Margin = new System.Windows.Forms.Padding(2);
 
            this.btnGetStatic.Name = "btnGetStatic";
 
            this.btnGetStatic.Size = new System.Drawing.Size(73, 24);
 
            this.btnGetStatic.TabIndex = 41;
 
            this.btnGetStatic.Text = "Get Static";
 
            this.btnGetStatic.UseVisualStyleBackColor = true;
 
            this.btnGetStatic.Click += new System.EventHandler(this.btnGetStatic_Click);
 
            // 
 
            // xboxGrid
 
            // 
 
            this.xboxGrid.AutoSize = true;
 
            this.xboxGrid.Location = new System.Drawing.Point(104, 74);
 
            this.xboxGrid.Margin = new System.Windows.Forms.Padding(2);
 
            this.xboxGrid.Name = "xboxGrid";
 
            this.xboxGrid.Size = new System.Drawing.Size(45, 17);
 
            this.xboxGrid.TabIndex = 40;
 
            this.xboxGrid.Text = "Grid";
 
            this.xboxGrid.UseVisualStyleBackColor = true;
 
            this.xboxGrid.CheckedChanged += new System.EventHandler(this.checkBoxDebug_CheckedChanged);
 
            // 
 
            // btnSaveView
 
            // 
 
            this.btnSaveView.Location = new System.Drawing.Point(92, 117);
 
            this.btnSaveView.Location = new System.Drawing.Point(92, 121);
 
            this.btnSaveView.Margin = new System.Windows.Forms.Padding(2);
 
            this.btnSaveView.Name = "btnSaveView";
 
            this.btnSaveView.Size = new System.Drawing.Size(69, 24);
 
            this.btnSaveView.TabIndex = 39;
 
            this.btnSaveView.Text = "Save View";
 
            this.btnSaveView.UseVisualStyleBackColor = true;
 
            this.btnSaveView.Click += new System.EventHandler(this.btnSaveView_Click);
 
            // 
 
            // lblMode
 
            // 
 
            this.lblMode.AutoSize = true;
 
            this.lblMode.Location = new System.Drawing.Point(132, 49);
 
            this.lblMode.Name = "lblMode";
 
            this.lblMode.Size = new System.Drawing.Size(34, 13);
 
            this.lblMode.TabIndex = 38;
 
            this.lblMode.Text = "Mode";
 
            // 
 
            // comboBoxMode
 
            // 
 
            this.comboBoxMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
 
            this.comboBoxMode.FormattingEnabled = true;
 
            this.comboBoxMode.Location = new System.Drawing.Point(8, 46);
 
            this.comboBoxMode.Name = "comboBoxMode";
 
            this.comboBoxMode.Size = new System.Drawing.Size(123, 21);
 
            this.comboBoxMode.TabIndex = 37;
 
            this.comboBoxMode.DropDownClosed += new System.EventHandler(this.comboBoxMode_DropDownClosed);
 
            // 
 
            // xboxCanDrag
 
            // 
 
            this.xboxCanDrag.AutoSize = true;
 
            this.xboxCanDrag.Checked = true;
 
            this.xboxCanDrag.CheckState = System.Windows.Forms.CheckState.Checked;
 
            this.xboxCanDrag.Location = new System.Drawing.Point(9, 95);
 
            this.xboxCanDrag.Name = "xboxCanDrag";
 
            this.xboxCanDrag.Size = new System.Drawing.Size(73, 17);
 
            this.xboxCanDrag.TabIndex = 36;
 
            this.xboxCanDrag.Text = "Drag Map";
 
            this.xboxCanDrag.UseVisualStyleBackColor = true;
 
            this.xboxCanDrag.CheckedChanged += new System.EventHandler(this.checkBoxCanDrag_CheckedChanged);
 
            // 
 
            // xboxCurrentMarker
 
            // 
 
            this.xboxCurrentMarker.AutoSize = true;
 
            this.xboxCurrentMarker.Checked = true;
 
            this.xboxCurrentMarker.CheckState = System.Windows.Forms.CheckState.Checked;
 
            this.xboxCurrentMarker.Location = new System.Drawing.Point(9, 73);
 
            this.xboxCurrentMarker.Name = "xboxCurrentMarker";
 
            this.xboxCurrentMarker.Size = new System.Drawing.Size(96, 17);
 
            this.xboxCurrentMarker.TabIndex = 35;
 
            this.xboxCurrentMarker.Text = "Current Marker";
 
            this.xboxCurrentMarker.UseVisualStyleBackColor = true;
 
            this.xboxCurrentMarker.CheckedChanged += new System.EventHandler(this.checkBoxCurrentMarker_CheckedChanged);
 
            // 
 
            // lblMapType
 
            // 
 
            this.lblMapType.AutoSize = true;
 
            this.lblMapType.Location = new System.Drawing.Point(132, 22);
 
            this.lblMapType.Name = "lblMapType";
 
            this.lblMapType.Size = new System.Drawing.Size(55, 13);
 
            this.lblMapType.TabIndex = 31;
 
            this.lblMapType.Text = "Map Type";
 
            // 
 
            // comboBoxMapType
 
            // 
 
            this.comboBoxMapType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
 
            this.comboBoxMapType.FormattingEnabled = true;
 
            this.comboBoxMapType.Location = new System.Drawing.Point(8, 19);
 
            this.comboBoxMapType.Name = "comboBoxMapType";
 
            this.comboBoxMapType.Size = new System.Drawing.Size(123, 21);
 
            this.comboBoxMapType.TabIndex = 9;
 
            this.comboBoxMapType.DropDownClosed += new System.EventHandler(this.comboBoxMapType_DropDownClosed);
 
            // 
 
            // groupBox3
 
            // 
 
            this.groupBox3.Controls.Add(this.lblGoTo);
 
            this.groupBox3.Controls.Add(this.textBoxGeo);
 
            this.groupBox3.Controls.Add(this.btnReload);
 
            this.groupBox3.Controls.Add(this.btnGoToCoords);
 
            this.groupBox3.Controls.Add(this.lblLng);
 
            this.groupBox3.Controls.Add(this.lblLat);
 
            this.groupBox3.Controls.Add(this.textBoxLng);
 
            this.groupBox3.Controls.Add(this.textBoxLat);
 
            this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.groupBox3.Location = new System.Drawing.Point(3, 3);
 
            this.groupBox3.Name = "groupBox3";
 
            this.groupBox3.Size = new System.Drawing.Size(200, 128);
 
            this.groupBox3.TabIndex = 28;
 
            this.groupBox3.TabStop = false;
 
            this.groupBox3.Text = "coordinates";
 
            // gboxCoordinates
 
            // 
 
            // lblGoTo
 
            // 
 
            this.lblGoTo.AutoSize = true;
 
            this.lblGoTo.Location = new System.Drawing.Point(132, 74);
 
            this.lblGoTo.Name = "lblGoTo";
 
            this.lblGoTo.Size = new System.Drawing.Size(37, 13);
 
            this.lblGoTo.TabIndex = 11;
 
            this.lblGoTo.Text = "Go To";
 
            this.gboxCoordinates.AutoSize = true;
 
            this.gboxCoordinates.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
 
            this.gboxCoordinates.Controls.Add(this.btnZoomCenter);
 
            this.gboxCoordinates.Controls.Add(this.btnReload);
 
            this.gboxCoordinates.Controls.Add(this.btnGoToCoords);
 
            this.gboxCoordinates.Controls.Add(this.lblLng);
 
            this.gboxCoordinates.Controls.Add(this.cboxCollectData);
 
            this.gboxCoordinates.Controls.Add(this.lblLat);
 
            this.gboxCoordinates.Controls.Add(this.textBoxLng);
 
            this.gboxCoordinates.Controls.Add(this.textBoxLat);
 
            this.gboxCoordinates.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.gboxCoordinates.Location = new System.Drawing.Point(3, 3);
 
            this.gboxCoordinates.Name = "gboxCoordinates";
 
            this.gboxCoordinates.Size = new System.Drawing.Size(200, 144);
 
            this.gboxCoordinates.TabIndex = 28;
 
            this.gboxCoordinates.TabStop = false;
 
            this.gboxCoordinates.Text = "coordinates";
 
            // 
 
            // textBoxGeo
 
            // btnZoomCenter
 
            // 
 
            this.textBoxGeo.Location = new System.Drawing.Point(9, 71);
 
            this.textBoxGeo.Name = "textBoxGeo";
 
            this.textBoxGeo.Size = new System.Drawing.Size(122, 20);
 
            this.textBoxGeo.TabIndex = 10;
 
            this.textBoxGeo.Text = "lietuva vilnius";
 
            this.textBoxGeo.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBoxGeo_KeyPress);
 
            this.btnZoomCenter.Location = new System.Drawing.Point(84, 71);
 
            this.btnZoomCenter.Name = "btnZoomCenter";
 
            this.btnZoomCenter.Size = new System.Drawing.Size(82, 24);
 
            this.btnZoomCenter.TabIndex = 15;
 
            this.btnZoomCenter.Text = "Zoom Center";
 
            this.btnZoomCenter.UseVisualStyleBackColor = true;
 
            this.btnZoomCenter.Click += new System.EventHandler(this.button7_Click);
 
            // 
 
            // btnReload
 
            // 
 
            this.btnReload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
 
            this.btnReload.Location = new System.Drawing.Point(85, 98);
 
            this.btnReload.Location = new System.Drawing.Point(6, 101);
 
            this.btnReload.Name = "btnReload";
 
            this.btnReload.Size = new System.Drawing.Size(74, 24);
 
            this.btnReload.TabIndex = 9;
 
            this.btnReload.Text = "Reload";
 
            this.btnReload.UseVisualStyleBackColor = true;
 
            this.btnReload.Click += new System.EventHandler(this.btnReload_Click);
 
            // 
 
            // btnGoToCoords
 
            // 
 
            this.btnGoToCoords.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
 
            this.btnGoToCoords.Location = new System.Drawing.Point(9, 98);
 
            this.btnGoToCoords.Location = new System.Drawing.Point(6, 71);
 
            this.btnGoToCoords.Name = "btnGoToCoords";
 
            this.btnGoToCoords.Size = new System.Drawing.Size(72, 24);
 
            this.btnGoToCoords.TabIndex = 8;
 
            this.btnGoToCoords.Text = "GoTo !";
 
            this.btnGoToCoords.UseVisualStyleBackColor = true;
 
            this.btnGoToCoords.Click += new System.EventHandler(this.btnGoToCoords_Click);
 
            // 
 
            // lblLng
 
            // 
 
            this.lblLng.AutoSize = true;
 
            this.lblLng.Location = new System.Drawing.Point(132, 48);
 
            this.lblLng.Location = new System.Drawing.Point(135, 48);
 
            this.lblLng.Name = "lblLng";
 
            this.lblLng.Size = new System.Drawing.Size(54, 13);
 
            this.lblLng.TabIndex = 3;
 
            this.lblLng.Text = "Longitude";
 
            // 
 
            // cboxCollectData
 
            // 
 
            this.cboxCollectData.AutoSize = true;
 
            this.cboxCollectData.Location = new System.Drawing.Point(86, 106);
 
            this.cboxCollectData.Name = "cboxCollectData";
 
            this.cboxCollectData.Size = new System.Drawing.Size(84, 17);
 
            this.cboxCollectData.TabIndex = 38;
 
            this.cboxCollectData.Text = "Collect Data";
 
            this.cboxCollectData.UseVisualStyleBackColor = true;
 
            // 
 
            // lblLat
 
            // 
 
            this.lblLat.AutoSize = true;
 
            this.lblLat.Location = new System.Drawing.Point(132, 22);
 
            this.lblLat.Location = new System.Drawing.Point(135, 22);
 
            this.lblLat.Name = "lblLat";
 
            this.lblLat.Size = new System.Drawing.Size(45, 13);
 
            this.lblLat.TabIndex = 2;
 
            this.lblLat.Text = "Latitude";
 
            // 
 
            // textBoxLng
 
            // 
 
            this.textBoxLng.Location = new System.Drawing.Point(9, 45);
 
            this.textBoxLng.Name = "textBoxLng";
 
            this.textBoxLng.Size = new System.Drawing.Size(122, 20);
 
            this.textBoxLng.TabIndex = 1;
 
            this.textBoxLng.Text = "-83.809848";
 
            // 
 
            // textBoxLat
 
            // 
 
            this.textBoxLat.Location = new System.Drawing.Point(9, 19);
 
            this.textBoxLat.Name = "textBoxLat";
 
            this.textBoxLat.Size = new System.Drawing.Size(122, 20);
 
            this.textBoxLat.TabIndex = 0;
 
            this.textBoxLat.Text = "39.751248";
 
            // 
 
            // cboxCollectData
 
            // 
 
            this.cboxCollectData.AutoSize = true;
 
            this.cboxCollectData.Location = new System.Drawing.Point(3, 530);
 
            this.cboxCollectData.Name = "cboxCollectData";
 
            this.cboxCollectData.Size = new System.Drawing.Size(84, 1);
 
            this.cboxCollectData.TabIndex = 38;
 
            this.cboxCollectData.Text = "Collect Data";
 
            this.cboxCollectData.UseVisualStyleBackColor = true;
 
            // 
 
            // tableLayoutPanel6
 
            // 
 
            this.tableLayoutPanel6.ColumnCount = 1;
 
            this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
 
            this.tableLayoutPanel6.Controls.Add(this.btnZoomIn, 0, 0);
 
            this.tableLayoutPanel6.Controls.Add(this.trackBarZoomLevel, 0, 1);
 
            this.tableLayoutPanel6.Controls.Add(this.btnZoomOut, 0, 2);
 
            this.tableLayoutPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.tableLayoutPanel6.Location = new System.Drawing.Point(2, 2);
 
            this.tableLayoutPanel6.Margin = new System.Windows.Forms.Padding(2);
 
            this.tableLayoutPanel6.Name = "tableLayoutPanel6";
 
            this.tableLayoutPanel6.RowCount = 3;
 
            this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
 
            this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel6.Size = new System.Drawing.Size(44, 311);
 
            this.tableLayoutPanel6.Size = new System.Drawing.Size(44, 576);
 
            this.tableLayoutPanel6.TabIndex = 31;
 
            // 
 
            // btnZoomIn
 
            // 
 
            this.btnZoomIn.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.btnZoomIn.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
 
            this.btnZoomIn.Location = new System.Drawing.Point(0, 0);
 
            this.btnZoomIn.Margin = new System.Windows.Forms.Padding(0);
 
            this.btnZoomIn.Name = "btnZoomIn";
 
            this.btnZoomIn.Size = new System.Drawing.Size(45, 27);
 
            this.btnZoomIn.TabIndex = 0;
 
            this.btnZoomIn.Text = "+";
 
            this.btnZoomIn.UseVisualStyleBackColor = true;
 
            this.btnZoomIn.Click += new System.EventHandler(this.buttonZoomUp_Click);
 
            // 
 
            // trackBarZoomLevel
 
            // 
 
            this.trackBarZoomLevel.BackColor = System.Drawing.Color.AliceBlue;
 
            this.trackBarZoomLevel.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.trackBarZoomLevel.LargeChange = 1;
 
            this.trackBarZoomLevel.Location = new System.Drawing.Point(0, 27);
 
            this.trackBarZoomLevel.Margin = new System.Windows.Forms.Padding(0);
 
            this.trackBarZoomLevel.Maximum = 1700;
 
            this.trackBarZoomLevel.Minimum = 1;
 
            this.trackBarZoomLevel.Name = "trackBarZoomLevel";
 
            this.trackBarZoomLevel.Orientation = System.Windows.Forms.Orientation.Vertical;
 
            this.trackBarZoomLevel.Size = new System.Drawing.Size(45, 257);
 
            this.trackBarZoomLevel.Size = new System.Drawing.Size(45, 522);
 
            this.trackBarZoomLevel.TabIndex = 29;
 
            this.trackBarZoomLevel.TickFrequency = 100;
 
            this.trackBarZoomLevel.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
 
            this.trackBarZoomLevel.Value = 15;
 
            this.trackBarZoomLevel.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged);
 
            // 
 
            // btnZoomOut
 
            // 
 
            this.btnZoomOut.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.btnZoomOut.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
 
            this.btnZoomOut.Location = new System.Drawing.Point(0, 284);
 
            this.btnZoomOut.Location = new System.Drawing.Point(0, 549);
 
            this.btnZoomOut.Margin = new System.Windows.Forms.Padding(0);
 
            this.btnZoomOut.Name = "btnZoomOut";
 
            this.btnZoomOut.Size = new System.Drawing.Size(45, 27);
 
            this.btnZoomOut.TabIndex = 1;
 
            this.btnZoomOut.Text = "-";
 
            this.btnZoomOut.UseVisualStyleBackColor = true;
 
            this.btnZoomOut.Click += new System.EventHandler(this.buttonZoomDown_Click);
 
            // 
 
            // xPanderPanelInfo
 
            // 
 
            this.xPanderPanelInfo.CaptionFont = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Bold);
 
            this.xPanderPanelInfo.Controls.Add(this.tableLayoutPanel2);
 
            this.xPanderPanelInfo.CustomColors.BackColor = System.Drawing.SystemColors.Control;
 
            this.xPanderPanelInfo.CustomColors.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(184)))), ((int)(((byte)(184)))));
 
            this.xPanderPanelInfo.CustomColors.CaptionCheckedGradientBegin = System.Drawing.Color.Empty;
 
            this.xPanderPanelInfo.CustomColors.CaptionCheckedGradientEnd = System.Drawing.Color.Empty;
 
            this.xPanderPanelInfo.CustomColors.CaptionCheckedGradientMiddle = System.Drawing.Color.Empty;
 
            this.xPanderPanelInfo.CustomColors.CaptionCloseIcon = System.Drawing.SystemColors.ControlText;
 
            this.xPanderPanelInfo.CustomColors.CaptionExpandIcon = System.Drawing.SystemColors.ControlText;
 
            this.xPanderPanelInfo.CustomColors.CaptionGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(252)))));
 
            this.xPanderPanelInfo.CustomColors.CaptionGradientEnd = System.Drawing.SystemColors.ButtonFace;
 
            this.xPanderPanelInfo.CustomColors.CaptionGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(248)))), ((int)(((byte)(248)))));
 
            this.xPanderPanelInfo.CustomColors.CaptionPressedGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.xPanderPanelInfo.CustomColors.CaptionPressedGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.xPanderPanelInfo.CustomColors.CaptionPressedGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.xPanderPanelInfo.CustomColors.CaptionSelectedGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.xPanderPanelInfo.CustomColors.CaptionSelectedGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.xPanderPanelInfo.CustomColors.CaptionSelectedGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.xPanderPanelInfo.CustomColors.CaptionSelectedText = System.Drawing.SystemColors.ControlText;
 
            this.xPanderPanelInfo.CustomColors.CaptionText = System.Drawing.SystemColors.ControlText;
 
            this.xPanderPanelInfo.CustomColors.FlatCaptionGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(248)))), ((int)(((byte)(248)))));
 
            this.xPanderPanelInfo.CustomColors.FlatCaptionGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(252)))));
 
            this.xPanderPanelInfo.CustomColors.InnerBorderColor = System.Drawing.SystemColors.Window;
 
            this.xPanderPanelInfo.ForeColor = System.Drawing.SystemColors.ControlText;
 
            this.xPanderPanelInfo.Image = null;
 
            this.xPanderPanelInfo.Margin = new System.Windows.Forms.Padding(2);
 
            this.xPanderPanelInfo.Name = "xPanderPanelInfo";
 
            this.xPanderPanelInfo.PanelStyle = BSE.Windows.Forms.PanelStyle.Office2007;
 
            this.xPanderPanelInfo.Size = new System.Drawing.Size(258, 25);
 
            this.xPanderPanelInfo.TabIndex = 3;
 
            this.xPanderPanelInfo.Text = "info";
 
            this.xPanderPanelInfo.ToolTipTextCloseIcon = null;
 
            this.xPanderPanelInfo.ToolTipTextExpandIconPanelCollapsed = null;
 
            this.xPanderPanelInfo.ToolTipTextExpandIconPanelExpanded = null;
 
            this.xPanderPanelInfo.Click += new System.EventHandler(this.xPanderPanelInfo_Click);
 
            // 
 
            // tableLayoutPanel2
 
            // 
 
@@ -2015,233 +1997,210 @@
 
            // label10
 
            // 
 
            this.label10.AutoSize = true;
 
            this.label10.Location = new System.Drawing.Point(18, 159);
 
            this.label10.Name = "label10";
 
            this.label10.Size = new System.Drawing.Size(111, 13);
 
            this.label10.TabIndex = 40;
 
            this.label10.Text = "memory cache usage:";
 
            // 
 
            // button2
 
            // 
 
            this.button2.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.button2.Location = new System.Drawing.Point(18, 97);
 
            this.button2.Name = "button2";
 
            this.button2.Size = new System.Drawing.Size(220, 20);
 
            this.button2.TabIndex = 43;
 
            this.button2.Text = "Clear tiles in disk cache";
 
            this.button2.UseVisualStyleBackColor = true;
 
            // 
 
            // label13
 
            // 
 
            this.label13.AutoSize = true;
 
            this.label13.Location = new System.Drawing.Point(18, 285);
 
            this.label13.Name = "label13";
 
            this.label13.Size = new System.Drawing.Size(93, 13);
 
            this.label13.TabIndex = 44;
 
            this.label13.Text = "disk cache status:";
 
            // 
 
            // label14
 
            // 
 
            this.label14.AutoSize = true;
 
            this.label14.Location = new System.Drawing.Point(18, 222);
 
            this.label14.Name = "label14";
 
            this.label14.Size = new System.Drawing.Size(83, 13);
 
            this.label14.TabIndex = 47;
 
            this.label14.Text = "disk cache size:";
 
            // 
 
            // button17
 
            // 
 
            this.button17.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.button17.Location = new System.Drawing.Point(17, 122);
 
            this.button17.Margin = new System.Windows.Forms.Padding(2);
 
            this.button17.Name = "button17";
 
            this.button17.Size = new System.Drawing.Size(222, 19);
 
            this.button17.TabIndex = 50;
 
            this.button17.Text = "Open cache location";
 
            this.button17.UseVisualStyleBackColor = true;
 
            // 
 
            // tboxAtmoLight
 
            // 
 
            this.tboxAtmoLight.BackColor = System.Drawing.SystemColors.Control;
 
            this.tboxAtmoLight.Location = new System.Drawing.Point(146, 134);
 
            this.tboxAtmoLight.Name = "tboxAtmoLight";
 
            this.tboxAtmoLight.ReadOnly = true;
 
            this.tboxAtmoLight.Size = new System.Drawing.Size(100, 20);
 
            this.tboxAtmoLight.TabIndex = 43;
 
            // 
 
            // label31
 
            // 
 
            this.label31.AutoSize = true;
 
            this.label31.Location = new System.Drawing.Point(40, 137);
 
            this.label31.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7);
 
            this.label31.Name = "label31";
 
            this.label31.Size = new System.Drawing.Size(71, 13);
 
            this.label31.TabIndex = 42;
 
            this.label31.Text = "Ambient Light";
 
            // 
 
            // MainForm
 
            // 
 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
 
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
 
            this.BackColor = System.Drawing.Color.AliceBlue;
 
            this.ClientSize = new System.Drawing.Size(895, 627);
 
            this.ClientSize = new System.Drawing.Size(895, 863);
 
            this.Controls.Add(this.splitContainer1);
 
            this.KeyPreview = true;
 
            this.MinimumSize = new System.Drawing.Size(554, 105);
 
            this.Name = "MainForm";
 
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
 
            this.Text = "GMap.NET - Great Maps for Windows Forms";
 
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
 
            this.Load += new System.EventHandler(this.MainForm_Load);
 
            this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.MainForm_KeyPress);
 
            this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.MainForm_KeyUp);
 
            this.tabMap.ResumeLayout(false);
 
            this.panel4.ResumeLayout(false);
 
            this.panel2.ResumeLayout(false);
 
            this.tabControl.ResumeLayout(false);
 
            this.tabGraphs.ResumeLayout(false);
 
            this.pnlDataListDisplay.ResumeLayout(false);
 
            this.pnlDataListDisplay.PerformLayout();
 
            this.ctnParentChartHolder.Panel1.ResumeLayout(false);
 
            this.ctnParentChartHolder.Panel2.ResumeLayout(false);
 
            this.ctnParentChartHolder.ResumeLayout(false);
 
            this.ctnTopChartHolder.Panel1.ResumeLayout(false);
 
            this.ctnTopChartHolder.Panel1.PerformLayout();
 
            this.ctnTopChartHolder.Panel2.ResumeLayout(false);
 
            this.ctnTopChartHolder.Panel2.PerformLayout();
 
            this.ctnTopChartHolder.ResumeLayout(false);
 
            ((System.ComponentModel.ISupportInitialize)(this.chrtTopLeft)).EndInit();
 
            ((System.ComponentModel.ISupportInitialize)(this.chrtTopRight)).EndInit();
 
            this.ctnBottomChartHolder.Panel1.ResumeLayout(false);
 
            this.ctnBottomChartHolder.Panel1.PerformLayout();
 
            this.ctnBottomChartHolder.Panel2.ResumeLayout(false);
 
            this.ctnBottomChartHolder.Panel2.PerformLayout();
 
            this.ctnBottomChartHolder.ResumeLayout(false);
 
            ((System.ComponentModel.ISupportInitialize)(this.chrtBottomLeft)).EndInit();
 
            ((System.ComponentModel.ISupportInitialize)(this.chrtBottomRight)).EndInit();
 
            this.tabData.ResumeLayout(false);
 
            this.gboxSlaveData.ResumeLayout(false);
 
            this.gboxSlaveData.PerformLayout();
 
            this.gboxMasterData.ResumeLayout(false);
 
            this.gboxMasterData.PerformLayout();
 
            this.splitContainer1.Panel1.ResumeLayout(false);
 
            this.splitContainer1.Panel2.ResumeLayout(false);
 
            this.splitContainer1.Panel2.PerformLayout();
 
            this.splitContainer1.ResumeLayout(false);
 
            this.panelMenu.ResumeLayout(false);
 
            this.xPanderPanelList1.ResumeLayout(false);
 
            this.xPanderPanelMain.ResumeLayout(false);
 
            this.tableLayoutPanel4.ResumeLayout(false);
 
            this.tableLayoutPanel5.ResumeLayout(false);
 
            this.tableLayoutPanel5.PerformLayout();
 
            this.groupBox8.ResumeLayout(false);
 
            this.groupBox8.PerformLayout();
 
            this.groupBox7.ResumeLayout(false);
 
            this.groupBox7.PerformLayout();
 
            this.groupBox5.ResumeLayout(false);
 
            this.groupBox5.PerformLayout();
 
            this.groupBox3.ResumeLayout(false);
 
            this.groupBox3.PerformLayout();
 
            this.gboxRemove.ResumeLayout(false);
 
            this.gboxRemove.PerformLayout();
 
            this.gboxMapItems.ResumeLayout(false);
 
            this.gboxMapItems.PerformLayout();
 
            this.gboxGmap.ResumeLayout(false);
 
            this.gboxGmap.PerformLayout();
 
            this.gboxCoordinates.ResumeLayout(false);
 
            this.gboxCoordinates.PerformLayout();
 
            this.tableLayoutPanel6.ResumeLayout(false);
 
            this.tableLayoutPanel6.PerformLayout();
 
            ((System.ComponentModel.ISupportInitialize)(this.trackBarZoomLevel)).EndInit();
 
            this.xPanderPanelInfo.ResumeLayout(false);
 
            this.tableLayoutPanel2.ResumeLayout(false);
 
            this.tableLayoutPanel2.PerformLayout();
 
            this.xPanderPanelCache.ResumeLayout(false);
 
            this.tableLayoutPanel1.ResumeLayout(false);
 
            this.tableLayoutPanel1.PerformLayout();
 
            this.ResumeLayout(false);
 
 
      }
 
 
      #endregion
 
 
      private System.Windows.Forms.TabPage tabMap;
 
      private System.Windows.Forms.Panel panel4;
 
      private System.Windows.Forms.Panel panel2;
 
      internal Map MainMap;
 
      private BSE.Windows.Forms.Splitter splitter1;
 
      private BSE.Windows.Forms.Panel panelMenu;
 
      private BSE.Windows.Forms.XPanderPanelList xPanderPanelList1;
 
      private BSE.Windows.Forms.XPanderPanel xPanderPanelMain;
 
      private System.Windows.Forms.TableLayoutPanel tableLayoutPanel4;
 
      private System.Windows.Forms.TableLayoutPanel tableLayoutPanel5;
 
      private System.Windows.Forms.GroupBox groupBox8;
 
      private System.Windows.Forms.GroupBox gboxRemove;
 
      private System.Windows.Forms.Button btnZoomCenter;
 
      private System.Windows.Forms.CheckBox xboxPlacemarkInfo;
 
      private System.Windows.Forms.Button btnClearAll;
 
      private System.Windows.Forms.Button btnClearMarkers;
 
      private System.Windows.Forms.Button btnAddMarker;
 
      private System.Windows.Forms.GroupBox groupBox7;
 
      private System.Windows.Forms.GroupBox gboxMapItems;
 
      private System.Windows.Forms.Button buttonExportToGpx;
 
      private System.Windows.Forms.DateTimePicker MobileLogTo;
 
      private System.Windows.Forms.Label lblClear;
 
      private System.Windows.Forms.Button btnClearPolygons;
 
      private System.Windows.Forms.DateTimePicker MobileLogFrom;
 
      private System.Windows.Forms.Button btnMobileLog;
 
      private System.Windows.Forms.Button buttonSetEnd;
 
      private System.Windows.Forms.Button buttonSetStart;
 
      private System.Windows.Forms.Button btnSetEnd;
 
      private System.Windows.Forms.Button btnSetStart;
 
      private System.Windows.Forms.Button btnClearRoutes;
 
      private System.Windows.Forms.Button btnAddRoute;
 
      private System.Windows.Forms.GroupBox groupBox5;
 
      private System.Windows.Forms.GroupBox gboxGmap;
 
      private System.Windows.Forms.Button btnLoadGPX;
 
      private System.Windows.Forms.Button btnGetStatic;
 
      private System.Windows.Forms.CheckBox xboxGrid;
 
      private System.Windows.Forms.Button btnSaveView;
 
      private System.Windows.Forms.Label lblMode;
 
      private System.Windows.Forms.ComboBox comboBoxMode;
 
      private System.Windows.Forms.CheckBox xboxCanDrag;
 
      private System.Windows.Forms.CheckBox xboxCurrentMarker;
 
      private System.Windows.Forms.Label lblMapType;
 
      private System.Windows.Forms.ComboBox comboBoxMapType;
 
      private System.Windows.Forms.GroupBox groupBox3;
 
      private System.Windows.Forms.Label lblGoTo;
 
      private System.Windows.Forms.TextBox textBoxGeo;
 
      private System.Windows.Forms.GroupBox gboxCoordinates;
 
      private System.Windows.Forms.Button btnReload;
 
      private System.Windows.Forms.Button btnGoToCoords;
 
      private System.Windows.Forms.Label lblLng;
 
      private System.Windows.Forms.Label lblLat;
 
      private System.Windows.Forms.TextBox textBoxLng;
 
      private System.Windows.Forms.TextBox textBoxLat;
 
      private System.Windows.Forms.TableLayoutPanel tableLayoutPanel6;
 
      private System.Windows.Forms.Button btnZoomIn;
 
      private System.Windows.Forms.TrackBar trackBarZoomLevel;
 
      private System.Windows.Forms.Button btnZoomOut;
 
      private BSE.Windows.Forms.XPanderPanel xPanderPanelInfo;
 
      private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
 
      private System.Windows.Forms.TextBox textBoxZoomCurrent;
 
      private System.Windows.Forms.TextBox textBoxrouteCount;
 
      private System.Windows.Forms.Label label12;
 
      private System.Windows.Forms.Label label9;
 
      private System.Windows.Forms.TextBox textBoxLngCurrent;
 
      private System.Windows.Forms.TextBox textBoxMarkerCount;
 
      private System.Windows.Forms.Label label11;
 
      private System.Windows.Forms.Label label4;
 
      private System.Windows.Forms.TextBox textBoxLatCurrent;
 
      private System.Windows.Forms.Label label5;
 
      private BSE.Windows.Forms.XPanderPanel xPanderPanelCache;
 
      private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
 
      private System.Windows.Forms.TextBox textBoxCacheSize;
 
      private System.Windows.Forms.TextBox textBoxCacheStatus;
 
      private System.Windows.Forms.Button button10;
 
      private System.Windows.Forms.TextBox textBoxMemory;
 
      private System.Windows.Forms.CheckBox checkBoxUseRouteCache;
 
      private System.Windows.Forms.Button button9;
 
      private System.Windows.Forms.Button button11;
 
      private System.Windows.Forms.Label label10;
 
      private System.Windows.Forms.Button button2;
 
      private System.Windows.Forms.Label label13;
 
      private System.Windows.Forms.Label label14;
 
      private System.Windows.Forms.Button button17;
 
      private System.Windows.Forms.TabControl tabControl;
 
      private System.Windows.Forms.TabPage tabGraphs;
 
      private System.Windows.Forms.Panel pnlDataListDisplay;
 
      private System.Windows.Forms.Button btnTest;
 
      internal System.Windows.Forms.TextBox tboxChartData;
 
      internal System.Windows.Forms.Label lblChartData;
 
      internal System.Windows.Forms.TextBox tboxCurrent;
 
      internal System.Windows.Forms.Label lblCurrent;
 
      internal System.Windows.Forms.TextBox tboxMin;
 
      internal System.Windows.Forms.Label lblAverage;
 
      internal System.Windows.Forms.TextBox tboxMax;
 
      internal System.Windows.Forms.Label lblMax;
 
@@ -2262,53 +2221,54 @@
 
      private System.Windows.Forms.TabPage tabData;
 
      private System.Windows.Forms.GroupBox gboxSlaveData;
 
      private System.Windows.Forms.GroupBox gboxMasterData;
 
      private System.Windows.Forms.TextBox textBox6;
 
      private System.Windows.Forms.Label label7;
 
      private System.Windows.Forms.Label label6;
 
      private System.Windows.Forms.TextBox tboxMasterVelocity;
 
      private System.Windows.Forms.Label label3;
 
      private System.Windows.Forms.TextBox tboxMasterLongitude;
 
      private System.Windows.Forms.Label label2;
 
      private System.Windows.Forms.TextBox tboxMasterLatitude;
 
      private System.Windows.Forms.Label label16;
 
      private System.Windows.Forms.TextBox tboxMasterBatteryLevel;
 
      private System.Windows.Forms.TextBox tboxMasterBoardTemp;
 
      private System.Windows.Forms.Label label1;
 
      private System.Windows.Forms.TextBox tboxCameraBatteryLevel;
 
      private System.Windows.Forms.Label label26;
 
      private System.Windows.Forms.TextBox tboxCameraBoardTemp;
 
      private System.Windows.Forms.Label label27;
 
      private System.Windows.Forms.Label label28;
 
      private System.Windows.Forms.TextBox tboxGeigerRads;
 
      private System.Windows.Forms.Label label25;
 
      private System.Windows.Forms.TextBox tboxGeigerBatteryLevel;
 
      private System.Windows.Forms.Label label24;
 
      private System.Windows.Forms.TextBox tboxGeigerBoardTemp;
 
      private System.Windows.Forms.Label label23;
 
      private System.Windows.Forms.Label label22;
 
      private System.Windows.Forms.TextBox tboxAtmoAltitude;
 
      private System.Windows.Forms.Label label21;
 
      private System.Windows.Forms.TextBox tboxAtmoAirTemp;
 
      private System.Windows.Forms.Label label19;
 
      private System.Windows.Forms.TextBox tboxAtmoHumidity;
 
      private System.Windows.Forms.Label label18;
 
      private System.Windows.Forms.TextBox tboxAtmoPressure;
 
      private System.Windows.Forms.Label label17;
 
      private System.Windows.Forms.TextBox tboxAtmoBatteryLevel;
 
      private System.Windows.Forms.Label label15;
 
      private System.Windows.Forms.TextBox tboxAtmoBoardTemp;
 
      private System.Windows.Forms.Label label8;
 
      private System.Windows.Forms.Label label20;
 
      private System.Windows.Forms.CheckBox cboxCollectData;
 
      private System.Windows.Forms.SplitContainer splitContainer1;
 
      private System.Windows.Forms.TextBox tboxMasterSatellites;
 
      private System.Windows.Forms.Label label29;
 
      private System.Windows.Forms.TextBox tboxMasterHDOP;
 
      private System.Windows.Forms.Label label30;
 
      private System.Windows.Forms.TextBox tboxAtmoLight;
 
      private System.Windows.Forms.Label label31;
 
      private System.Windows.Forms.Button btnClearAll;
 
 
 
   }
 
}
 
Demo.WindowsForms/Forms/MainForm.cs
Show inline comments
 
@@ -149,297 +149,285 @@ namespace Demo.WindowsForms
 
                //    flightWorker.WorkerSupportsCancellation = true;
 
                //    flightWorker.WorkerReportsProgress = true;
 
                //}
 
 
                //// vehicle demo
 
                //{
 
                //    transportWorker.DoWork += new DoWorkEventHandler(transport_DoWork);
 
                //    transportWorker.ProgressChanged += new ProgressChangedEventHandler(transport_ProgressChanged);
 
                //    transportWorker.WorkerSupportsCancellation = true;
 
                //    transportWorker.WorkerReportsProgress = true;
 
                //}
 
 
                // Connections
 
                //{
 
                //   connectionsWorker.DoWork += new DoWorkEventHandler(connectionsWorker_DoWork);
 
                //   connectionsWorker.ProgressChanged += new ProgressChangedEventHandler(connectionsWorker_ProgressChanged);
 
                //   connectionsWorker.WorkerSupportsCancellation = true;
 
                //   connectionsWorker.WorkerReportsProgress = true;
 
 
                //   ipInfoSearchWorker.DoWork += new DoWorkEventHandler(ipInfoSearchWorker_DoWork);
 
                //   ipInfoSearchWorker.WorkerSupportsCancellation = true;
 
 
                //   iptracerWorker.DoWork += new DoWorkEventHandler(iptracerWorker_DoWork);
 
                //   iptracerWorker.WorkerSupportsCancellation = true;
 
 
                //   //GridConnections.AutoGenerateColumns = false;
 
 
                //   IpCache.CacheLocation = MainMap.CacheLocation;
 
                //}
 
 
                // perf
 
                timerPerf.Tick += new EventHandler(timer_Tick);
 
                #endregion
 
 
                // add custom layers  
 
                {
 
                    MainMap.Overlays.Add(routes);
 
                    //MainMap.Overlays.Add(polygons);
 
                    MainMap.Overlays.Add(objects);
 
                    MainMap.Overlays.Add(top);
 
 
                    routes.Routes.CollectionChanged += new GMap.NET.ObjectModel.NotifyCollectionChangedEventHandler(Routes_CollectionChanged);
 
                    objects.Markers.CollectionChanged += new GMap.NET.ObjectModel.NotifyCollectionChangedEventHandler(Markers_CollectionChanged);
 
                }
 
 
                // set current marker
 
                currentMarker = new GMarkerGoogle(MainMap.Position, GMarkerGoogleType.arrow);
 
                currentMarker.IsHitTestVisible = false;
 
                currentMarker.ToolTipText = "Current Marker";
 
                top.Markers.Add(currentMarker);
 
 
                //MainMap.VirtualSizeEnabled = true;
 
                //if(false)
 
                {
 
                    // add my city location for demo
 
                    //GeoCoderStatusCode status = GeoCoderStatusCode.Unknow;
 
                    {
 
                        //PointLatLng? pos = GMapProviders.GoogleMap.GetPoint("Lithuania, Vilnius", out status);
 
                        //if (pos != null && status == GeoCoderStatusCode.G_GEO_SUCCESS)
 
                        //{
 
                        //    currentMarker.Position = pos.Value;
 
 
                        //    // - MDKEdit
 
                        //    //GMapMarker myCity = new GMarkerGoogle(pos.Value, GMarkerGoogleType.green_small);
 
                        //    //myCity.ToolTipMode = MarkerTooltipMode.Always;
 
                        //    //myCity.ToolTipText = "Welcome to Lithuania! ;}";
 
                        //    //objects.Markers.Add(myCity);
 
                        //}
 
                    }
 
 
                    // add some points in lithuania - MDKEdit
 
                    //AddLocationLithuania("Kaunas");
 
                    //AddLocationLithuania("KlaipÄ—da");
 
                    //AddLocationLithuania("Å iauliai");
 
                    //AddLocationLithuania("Panevėžys");
 
 
                    if (objects.Markers.Count > 0)
 
                    {
 
                        MainMap.ZoomAndCenterMarkers(null);
 
                    }
 
 
                    //RegeneratePolygon();
 
 
                    try
 
                    {
 
                        GMapOverlay overlay = DeepClone<GMapOverlay>(objects);
 
                        Debug.WriteLine("ISerializable status for markers: OK");
 
 
                        //GMapOverlay overlay2 = DeepClone<GMapOverlay>(polygons);
 
                        //Debug.WriteLine("ISerializable status for polygons: OK");
 
 
                        GMapOverlay overlay3 = DeepClone<GMapOverlay>(routes);
 
                        Debug.WriteLine("ISerializable status for routes: OK");
 
                    }
 
                    catch (Exception ex)
 
                    {
 
                        Debug.WriteLine("ISerializable failure: " + ex.Message);
 
 
#if DEBUG
 
                        if (Debugger.IsAttached)
 
                        {
 
                            Debugger.Break();
 
                        }
 
#endif
 
                    }
 
                }
 
            }
 
        }
 
 
        public T DeepClone<T>(T obj)
 
        {
 
            using (var ms = new System.IO.MemoryStream())
 
            {
 
                var formatter = new System.Runtime.Serialization.Formatters.Binary.BinaryFormatter();
 
 
                formatter.Serialize(ms, obj);
 
 
                ms.Position = 0;
 
 
                return (T)formatter.Deserialize(ms);
 
            }
 
        }
 
 
        void Markers_CollectionChanged(object sender, GMap.NET.ObjectModel.NotifyCollectionChangedEventArgs e)
 
        {
 
            //textBoxMarkerCount.Text = objects.Markers.Count.ToString();
 
        }
 
 
        void Routes_CollectionChanged(object sender, GMap.NET.ObjectModel.NotifyCollectionChangedEventArgs e)
 
        {
 
            textBoxrouteCount.Text = routes.Routes.Count.ToString();
 
        }
 
 
        #region -- performance test --
 
 
        double NextDouble(Random rng, double min, double max)
 
        {
 
            return min + (rng.NextDouble() * (max - min));
 
        }
 
 
        int tt = 0;
 
        void timer_Tick(object sender, EventArgs e)
 
        {
 
            var pos = new PointLatLng(NextDouble(rnd, MainMap.ViewArea.Top, MainMap.ViewArea.Bottom), NextDouble(rnd, MainMap.ViewArea.Left, MainMap.ViewArea.Right));
 
            GMapMarker m = new GMarkerGoogle(pos, GMarkerGoogleType.green_pushpin);
 
            {
 
                m.ToolTipText = (tt++).ToString();
 
                m.ToolTipMode = MarkerTooltipMode.Always;
 
            }
 
 
            objects.Markers.Add(m);
 
 
            if (tt >= 333)
 
            {
 
                timerPerf.Stop();
 
                tt = 0;
 
            }
 
 
        }
 
 
        System.Windows.Forms.Timer timerPerf = new System.Windows.Forms.Timer();
 
        #endregion
 
 
        #region -- flight demo --
 
        //#region -- flight demo --
 
        //BackgroundWorker flightWorker = new BackgroundWorker();
 
 
        //readonly List<FlightRadarData> flights = new List<FlightRadarData>();
 
        //readonly Dictionary<int, GMapMarker> flightMarkers = new Dictionary<int, GMapMarker>();
 
 
        //bool firstLoadFlight = true;
 
        //GMapMarker currentFlight;
 
 
        //void flight_ProgressChanged(object sender, ProgressChangedEventArgs e)
 
        //{
 
        //    // stops immediate marker/route/polygon invalidations;
 
        //    // call Refresh to perform single refresh and reset invalidation state
 
        //    MainMap.HoldInvalidation = true;
 
 
        //    lock (flights)
 
        //    {
 
        //        foreach (FlightRadarData d in flights)
 
        //        {
 
        //            GMapMarker marker;
 
 
        //            if (!flightMarkers.TryGetValue(d.Id, out marker))
 
        //            {
 
        //                marker = new GMarkerGoogle(d.point, GMarkerGoogleType.blue_small);
 
        //                marker.Tag = d.Id;
 
        //                marker.ToolTipMode = MarkerTooltipMode.OnMouseOver;
 
        //                //(marker as GMapMarkerGoogleGreen).Bearing = (float?)d.bearing;
 
 
        //                flightMarkers[d.Id] = marker;
 
        //                objects.Markers.Add(marker);
 
        //            }
 
        //            else
 
        //            {
 
        //                marker.Position = d.point;
 
        //                //(marker as GMapMarkerGoogleGreen).Bearing = (float?)d.bearing;
 
        //            }
 
        //            marker.ToolTipText = d.name + ", " + d.altitude + ", " + d.speed;
 
 
        //            if (currentFlight != null && currentFlight == marker)
 
        //            {
 
        //                MainMap.Position = marker.Position;
 
        //                //MainMap.Bearing = (float)d.bearing;
 
        //            }
 
        //        }
 
        //    }
 
 
        //    if (firstLoadFlight)
 
        //    {
 
        //        MainMap.Zoom = 5;
 
        //        MainMap.SetZoomToFitRect(new RectLatLng(54.4955675218741, -0.966796875, 28.916015625, 13.3830987326932));
 
        //        firstLoadFlight = false;
 
        //    }
 
        //    MainMap.Refresh();
 
        //}
 
 
        //void flight_DoWork(object sender, DoWorkEventArgs e)
 
        //{
 
        //    bool restartSesion = true;
 
 
        //    while (!flightWorker.CancellationPending)
 
        //    {
 
        //        try
 
        //        {
 
        //            lock (flights)
 
        //            {
 
        //                Stuff.GetFlightRadarData(flights, lastPosition, lastZoom, restartSesion);
 
 
        //                if (flights.Count > 0 && restartSesion)
 
        //                {
 
        //                    restartSesion = false;
 
        //                }
 
        //            }
 
 
        //            flightWorker.ReportProgress(100);
 
        //        }
 
        //        catch (Exception ex)
 
        //        {
 
        //            Debug.WriteLine("flight_DoWork: " + ex.ToString());
 
        //        }
 
        //        Thread.Sleep(5 * 1000);
 
        //    }
 
 
        //    flightMarkers.Clear();
 
        //}
 
 
        #endregion
 
 
        #region -- transport demo --
 
        //#endregion
 
        ///
 
        //#region -- transport demo --
 
        //BackgroundWorker transportWorker = new BackgroundWorker();
 
 
        //#region -- old vehicle demo --
 
        //readonly List<VehicleData> trolleybus = new List<VehicleData>();
 
        //readonly Dictionary<int, GMapMarker> trolleybusMarkers = new Dictionary<int, GMapMarker>();
 
 
        //readonly List<VehicleData> bus = new List<VehicleData>();
 
        //readonly Dictionary<int, GMapMarker> busMarkers = new Dictionary<int, GMapMarker>();
 
        //#endregion
 
 
        //bool firstLoadTrasport = true;
 
        //GMapMarker currentTransport;
 
 
        //void transport_ProgressChanged(object sender, ProgressChangedEventArgs e)
 
        //{
 
        //    // stops immediate marker/route/polygon invalidations;
 
        //    // call Refresh to perform single refresh and reset invalidation state
 
        //    MainMap.HoldInvalidation = true;
 
 
        //    #region -- vehicle demo --
 
        //    lock (trolleybus)
 
        //    {
 
        //        foreach (VehicleData d in trolleybus)
 
        //        {
 
        //            GMapMarker marker;
 
 
        //            if (!trolleybusMarkers.TryGetValue(d.Id, out marker))
 
        //            {
 
        //                marker = new GMarkerGoogle(new PointLatLng(d.Lat, d.Lng), GMarkerGoogleType.red_small);
 
        //                marker.Tag = d.Id;
 
        //                marker.ToolTipMode = MarkerTooltipMode.OnMouseOver;
 
 
        //                trolleybusMarkers[d.Id] = marker;
 
        //                objects.Markers.Add(marker);
 
        //            }
 
        //            else
 
        //            {
 
        //                marker.Position = new PointLatLng(d.Lat, d.Lng);
 
        //                (marker as GMarkerGoogle).Bearing = (float?)d.Bearing;
 
        //            }
 
        //            marker.ToolTipText = "Trolley " + d.Line + (d.Bearing.HasValue ? ", bearing: " + d.Bearing.Value.ToString() : string.Empty) + ", " + d.Time;
 
 
        //            if (currentTransport != null && currentTransport == marker)
 
        //            {
 
        //                MainMap.Position = marker.Position;
 
        //                if (d.Bearing.HasValue)
 
        //                {
 
        //                    MainMap.Bearing = (float)d.Bearing.Value;
 
@@ -477,99 +465,99 @@ namespace Demo.WindowsForms
 
        //                {
 
        //                    MainMap.Bearing = (float)d.Bearing.Value;
 
        //                }
 
        //            }
 
        //        }
 
        //    }
 
        //    #endregion
 
 
        //    if (firstLoadTrasport)
 
        //    {
 
        //        MainMap.Zoom = 5;
 
        //        MainMap.ZoomAndCenterMarkers("objects");
 
        //        firstLoadTrasport = false;
 
        //    }
 
        //    MainMap.Refresh();
 
        //}
 
 
        //void transport_DoWork(object sender, DoWorkEventArgs e)
 
        //{
 
        //    while (!transportWorker.CancellationPending)
 
        //    {
 
        //        try
 
        //        {
 
        //            #region -- old vehicle demo --
 
        //            lock (trolleybus)
 
        //            {
 
        //                Stuff.GetVilniusTransportData(TransportType.TrolleyBus, string.Empty, trolleybus);
 
        //            }
 
 
        //            lock (bus)
 
        //            {
 
        //                Stuff.GetVilniusTransportData(TransportType.Bus, string.Empty, bus);
 
        //            }
 
        //            #endregion
 
 
        //            transportWorker.ReportProgress(100);
 
        //        }
 
        //        catch (Exception ex)
 
        //        {
 
        //            Debug.WriteLine("transport_DoWork: " + ex.ToString());
 
        //        }
 
        //        Thread.Sleep(2 * 1000);
 
        //    }
 
 
        //    trolleybusMarkers.Clear();
 
        //    busMarkers.Clear();
 
        //}
 
 
        #endregion
 
 
        #region -- tcp/ip connections demo --
 
        //#endregion
 
        ///
 
        //#region -- tcp/ip connections demo --
 
        //        BackgroundWorker connectionsWorker = new BackgroundWorker();
 
        //        BackgroundWorker ipInfoSearchWorker = new BackgroundWorker();
 
        //        BackgroundWorker iptracerWorker = new BackgroundWorker();
 
 
        //        readonly Dictionary<string, IpInfo> TcpState = new Dictionary<string, IpInfo>();
 
        //        readonly Dictionary<string, IpInfo> TcpTracePoints = new Dictionary<string, IpInfo>();
 
        //        readonly Dictionary<string, List<PingReply>> TraceRoutes = new Dictionary<string, List<PingReply>>();
 
 
        //        readonly List<string> TcpStateNeedLocationInfo = new List<string>();
 
        //        readonly Queue<string> TcpStateNeedtraceInfo = new Queue<string>();
 
 
        //        volatile bool TryTraceConnection = false;
 
        //        GMapMarker lastTcpmarker;
 
        //        readonly SQLiteIpCache IpCache = new SQLiteIpCache();
 
 
        //        readonly Dictionary<string, GMapMarker> tcpConnections = new Dictionary<string, GMapMarker>();
 
        //        readonly Dictionary<string, GMapRoute> tcpRoutes = new Dictionary<string, GMapRoute>();
 
 
        //        readonly List<IpStatus> CountryStatusView = new List<IpStatus>();
 
        //        readonly SortedDictionary<string, int> CountryStatus = new SortedDictionary<string, int>();
 
 
        //        readonly List<string> SelectedCountries = new List<string>();
 
        //        readonly Dictionary<int, Process> ProcessList = new Dictionary<int, Process>();
 
 
        //        void ipInfoSearchWorker_DoWork(object sender, DoWorkEventArgs e)
 
        //        {
 
        //            while (!ipInfoSearchWorker.CancellationPending)
 
        //            {
 
        //                try
 
        //                {
 
        //                    string iplist = string.Empty;
 
 
        //                    lock (TcpStateNeedLocationInfo)
 
        //                    {
 
        //                        //int count = 0;
 
        //                        foreach (var info in TcpStateNeedLocationInfo)
 
        //                        {
 
        //                            if (iplist.Length > 0)
 
        //                            {
 
        //                                iplist += ",";
 
        //                            }
 
        //                            iplist += info;
 
 
        //                            //if(count++ >= 1)
 
        //                            {
 
        //                                break;
 
        //                            }
 
        //                        }
 
@@ -1174,235 +1162,236 @@ namespace Demo.WindowsForms
 
        //                                {
 
        //                                    result = reader.ReadToEnd();
 
        //                                }
 
        //                                response.Close();
 
        //                            }
 
 
        //                            XmlDocument x = new XmlDocument();
 
        //                            x.LoadXml(result);
 
 
        //                            XmlNodeList nodes = x.SelectNodes("/Response");
 
        //                            foreach (XmlNode node in nodes)
 
        //                            {
 
        //                                string Ip = node.SelectSingleNode("Ip").InnerText;
 
 
        //                                IpInfo info = new IpInfo();
 
        //                                {
 
        //                                    info.Ip = Ip;
 
        //                                    info.CountryName = node.SelectSingleNode("CountryName").InnerText;
 
        //                                    info.RegionName = node.SelectSingleNode("RegionName").InnerText;
 
        //                                    info.City = node.SelectSingleNode("City").InnerText;
 
        //                                    info.Latitude = double.Parse(node.SelectSingleNode("Latitude").InnerText, CultureInfo.InvariantCulture);
 
        //                                    info.Longitude = double.Parse(node.SelectSingleNode("Longitude").InnerText, CultureInfo.InvariantCulture);
 
        //                                    info.CacheTime = DateTime.Now;
 
 
        //                                    ret.Add(info);
 
        //                                }
 
 
        //                                IpCache.PutDataToCache(Ip, info);
 
        //                            }
 
        //                        }
 
 
        //                        break;
 
        //                    }
 
        //                    catch (Exception ex)
 
        //                    {
 
        //                        if (retry) // fail in retry too, full stop ;}
 
        //                        {
 
        //                            break;
 
        //                        }
 
        //                        retry = true;
 
        //                        reqUrl = string.Format("http://backup.ipinfodb.com/v2/ip_query.php?key=fbea1992ab11f7125064590a417a8461ccaf06728798c718dbd2809b31a7a5e0&ip={0}&timezone=false", iplist);
 
        //                        Debug.WriteLine("GetIpHostInfo: " + ex.Message + ", retry on backup server...");
 
        //                    }
 
        //                }
 
        //            }
 
        //            return ret;
 
        //        }
 
 
        #endregion
 
        //#endregion
 
 
        #region -- some functions --
 
 
        //void RegeneratePolygon()
 
        //{
 
        //    List<PointLatLng> polygonPoints = new List<PointLatLng>();
 
 
        //    foreach (GMapMarker m in objects.Markers)
 
        //    {
 
        //        if (m is GMapMarkerRect)
 
        //        {
 
        //            m.Tag = polygonPoints.Count;
 
        //            polygonPoints.Add(m.Position);
 
        //        }
 
        //    }
 
 
        //    if (polygon == null)
 
        //    {
 
        //        polygon = new GMapPolygon(polygonPoints, "polygon test");
 
        //        polygon.IsHitTestVisible = true;
 
        //        polygons.Polygons.Add(polygon);
 
        //    }
 
        //    else
 
        //    {
 
        //        polygon.Points.Clear();
 
        //        polygon.Points.AddRange(polygonPoints);
 
 
        //        if (polygons.Polygons.Count == 0)
 
        //        {
 
        //            polygons.Polygons.Add(polygon);
 
        //        }
 
        //        else
 
        //        {
 
        //            MainMap.UpdatePolygonLocalPosition(polygon);
 
        //        }
 
        //    }
 
        //}
 
 
        // load mobile gps log
 
        
 
        void AddGpsMobileLogRoutes(string file)
 
        {
 
            try
 
            {
 
                DateTime? date = null;
 
                DateTime? dateEnd = null;
 
 
                if (MobileLogFrom.Checked)
 
                {
 
                    date = MobileLogFrom.Value.ToUniversalTime();
 
                }
 
 
                if (MobileLogTo.Checked)
 
                {
 
                    dateEnd = MobileLogTo.Value.ToUniversalTime();
 
                }
 
 
                var log = Stuff.GetRoutesFromMobileLog(file, date, dateEnd, 3.3);
 
 
                if (routes != null)
 
                {
 
                    List<PointLatLng> track = new List<PointLatLng>();
 
 
                    var sessions = new List<List<GpsLog>>(log);
 
 
                    PointLatLng lastPoint = PointLatLng.Empty;
 
 
                    foreach (var session in sessions)
 
                    {
 
                        // connect to last session with direct line
 
                        if (!lastPoint.IsEmpty && session.Count > 0)
 
                        {
 
                            track.Clear();
 
                            track.Add(lastPoint);
 
                            track.Add(session[0].Position);
 
 
                            GMapRoute grl = new GMapRoute(track, "");
 
                            grl.Stroke.Color = Color.Red;
 
                            grl.Stroke.Width = 2.0f;
 
                            routes.Routes.Add(grl);
 
                        }
 
 
                        track.Clear();
 
 
                        foreach (var point in session)
 
                        {
 
                            track.Add(point.Position);
 
                        }
 
 
                        if (track.Count > 0)
 
                        {
 
                            lastPoint = track[track.Count - 1];
 
                        }
 
                        else
 
                        {
 
                            lastPoint = PointLatLng.Empty;
 
                        }
 
 
                        GMapRoute gr = new GMapRoute(track, "");
 
                        routes.Routes.Add(gr);
 
                    }
 
 
                    sessions.Clear();
 
                    sessions = null;
 
 
                    track.Clear();
 
                    track = null;
 
                }
 
            }
 
            catch (Exception ex)
 
            {
 
                Debug.WriteLine("AddGpsMobileLogRoutes: " + ex.ToString());
 
            }
 
        }
 
 
        /// <summary>
 
        /// adds marker using geocoder
 
        /// </summary>
 
        /// <param name="place"></param>
 
        void AddLocationLithuania(string place)
 
        {
 
            GeoCoderStatusCode status = GeoCoderStatusCode.Unknow;
 
            PointLatLng? pos = GMapProviders.GoogleMap.GetPoint("Lithuania, " + place, out status);
 
            if (pos != null && status == GeoCoderStatusCode.G_GEO_SUCCESS)
 
            {
 
                GMarkerGoogle m = new GMarkerGoogle(pos.Value, GMarkerGoogleType.green);
 
                m.ToolTip = new GMapRoundedToolTip(m);
 
 
                GMapMarkerRect mBorders = new GMapMarkerRect(pos.Value);
 
                {
 
                    mBorders.InnerMarker = m;
 
                    mBorders.ToolTipText = place;
 
                    mBorders.ToolTipMode = MarkerTooltipMode.Always;
 
                }
 
 
                objects.Markers.Add(m);
 
                objects.Markers.Add(mBorders);
 
            }
 
        }
 
        ///// <summary>
 
        ///// adds marker using geocoder
 
        ///// </summary>
 
        ///// <param name="place"></param>
 
        //void AddLocationLithuania(string place)
 
        //{
 
        //    GeoCoderStatusCode status = GeoCoderStatusCode.Unknow;
 
        //    PointLatLng? pos = GMapProviders.GoogleMap.GetPoint("Lithuania, " + place, out status);
 
        //    if (pos != null && status == GeoCoderStatusCode.G_GEO_SUCCESS)
 
        //    {
 
        //        GMarkerGoogle m = new GMarkerGoogle(pos.Value, GMarkerGoogleType.green);
 
        //        m.ToolTip = new GMapRoundedToolTip(m);
 
 
        //        GMapMarkerRect mBorders = new GMapMarkerRect(pos.Value);
 
        //        {
 
        //            mBorders.InnerMarker = m;
 
        //            mBorders.ToolTipText = place;
 
        //            mBorders.ToolTipMode = MarkerTooltipMode.Always;
 
        //        }
 
 
        //        objects.Markers.Add(m);
 
        //        objects.Markers.Add(mBorders);
 
        //    }
 
        //}
 
 
        #endregion
 
 
        #region -- map events --
 
 
        void OnTileCacheComplete()
 
        {
 
            Debug.WriteLine("OnTileCacheComplete");
 
            long size = 0;
 
            int db = 0;
 
            try
 
            {
 
                DirectoryInfo di = new DirectoryInfo(MainMap.CacheLocation);
 
                var dbs = di.GetFiles("*.gmdb", SearchOption.AllDirectories);
 
                foreach (var d in dbs)
 
                {
 
                    size += d.Length;
 
                    db++;
 
                }
 
            }
 
            catch
 
            {
 
            }
 
 
            if (!IsDisposed)
 
            {
 
                MethodInvoker m = delegate
 
                {
 
                    textBoxCacheSize.Text = string.Format(CultureInfo.InvariantCulture, "{0} db in {1:00} MB", db, size / (1024.0 * 1024.0));
 
                    textBoxCacheStatus.Text = "all tiles saved!";
 
                };
 
                Invoke(m);
 
            }
 
        }
 
 
        void OnTileCacheStart()
 
        {
 
            Debug.WriteLine("OnTileCacheStart");
 
 
            if (!IsDisposed)
 
            {
 
                MethodInvoker m = delegate
 
                {
 
                    textBoxCacheStatus.Text = "saving tiles...";
 
                };
 
                // MDKEdit
 
                //Invoke(m);
 
            }
 
@@ -1459,96 +1448,98 @@ namespace Demo.WindowsForms
 
            currentPolygon = item;
 
            item.Stroke.Color = Color.Red;
 
            Debug.WriteLine("OnPolygonEnter: " + item.Name);
 
        }
 
 
        GMapRoute currentRoute = null;
 
        void MainMap_OnRouteLeave(GMapRoute item)
 
        {
 
            currentRoute = null;
 
            item.Stroke.Color = Color.MidnightBlue;
 
            Debug.WriteLine("OnRouteLeave: " + item.Name);
 
        }
 
 
        void MainMap_OnRouteEnter(GMapRoute item)
 
        {
 
            currentRoute = item;
 
            item.Stroke.Color = Color.Red;
 
            Debug.WriteLine("OnRouteEnter: " + item.Name);
 
        }
 
 
        void MainMap_OnMapTypeChanged(GMapProvider type)
 
        {
 
            comboBoxMapType.SelectedItem = type;
 
 
            trackBarZoomLevel.Minimum = MainMap.MinZoom * 100;
 
            trackBarZoomLevel.Maximum = MainMap.MaxZoom * 100;
 
 
            //if(rbtnFlight.Checked)
 
            //{
 
            //   MainMap.ZoomAndCenterMarkers("objects");
 
            //}
 
        }
 
 
        void MainMap_MouseUp(object sender, MouseEventArgs e)
 
        {
 
            // MDKAdd
 
            textBoxLatCurrent.Text = currentMarker.Position.Lat.ToString();
 
            textBoxLngCurrent.Text = currentMarker.Position.Lng.ToString();
 
            if (e.Button == MouseButtons.Left)
 
            {
 
                isMouseDown = false;
 
            }
 
        }
 
 
        // add demo circle
 
        void MainMap_MouseDoubleClick(object sender, MouseEventArgs e)
 
        {
 
            var cc = new GMapMarkerCircle(MainMap.FromLocalToLatLng(e.X, e.Y));
 
            cc.ToolTipMode = MarkerTooltipMode.Always;
 
            cc.ToolTipText = "CC";
 
            objects.Markers.Add(cc);
 
        }
 
 
        void MainMap_MouseDown(object sender, MouseEventArgs e)
 
        {
 
            if (e.Button == MouseButtons.Left)
 
            {
 
                isMouseDown = true;
 
 
                if (currentMarker.IsVisible)
 
                {
 
                    currentMarker.Position = MainMap.FromLocalToLatLng(e.X, e.Y);
 
                    // MDKAdd
 
                    textBoxLatCurrent.Text = currentMarker.Position.Lat.ToString();
 
                    textBoxLngCurrent.Text = currentMarker.Position.Lng.ToString();
 
 
                    var px = MainMap.MapProvider.Projection.FromLatLngToPixel(currentMarker.Position.Lat, currentMarker.Position.Lng, (int)MainMap.Zoom);
 
                    var tile = MainMap.MapProvider.Projection.FromPixelToTileXY(px);
 
 
                    Debug.WriteLine("MouseDown: geo: " + currentMarker.Position + " | px: " + px + " | tile: " + tile);
 
                }
 
            }
 
        }
 
 
        // move current marker with left holding
 
        void MainMap_MouseMove(object sender, MouseEventArgs e)
 
        {
 
            if (e.Button == MouseButtons.Left && isMouseDown)
 
            {
 
                if (CurentRectMarker == null)
 
                {
 
                    if (currentMarker.IsVisible)
 
                    {
 
                        // MDKAdd
 
                        textBoxLatCurrent.Text = currentMarker.Position.Lat.ToString();
 
                        textBoxLngCurrent.Text = currentMarker.Position.Lng.ToString();
 
 
                        currentMarker.Position = MainMap.FromLocalToLatLng(e.X, e.Y);
 
                    }
 
                }
 
                else // move rect marker
 
                {
 
                    PointLatLng pnew = MainMap.FromLocalToLatLng(e.X, e.Y);
 
 
                    int? pIndex = (int?)CurentRectMarker.Tag;
 
                    if (pIndex.HasValue)
 
                    {
 
                        //if (pIndex < polygon.Points.Count)
 
@@ -1729,283 +1720,363 @@ namespace Demo.WindowsForms
 
                else
 
                {
 
                    // user deleted License.txt ;}
 
                    UserAcceptedLicenseOnce = true;
 
                }
 
            }
 
 
            if (UserAcceptedLicenseOnce)
 
            {
 
                MainMap.MapProvider = comboBoxMapType.SelectedItem as GMapProvider;
 
            }
 
            else
 
            {
 
                MainMap.MapProvider = GMapProviders.OpenStreetMap;
 
                comboBoxMapType.SelectedItem = MainMap.MapProvider;
 
            }
 
        }
 
 
        // change mdoe
 
        private void comboBoxMode_DropDownClosed(object sender, EventArgs e)
 
        {
 
            MainMap.Manager.Mode = (AccessMode)comboBoxMode.SelectedValue;
 
            MainMap.ReloadMap();
 
        }
 
 
        // zoom
 
        private void trackBar1_ValueChanged(object sender, EventArgs e)
 
        {
 
            MainMap.Zoom = trackBarZoomLevel.Value / 100.0;
 
        }
 
 
        // go to
 
        private void btnGoToCoords_Click(object sender, EventArgs e)
 
        {
 
            try
 
            {
 
                double lat = double.Parse(textBoxLat.Text, CultureInfo.InvariantCulture);
 
                double lng = double.Parse(textBoxLng.Text, CultureInfo.InvariantCulture);
 
 
                MainMap.Position = new PointLatLng(lat, lng);
 
            }
 
            catch (Exception ex)
 
            {
 
                MessageBox.Show("incorrect coordinate format: " + ex.Message);
 
            }
 
        }
 
 
        // goto by geocoder
 
        private void textBoxGeo_KeyPress(object sender, KeyPressEventArgs e)
 
        {
 
            if ((Keys)e.KeyChar == Keys.Enter)
 
            {
 
                GeoCoderStatusCode status = MainMap.SetCurrentPositionByKeywords(textBoxGeo.Text);
 
                if (status != GeoCoderStatusCode.G_GEO_SUCCESS)
 
                {
 
                    MessageBox.Show("Google Maps Geocoder can't find: '" + textBoxGeo.Text + "', reason: " + status.ToString(), "GMap.NET", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
 
                }
 
            }
 
        }
 
        //private void textBoxGeo_KeyPress(object sender, KeyPressEventArgs e)
 
        //{
 
        //    if ((Keys)e.KeyChar == Keys.Enter)
 
        //    {
 
        //        GeoCoderStatusCode status = MainMap.SetCurrentPositionByKeywords(textBoxGeo.Text);
 
        //        if (status != GeoCoderStatusCode.G_GEO_SUCCESS)
 
        //        {
 
        //            MessageBox.Show("Google Maps Geocoder can't find: '" + textBoxGeo.Text + "', reason: " + status.ToString(), "GMap.NET", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
 
        //        }
 
        //    }
 
        //}
 
 
        // reload map
 
        private void btnReload_Click(object sender, EventArgs e)
 
        {
 
            MainMap.ReloadMap();
 
        }
 
 
        // cache config
 
        private void checkBoxUseCache_CheckedChanged(object sender, EventArgs e)
 
        {
 
            MainMap.Manager.UseRouteCache = checkBoxUseRouteCache.Checked;
 
            MainMap.Manager.UseGeocoderCache = checkBoxUseRouteCache.Checked;
 
            MainMap.Manager.UsePlacemarkCache = checkBoxUseRouteCache.Checked;
 
            MainMap.Manager.UseDirectionsCache = checkBoxUseRouteCache.Checked;
 
        }
 
 
        // clear cache
 
        private void button2_Click(object sender, EventArgs e)
 
        {
 
            if (MessageBox.Show("Are You sure?", "Clear GMap.NET cache?", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning) == DialogResult.OK)
 
            {
 
                try
 
                {
 
                    MainMap.Manager.PrimaryCache.DeleteOlderThan(DateTime.Now, null);
 
                    MessageBox.Show("Done. Cache is clear.");
 
                }
 
                catch (Exception ex)
 
                {
 
                    MessageBox.Show(ex.Message);
 
                }
 
            }
 
        }
 
 
        // set route start 
 
        bool hasStartMarker = false;
 
        private void buttonSetStart_Click(object sender, EventArgs e)
 
        {
 
            start = currentMarker.Position;
 
            // - MDKAdd
 
            GMarkerGoogle m = new GMarkerGoogle(currentMarker.Position, GMarkerGoogleType.green_small);
 
            
 
            //prevent multiple start markers from existing
 
            if(hasStartMarker){
 
                objects.Markers.RemoveAt(0);
 
            }
 
            m.ToolTipText = "Start";
 
            m.ToolTipMode = MarkerTooltipMode.Always;
 
            objects.Markers.Insert(0, m);
 
 
            hasStartMarker = true;
 
        }
 
 
        // set route end
 
        bool hasEndMarker = false;
 
        private void buttonSetEnd_Click(object sender, EventArgs e)
 
        {
 
            end = currentMarker.Position;
 
            // - MDKAdd
 
            GMarkerGoogle m = new GMarkerGoogle(currentMarker.Position, GMarkerGoogleType.red_small);
 
 
            //prevent multiple start markers from existing
 
            if (hasEndMarker)
 
            {
 
                objects.Markers.RemoveAt(1);
 
            }
 
            m.ToolTipText = "End";
 
            m.ToolTipMode = MarkerTooltipMode.Always;
 
            if (hasStartMarker)
 
            {
 
                objects.Markers.Insert(1, m);
 
            }
 
            else
 
            {
 
                objects.Markers.Insert(0, m);
 
            }
 
            hasEndMarker = true;
 
        }
 
 
        // add test route
 
        private void btnAddRoute_Click(object sender, EventArgs e)
 
        {
 
            RoutingProvider rp = MainMap.MapProvider as RoutingProvider;
 
            if (rp == null)
 
            {
 
                rp = GMapProviders.GoogleMap; // use google if provider does not implement routing
 
            }
 
 
            MapRoute route = rp.GetRoute(start, end, false, false, (int)MainMap.Zoom);
 
            if (route != null)
 
            {
 
                // add route
 
                GMapRoute r = new GMapRoute(route.Points, route.Name);
 
                r.IsHitTestVisible = true;
 
                routes.Routes.Add(r);
 
 
                // add route start/end marks
 
                GMapMarker m1 = new GMarkerGoogle(start, GMarkerGoogleType.green_big_go);
 
                m1.ToolTipText = "Start: " + route.Name;
 
                m1.ToolTipMode = MarkerTooltipMode.Always;
 
 
                GMapMarker m2 = new GMarkerGoogle(end, GMarkerGoogleType.red_big_stop);
 
                m2.ToolTipText = "End: " + end.ToString();
 
                m2.ToolTipMode = MarkerTooltipMode.Always;
 
 
                objects.Markers.Add(m1);
 
                objects.Markers.Add(m2);
 
 
                //MainMap.ZoomAndCenterRoute(r);
 
 
            }
 
        }
 
 
        // add marker on current position - MDKEdit
 
        private void btnAddMarker_Click(object sender, EventArgs e)
 
        private void addUserMarker(object sender, EventArgs e)
 
        {
 
            GMarkerGoogle m = new GMarkerGoogle(currentMarker.Position, GMarkerGoogleType.blue_small);
 
            //GMapMarkerRect mBorders = new GMapMarkerRect(currentMarker.Position);
 
            //{
 
            //   mBorders.InnerMarker = m;
 
            //   if(polygon != null)
 
            //   {
 
            //      mBorders.Tag = polygon.Points.Count;
 
            //   }
 
            //   mBorders.ToolTipMode = MarkerTooltipMode.Always;
 
            //}
 
 
            Placemark? p = null;
 
            if (xboxPlacemarkInfo.Checked)
 
            {
 
                GeoCoderStatusCode status;
 
                var ret = GMapProviders.GoogleMap.GetPlacemark(currentMarker.Position, out status);
 
                if (status == GeoCoderStatusCode.G_GEO_SUCCESS && ret != null)
 
                {
 
                    p = ret;
 
                }
 
            }
 
 
            //if(p != null)
 
            //{
 
            //   mBorders.ToolTipText = p.Value.Address;
 
            //}
 
            //else
 
            //{
 
            //   mBorders.ToolTipText = currentMarker.Position.ToString();
 
            //}
 
 
            m.ToolTipText = "User";
 
            m.ToolTipMode = MarkerTooltipMode.Always;
 
            objects.Markers.Add(m);
 
            //objects.Markers.Add(mBorders);
 
 
            //RegeneratePolygon();
 
        }
 
 
        // add marker from APRS transmission - MDKEdit - TODO: Function not needed; addUserMarker() replaces it ??
 
        private void addMarkerFromButton(object sender, EventArgs e)
 
        {
 
            GMarkerGoogle m = new GMarkerGoogle(currentMarker.Position, GMarkerGoogleType.blue_small);
 
            //GMapMarkerRect mBorders = new GMapMarkerRect(currentMarker.Position);
 
            //{
 
            //   mBorders.InnerMarker = m;
 
            //   if(polygon != null)
 
            //   {
 
            //      mBorders.Tag = polygon.Points.Count;
 
            //   }
 
            //   mBorders.ToolTipMode = MarkerTooltipMode.Always;
 
            //}
 
 
            Placemark? p = null;
 
            if (xboxPlacemarkInfo.Checked)
 
            {
 
                GeoCoderStatusCode status;
 
                var ret = GMapProviders.GoogleMap.GetPlacemark(currentMarker.Position, out status);
 
                if (status == GeoCoderStatusCode.G_GEO_SUCCESS && ret != null)
 
                {
 
                    p = ret;
 
                }
 
            }
 
 
            //if(p != null)
 
            //{
 
            //   mBorders.ToolTipText = p.Value.Address;
 
            //}
 
            //else
 
            //{
 
            //   mBorders.ToolTipText = currentMarker.Position.ToString();
 
            //}
 
            m.ToolTipText = "Tracker";
 
            m.ToolTipMode = MarkerTooltipMode.Always;
 
            objects.Markers.Add(m);
 
            //objects.Markers.Add(mBorders);
 
 
            //RegeneratePolygon();
 
        }
 
 
        // clear routes
 
        private void btnClearRoutes_Click(object sender, EventArgs e)
 
        {
 
            routes.Routes.Clear();
 
 
            //remove start/end markes of this route
 
            string markerText = "";
 
            int count = objects.Markers.Count;
 
            for (int i = count-1; i >= 0; i--)
 
            {
 
                markerText = objects.Markers[i].ToolTipText.ToString();
 
                if (markerText.StartsWith("Start"))
 
                {
 
                    objects.Markers.RemoveAt(i);
 
                }
 
                else if (markerText.StartsWith("End"))
 
                {
 
                    objects.Markers.RemoveAt(i); 
 
                    //objects.Markers[i].Dispose();
 
                }                
 
            }
 
            hasEndMarker = false;
 
            hasStartMarker = false;
 
        }
 
 
        // clear polygons
 
        private void btnClearPolygons_Click(object sender, EventArgs e)
 
        {
 
            //polygons.Polygons.Clear();
 
        }
 
 
        
 
        // clear markers
 
        private void btnClearMarkers_Click(object sender, EventArgs e)
 
        {
 
            //preserve stert/end markes of this route
 
            string markerText = ""; 
 
            int count = objects.Markers.Count;
 
            for (int i = (count - 1); i >= 0; i--)
 
            {
 
                markerText = objects.Markers[i].ToolTipText.ToString();
 
                if (markerText.StartsWith("User"))
 
                {
 
                    objects.Markers.RemoveAt(i); 
 
                }
 
            }
 
        }
 
 
        private void btnClearAll_Click(object sender, EventArgs e)
 
        {
 
            objects.Markers.Clear();
 
            objects.Routes.Clear();
 
            hasEndMarker = false;
 
            hasStartMarker = false;
 
        }
 
 
        // show current marker
 
        private void checkBoxCurrentMarker_CheckedChanged(object sender, EventArgs e)
 
        {
 
            currentMarker.IsVisible = xboxCurrentMarker.Checked;
 
        }
 
 
        // can drag
 
        private void checkBoxCanDrag_CheckedChanged(object sender, EventArgs e)
 
        {
 
            MainMap.CanDragMap = xboxCanDrag.Checked;
 
        }
 
 
        bool hasStartMarker = false;
 
        // set route start 
 
        private void buttonSetStart_Click(object sender, EventArgs e)
 
        {
 
            start = currentMarker.Position;
 
            // - MDKAdd
 
            GMarkerGoogle m = new GMarkerGoogle(currentMarker.Position, GMarkerGoogleType.green_small);
 
            
 
            //prevent multiple start markers from existing
 
            if(hasStartMarker){
 
                objects.Markers.RemoveAt(0);
 
            }
 
 
            objects.Markers.Insert(0, m);
 
            if (hasEndMarker)
 
            {
 
                objects.Markers.Move(2, 1);
 
            }
 
            hasStartMarker = true; 
 
        }
 
 
        bool hasEndMarker = false;
 
        // set route end
 
        private void buttonSetEnd_Click(object sender, EventArgs e)
 
        {
 
            end = currentMarker.Position;
 
            // - MDKAdd
 
            GMarkerGoogle m = new GMarkerGoogle(currentMarker.Position, GMarkerGoogleType.red_small);
 
 
            //prevent multiple start markers from existing
 
            if (hasEndMarker)
 
            {
 
                objects.Markers.RemoveAt(1);
 
            }
 
            objects.Markers.Insert(1, m);
 
            hasEndMarker = true;
 
        }
 
 
 
        // zoom to max for markers
 
        private void button7_Click(object sender, EventArgs e)
 
        {
 
            MainMap.ZoomAndCenterMarkers("objects");
 
        }
 
 
        // export map data
 
        private void button9_Click(object sender, EventArgs e)
 
        {
 
            MainMap.ShowExportDialog();
 
        }
 
 
        // import map data
 
        private void button10_Click(object sender, EventArgs e)
 
        {
 
            MainMap.ShowImportDialog();
 
        }
 
 
        // prefetch
 
        private void button11_Click(object sender, EventArgs e)
 
        {
 
            RectLatLng area = MainMap.SelectedArea;
 
            if (!area.IsEmpty)
 
            {
 
                for (int i = (int)MainMap.Zoom; i <= MainMap.MaxZoom; i++)
 
                {
 
                    DialogResult res = MessageBox.Show("Ready ripp at Zoom = " + i + " ?", "GMap.NET", MessageBoxButtons.YesNoCancel);
 
 
                    if (res == DialogResult.Yes)
 
                    {
 
                        using (TilePrefetcher obj = new TilePrefetcher())
 
                        {
 
                            obj.Owner = this;
 
                            obj.ShowCompleteMessage = true;
 
                            obj.Start(area, i, MainMap.MapProvider, 100);
 
                        }
 
                    }
 
                    else if (res == DialogResult.No)
 
                    {
 
                        continue;
 
                    }
 
                    else if (res == DialogResult.Cancel)
 
                    {
 
                        break;
 
                    }
 
                }
 
            }
 
@@ -2388,156 +2459,158 @@ namespace Demo.WindowsForms
 
            }
 
        }
 
 
        // enable/disable host tracing
 
        //private void checkBoxTraceRoute_CheckedChanged(object sender, EventArgs e)
 
        //{
 
        //   TryTraceConnection = checkBoxTraceRoute.Checked;
 
        //   if(!TryTraceConnection)
 
        //   {
 
        //      if(iptracerWorker.IsBusy)
 
        //      {
 
        //         iptracerWorker.CancelAsync();
 
        //      }
 
        //      routes.Routes.Clear();
 
        //   }
 
        //}
 
 
        //private void GridConnections_DoubleClick(object sender, EventArgs e)
 
        //{
 
        //   GridConnections.ClearSelection();
 
        //}
 
 
        // open disk cache location
 
        private void button17_Click(object sender, EventArgs e)
 
        {
 
            try
 
            {
 
                string argument = "/select, \"" + MainMap.CacheLocation + "TileDBv5\"";
 
                System.Diagnostics.Process.Start("explorer.exe", argument);
 
            }
 
            catch (Exception ex)
 
            {
 
                MessageBox.Show("Failed to open: " + ex.Message, "GMap.NET", MessageBoxButtons.OK, MessageBoxIcon.Error);
 
            }
 
        }
 
 
        #endregion
 
 
        #region chart click events
 
        //this method clears the background of all charts
 
        private void ResetChartColors()
 
        {
 
            chrtTopLeft.BackColor = Color.LightGray;
 
            chrtTopRight.BackColor = Color.LightGray;
 
            chrtBottomLeft.BackColor = Color.LightGray;
 
            chrtBottomRight.BackColor = Color.LightGray;
 
        }
 
 
        //highlight Top Left chart on click
 
        //set text box values based on this chart
 
        ///TODO: check min/max/average with real data
 
 
        //highlight Top Left chart on click and set text box values based on this chart
 
        private void chrtTopLeft_Click(object sender, EventArgs e)
 
        {
 
            ResetChartColors();
 
            chrtTopLeft.BackColor = Color.Gray;
 
            tboxChartData.Text = "Altitude";
 
            tboxCurrent.Text = "";
 
            tboxAverage.Text = "";
 
            tboxMax.Text = "";
 
            tboxMin.Text = "";
 
            tboxCurrent.Text = tboxAtmoAltitude.Text;
 
            tboxAverage.Text = (velocitySum / chrtBottomRight.Series.FindByName("altitudeTrend").Points.Count).ToString();
 
            tboxMax.Text = chrtBottomRight.Series.FindByName("altitudeTrend").Points.FindMaxByValue().ToString();
 
            tboxMin.Text = chrtBottomRight.Series.FindByName("altitudeTrend").Points.FindMinByValue().ToString();
 
        }
 
 
        //highlight Top Right chart on click
 
        //set text box values based on this chart
 
        //highlight Top Right chart on click and set text box values based on this chart
 
        private void chrtTopRight_Click(object sender, EventArgs e)
 
        {
 
            ResetChartColors();
 
            chrtTopRight.BackColor = Color.Gray;
 
            tboxChartData.Text = "Humidity";
 
            tboxCurrent.Text = "";
 
            tboxAverage.Text = "";
 
            tboxMax.Text = "";
 
            tboxMin.Text = "";
 
            tboxCurrent.Text = tboxAtmoHumidity.Text;
 
            tboxAverage.Text = (humiditySum / chrtBottomRight.Series.FindByName("humidityTrend").Points.Count).ToString();
 
            tboxMax.Text = chrtBottomRight.Series.FindByName("humidityTrend").Points.FindMaxByValue().ToString();
 
            tboxMin.Text = chrtBottomRight.Series.FindByName("humidityTrend").Points.FindMinByValue().ToString();
 
        }
 
 
        //highlight Bottom Left chart on click
 
        //set text box values based on this chart
 
        //highlight Bottom Left chart on click and set text box values based on this chart
 
        private void chrtBottomLeft_Click(object sender, EventArgs e)
 
        {
 
            ResetChartColors();
 
            chrtBottomLeft.BackColor = Color.Gray;
 
            tboxChartData.Text = "Pressure";
 
            tboxCurrent.Text = "";
 
            tboxAverage.Text = "";
 
            tboxMax.Text = "";
 
            tboxMin.Text = "";
 
            tboxCurrent.Text = tboxAtmoPressure.Text;
 
            tboxAverage.Text = (pressureSum / chrtBottomRight.Series.FindByName("pressureTrend").Points.Count).ToString();
 
            tboxMax.Text = chrtBottomRight.Series.FindByName("pressureTrend").Points.FindMaxByValue().ToString();
 
            tboxMin.Text = chrtBottomRight.Series.FindByName("pressureTrend").Points.FindMinByValue().ToString();
 
        }
 
 
        //highlight Bottom Right chart on click
 
        //set text box values based on this chart
 
        //highlight Bottom Right chart on click and set text box values based on this chart
 
        private void chrtBottomRight_Click(object sender, EventArgs e)
 
        {
 
            ResetChartColors();
 
            chrtBottomRight.BackColor = Color.Gray;
 
            tboxChartData.Text = "Map";
 
            tboxCurrent.Text = "";
 
            tboxAverage.Text = "";
 
            tboxMax.Text = "";
 
            tboxMin.Text = "";
 
            tboxChartData.Text = "Velocity";
 
            tboxCurrent.Text = tboxMasterVelocity.Text;
 
            tboxAverage.Text = (velocitySum / chrtBottomRight.Series.FindByName("velocityTrend").Points.Count).ToString();
 
            tboxMax.Text = chrtBottomRight.Series.FindByName("velocityTrend").Points.FindMaxByValue().ToString();
 
            tboxMin.Text = chrtBottomRight.Series.FindByName("velocityTrend").Points.FindMinByValue().ToString();
 
        }
 
 
        #endregion
 
 
        #region transmission handling
 
        //variable declarations
 
        string latitude;
 
        string longitude;
 
        bool firstTransmissionDatum = false;
 
 
        double velocitySum = 0;
 
        double humiditySum = 0;
 
        double altitudeSum = 0;
 
        double pressureSum = 0;
 
        
 
        //runs on init 
 
        public void PrepareGraphs(){
 
 
            //set up for graphs MDKEdit
 
            // http://www.youtube.com/watch?v=zTod4-Fg6Ew - split containers
 
            // http://www.youtube.com/watch?v=bMXtgPk875I - chart controls
 
 
            chrtTopLeft.ChartAreas.Add("altitudeArea");
 
            chrtTopLeft.Series.Add("altitudeTrend");
 
 
            chrtTopRight.ChartAreas.Add("humidityArea");
 
            chrtTopRight.Series.Add("humidityTrend");
 
 
            chrtBottomLeft.Series.Add("pressureTrend");
 
            chrtBottomLeft.ChartAreas.Add("pressureArea");
 
 
            chrtBottomRight.ChartAreas.Add("velocityArea");
 
            chrtBottomRight.Series.Add("velocityTrend");
 
 
            // declare all series, data points to be modified dynamically at run
 
 
            //---------prep altitude area BEGIN 
 
            chrtTopLeft.Series["altitudeTrend"].ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
 
            chrtTopLeft.Series["altitudeTrend"].Color = Color.Green;
 
            System.Windows.Forms.DataVisualization.Charting.AxisName.X.Equals("Time");
 
            System.Windows.Forms.DataVisualization.Charting.AxisName.Y.Equals("Altitude");
 
            
 
            ///required initial value
 
            chrtTopLeft.Series["altitudeTrend"].Points.AddXY(0, 140);
 
            //---------prep altitude area END 
 
 
 
            //-----------prep humidity area BEGIN
 
            chrtTopRight.Series["humidityTrend"].ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
 
            chrtTopRight.Series["humidityTrend"].Color = Color.Red;
 
            System.Windows.Forms.DataVisualization.Charting.AxisName.X.Equals("Time");
 
            System.Windows.Forms.DataVisualization.Charting.AxisName.Y.Equals("Humidity");
 
 
            ///required initial value
 
            chrtTopRight.Series["humidityTrend"].Points.AddXY(0, 50);
 
            //-----------prep humidity area END
 
 
 
            //-----------prep pressure area BEGIN
 
            chrtBottomLeft.Series["pressureTrend"].ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
 
            chrtBottomLeft.Series["pressureTrend"].Color = Color.Blue;
 
            System.Windows.Forms.DataVisualization.Charting.AxisName.X.Equals("Time");
 
            System.Windows.Forms.DataVisualization.Charting.AxisName.Y.Equals("Pressure");
 
@@ -2605,174 +2678,171 @@ namespace Demo.WindowsForms
 
            string testString = "";
 
 
            //loop through all datums in the transmission and send them to the chart builder
 
            for (int i = 0; i < dataTransmission.Length; i++)
 
            {
 
                if (i == 0)
 
                {
 
                    firstTransmissionDatum = true;
 
                }
 
                else
 
                {
 
                    firstTransmissionDatum = false;
 
                }
 
 
                //remove unwanted characters
 
                dataTransmission[i] = dataTransmission[i].Trim();
 
 
                //zero not always trasmitted properly so add '0.0' to any transmission with no data
 
                if (dataTransmission[i].Length == 1) 
 
                {
 
                    dataTransmission[i] += "0";
 
                }
 
                
 
                //pull out data and data type and send to processing function
 
                typeCode = dataTransmission[i].Substring(0, 1);
 
                if (typeCode != "e")
 
                {
 
                    testString = dataTransmission[i].Substring(1);
 
                    data = dataTransmission[i].Substring(1);
 
                    processTransmissionDatum(typeCode, data);
 
 
                    //append data to string for CSV write
 
                    csvData += typeCode + data + ",";
 
                }
 
                else
 
                {
 
                    AddTextDelegate("Error Message: " + dataTransmission[i].Substring(1) + "\r\n");
 
                }
 
            }
 
 
            //handle case of no GPS fix
 
            if (latitude == "" || longitude == "")
 
            {
 
                AddTextDelegate("No GPS fix: ");
 
            }
 
            else
 
            {
 
                //marker added here so extra accuracy can be added
 
                addMarkerFromTransmit(latitude, longitude);
 
                addTrackerMarker(latitude, longitude);
 
            }
 
 
            //display transmission in message box
 
            AddTextDelegate(rawDataReceived + "\r\n");
 
 
            //write the data to CSV file
 
            WriteToCSV(csvData);
 
        }
 
 
        //method to process data from transmissions (usually chart inserts)
 
        private void processTransmissionDatum(string dataType, string data)
 
        {
 
            //TODO: add inserts for all charts. altitude is finished and is a template
 
            ///data types organized by listing in google doc
 
            //MASTER MODULE DATA VALUES
 
            ChartDelegate(dataType, data);
 
 
        }
 
 
        //write the data to CSV file
 
        //write the data to CSV file -- usually seniordesign-ui\Demo.WindowsForms\bin\Debug
 
        private void WriteToCSV(string data)
 
        {
 
            string path = Directory.GetCurrentDirectory();
 
            string filename = path+"\\debug" + unixTime.Milliseconds + ".csv";
 
            string filename = path+"\\TransmissionData" + unixTime.Milliseconds + ".csv";
 
            using (StreamWriter writer = new StreamWriter(filename, true))
 
            {
 
                writer.WriteLine(data);
 
            }
 
        }
 
        
 
 
        //must change lat/long coords to properly place map marker
 
        float conv_coords(float in_coords)
 
        {
 
            //Initialize the location.
 
            float f = in_coords;
 
            // Get the first two digits by turning f into an integer, then doing an integer divide by 100;
 
            // firsttowdigits should be 77 at this point.
 
            int firsttwodigits = ((int)f) / 100;                               //This assumes that f < 10000.
 
            float nexttwodigits = f - (float)(firsttwodigits * 100);
 
            float theFinalAnswer = (float)(firsttwodigits + nexttwodigits / 60.0);
 
            return theFinalAnswer;
 
        }
 
 
        //must change lat/long coords to properly place map marker
 
        public decimal DmsToDD(double d, double m = 0, double s = 0)
 
        {
 
            return Convert.ToDecimal((d + (m / 60) + (s / 3600)) * (d < 0 ? -1 : 1));
 
        }
 
 
        // add marker from an APRS transmission - MDKEdit
 
        private void addMarkerFromTransmit(string lat, string lng)
 
        private void addTrackerMarker(string lat, string lng)
 
        {
 
 
            double latitude = double.Parse(lat), longitude = double.Parse(lng);
 
            PointLatLng APRSloc = new PointLatLng();
 
            APRSloc.Lat = conv_coords((float)latitude);
 
            APRSloc.Lng = conv_coords((float)longitude)*-1;
 
 
            GMarkerGoogle m = new GMarkerGoogle(APRSloc, GMarkerGoogleType.blue_small);
 
 
            Placemark? p = null;
 
            if (xboxPlacemarkInfo.Checked)
 
            {
 
                GeoCoderStatusCode status;
 
                var ret = GMapProviders.GoogleMap.GetPlacemark(currentMarker.Position, out status);
 
                if (status == GeoCoderStatusCode.G_GEO_SUCCESS && ret != null)
 
                {
 
                    p = ret;
 
                }
 
            }
 
 
            m.ToolTipText = "Tracker";
 
            m.ToolTipMode = MarkerTooltipMode.Always;
 
            objects.Markers.Add(m);
 
        }
 
        #endregion
 
 
        #region cross theading
 
 
        //places text in the message box
 
        delegate void SetTextDelegate(string value);
 
        public void AddTextDelegate(string value)
 
        {
 
            if (InvokeRequired)
 
            {
 
                Invoke(new SetTextDelegate(AddTextDelegate), value);
 
            }
 
            else
 
            {
 
                tboxMessageBox.AppendText(value);// += value;
 
                textBoxMarkerCount.Text = objects.Markers.Count.ToString();
 
            }
 
        }
 
 
        //this is where most of the transmission processing is done
 
        delegate void ChartDataDelegate(string dataType, string data);
 
        public void ChartDelegate(string dataType, string data)
 
        {
 
            if (InvokeRequired)
 
            {
 
                Invoke(new ChartDataDelegate(ChartDelegate), dataType, data);
 
            }
 
            else
 
            {
 
                if (firstTransmissionDatum)
 
                {
 
                    ClearTboxColor();
 
                }
 
                ///UNIVERSAL DATA TYPES
 
                if (dataType.Equals("t"))  //board temperature
 
                {
 
                    string dataString = data.ToString();
 
                    if (dataString.StartsWith("9")) //Master Module
 
                    {
 
                        tboxMasterBoardTemp.Text = dataString.Substring(1);
 
                        tboxMasterBoardTemp.BackColor = Color.Chartreuse;
 
                    }
 
                    else if (dataString.StartsWith("0")) //Atmo Module
 
                    {
 
                        tboxAtmoBoardTemp.Text = dataString.Substring(1);
 
                        tboxAtmoBoardTemp.BackColor = Color.Chartreuse;
 
                    }
 
                    else if (dataString.StartsWith("1")) //Geiger Module
 
                    {
 
                        tboxGeigerBoardTemp.Text = dataString.Substring(1);
 
                        tboxGeigerBoardTemp.BackColor = Color.Chartreuse;
 
@@ -2790,131 +2860,135 @@ namespace Demo.WindowsForms
 
                    {
 
                        tboxMasterBatteryLevel.Text = dataString.Substring(1);
 
                        tboxMasterBatteryLevel.BackColor = Color.Chartreuse;
 
                    }
 
                    else if (dataString.StartsWith("0")) //Atmo Module
 
                    {
 
                        tboxAtmoBatteryLevel.Text = dataString.Substring(1);
 
                        tboxAtmoBatteryLevel.BackColor = Color.Chartreuse;
 
                    }
 
                    else if (dataString.StartsWith("1"))  //Geiger Module
 
                    {
 
                        tboxGeigerBatteryLevel.Text = dataString.Substring(1);
 
                        tboxGeigerBatteryLevel.BackColor = Color.Chartreuse;
 
                    }
 
                    else if (dataString.StartsWith("2")) //Camera Module
 
                    {
 
                        tboxCameraBatteryLevel.Text = dataString.Substring(1);
 
                        tboxCameraBatteryLevel.BackColor = Color.Chartreuse;
 
                    }
 
                }
 
                else if (dataType.Equals("i")) //Info Message
 
                {
 
                    AddTextDelegate("Info: " + data + "\r\n");
 
                }
 
                
 
                ///MASTER MODULE DATA TYPES
 
                else if (dataType.Equals("_"))  //latitude
 
                {
 
                    //TODO: check math and decimal placement
 
                    latitude += data.ToString();
 
                    tboxMasterLatitude.Text = latitude;
 
                    tboxMasterLatitude.BackColor = Color.Chartreuse;
 
                }
 
                else if (dataType.Equals("|"))  //longitude
 
                {
 
                    //TODO: check math and decimal placement
 
                    longitude += data.ToString();
 
                    tboxMasterLongitude.Text = longitude;
 
                    tboxMasterLongitude.BackColor = Color.Chartreuse;
 
                }
 
                else if (dataType.Equals("h"))  //HDOP
 
                {
 
                    tboxMasterHDOP.Text = data.ToString();
 
                    tboxMasterHDOP.BackColor = Color.Chartreuse;
 
                }
 
                else if (dataType.Equals("v"))  //Velocity
 
                {
 
                    chrtBottomRight.Series.FindByName("velocityTrend").Points.AddY(double.Parse(data));
 
                    velocitySum += double.Parse(data);
 
                    tboxMasterVelocity.Text = data.ToString();
 
                    tboxMasterVelocity.BackColor = Color.Chartreuse;
 
                }
 
                else if (dataType.Equals("s"))  //satellites in view
 
                {
 
                    tboxMasterSatellites.Text = data.ToString();
 
                    tboxMasterSatellites.BackColor = Color.Chartreuse;
 
                }
 
 
                ///ATMOSPHERIC MODULE DATA VALUES
 
                else if (dataType.Equals("C"))  //Air Temperature
 
                {
 
                    tboxAtmoAirTemp.Text = data.ToString();
 
                    tboxAtmoAirTemp.BackColor = Color.Chartreuse;
 
                }
 
                else if (dataType.Equals("L"))  //Ambient Light
 
                {
 
                    tboxAtmoLight.Text = data.ToString();
 
                    tboxAtmoLight.BackColor = Color.Chartreuse;
 
                }
 
                else if (dataType.Equals("H"))  //Humidity
 
                {
 
                    chrtTopRight.Series.FindByName("humidityTrend").Points.AddY(double.Parse(data));
 
                    humiditySum += double.Parse(data);
 
                    tboxAtmoHumidity.Text = data.ToString();
 
                    tboxAtmoHumidity.BackColor = Color.Chartreuse;
 
                }
 
                else if (dataType.Equals("P"))  //Pressure
 
                {
 
                    chrtBottomLeft.Series.FindByName("pressureTrend").Points.AddY(double.Parse(data));
 
                    pressureSum += double.Parse(data);
 
                    tboxAtmoPressure.Text = data.ToString();
 
                    tboxAtmoPressure.BackColor = Color.Chartreuse;
 
                }
 
                else if (dataType.Equals("A"))  //Altitude
 
                {
 
                    chrtTopLeft.Series.FindByName("altitudeTrend").Points.AddY(double.Parse(data));
 
                    altitudeSum += double.Parse(data);
 
                    tboxAtmoAltitude.Text = data.ToString();
 
                    tboxAtmoAltitude.BackColor = Color.Chartreuse;
 
                }
 
                
 
                ///GEIGER MODULE DATA VALUES
 
                else if (dataType.Equals("R"))  //radiation (CPM)
 
                {
 
                    tboxGeigerRads.Text = data.ToString();
 
                    tboxGeigerRads.BackColor = Color.Chartreuse;
 
                }
 
 
                /// CAMERA MODULE DATA VALUES
 
 
                //INVALID DATA TYPE
 
                else
 
                {
 
                    AddTextDelegate("Info: " + data + "\r\n");
 
                }
 
            }
 
        }
 
 
        private void ClearTboxColor()
 
        {
 
            //tboxAtmoHumidity.BorderStyle = BorderStyle.FixedSingle;
 
            tboxMasterBoardTemp.BackColor = Color.White;
 
            tboxAtmoBoardTemp.BackColor = Color.White;
 
            tboxGeigerBoardTemp.BackColor = Color.White;
 
            tboxCameraBoardTemp.BackColor = Color.White;
 
            tboxMasterBatteryLevel.BackColor = Color.White;
 
            tboxAtmoBatteryLevel.BackColor = Color.White;
 
            tboxGeigerBatteryLevel.BackColor = Color.White;
 
            tboxCameraBatteryLevel.BackColor = Color.White;
 
            tboxMasterLatitude.BackColor = Color.White;
 
            tboxMasterLongitude.BackColor = Color.White;
 
            tboxMasterHDOP.BackColor = Color.White;
 
            tboxMasterVelocity.BackColor = Color.White;
 
            tboxMasterSatellites.BackColor = Color.White;
 
            tboxAtmoAirTemp.BackColor = Color.White;
 
            tboxAtmoLight.BackColor = Color.White;
 
            tboxAtmoHumidity.BackColor = Color.White;
 
            tboxAtmoPressure.BackColor = Color.White;
 
            tboxAtmoAltitude.BackColor = Color.White;
 
            tboxGeigerRads.BackColor = Color.White;
 
            return;
 
        }
 
 
        #endregion
 
 
@@ -2948,48 +3022,50 @@ namespace Demo.WindowsForms
 
                    testData = "KD8TDF-9>APRS,WIDE2-1:/151916z" + testLat + "N/" + testLng + "WO005/0.013 V" + testVelocity + " A" + testAltitude + " H" + testHumidity + " P" + testPressure;
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 3:
 
                    testData = "KD8TDF-9>APRS,WIDE2-1:/151916z" + testLat + "N/" + testLng + "WO005/0.013 V" + testVelocity + " A" + testAltitude + " H" + testHumidity + " P" + testPressure;
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 4:
 
                    testData = "KD8TDF-9>APRS,WIDE2-1:/151916z" + testLat + "N/" + testLng + "WO005/0.013 V" + testVelocity + " A" + testAltitude + " H" + testHumidity + " P" + testPressure;
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 5:
 
                    testData = "KD8TDF-9>APRS,WIDE2-1:/151916z" + testLat + "N/" + testLng + "WO005/0.013 V" + testVelocity + " A" + testAltitude + " H" + testHumidity + " P" + testPressure;
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 6:
 
                    testData = "KD8TDF-9>APRS,WIDE2-1:/151916z" + testLat + "N/" + testLng + "WO005/0.013 V" + testVelocity + " A" + testAltitude + " H" + testHumidity + " P" + testPressure;
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 7:
 
                    testData = "KD8TDF-9>APRS,WIDE2-1:/151916z" + testLat + "N/" + testLng + "WO005/0.013 V" + testVelocity + " A" + testAltitude + " H" + testHumidity + " P" + testPressure;
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 8:
 
                    testData = "KD8TDF-9>APRS,WIDE2-1:/151916z" + testLat + "N/" + testLng + "WO005/0.013 V" + testVelocity + " A" + testAltitude + " H" + testHumidity + " P" + testPressure;
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 9:
 
                    testData = "KD8TDF-9>APRS,WIDE2-1:/151916z" + testLat + "N/" + testLng + "WO005/0.013 V" + testVelocity + " A" + testAltitude + " H" + testHumidity + " P" + testPressure;
 
                    ParseIncomingData(testData);
 
                    break;
 
                default:
 
                    break;
 
            }
 
            testIteration++;
 
        }
 
 
        public double GetRandomNumber(double minimum, double maximum)
 
        {
 
            Random random = new Random();
 
            return random.NextDouble() * (maximum - minimum) + minimum;
 
        }
 
 
        #endregion
 
 
    }
 
}
 
//TODO: CSV logging, offline caching
 
//weekly changes: chart text display, map functionality[routes, layout, markers], 
 
//resume @: start/stop markers clear tracker markers after route clear
 
\ No newline at end of file
0 comments (0 inline, 0 general)