Changeset - f7749bd9aa12
[Not reviewed]
default
0 3 0
mkanning@CL-ENS241-10.cedarville.edu - 13 years ago 2013-04-15 15:15:19
mkanning@CL-ENS241-10.cedarville.edu
added dynamic callsign
3 files changed with 262 insertions and 45 deletions:
0 comments (0 inline, 0 general)
Demo.WindowsForms/Forms/MainForm.Designer.cs
Show inline comments
 
@@ -14,96 +14,100 @@
 
      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.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.gboxRemove = new System.Windows.Forms.GroupBox();
 
            this.btnClearAll = new System.Windows.Forms.Button();
 
            this.btnClearMarkers = new System.Windows.Forms.Button();
 
            this.btnClearRoutes = new System.Windows.Forms.Button();
 
            this.gboxMapItems = new System.Windows.Forms.GroupBox();
 
            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.gboxGmap = new System.Windows.Forms.GroupBox();
 
            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.gboxCoordinates = new System.Windows.Forms.GroupBox();
 
            this.tboxCOMPort = new System.Windows.Forms.TextBox();
 
            this.label33 = new System.Windows.Forms.Label();
 
            this.tboxAPRSCallsign = new System.Windows.Forms.TextBox();
 
            this.label32 = new System.Windows.Forms.Label();
 
            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.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.btnCacheImport = new System.Windows.Forms.Button();
 
            this.textBoxMemory = new System.Windows.Forms.TextBox();
 
            this.checkBoxUseRouteCache = new System.Windows.Forms.CheckBox();
 
            this.btnCacheExport = new System.Windows.Forms.Button();
 
            this.btnCachePrefetch = new System.Windows.Forms.Button();
 
            this.label10 = new System.Windows.Forms.Label();
 
            this.btnCacheClear = new System.Windows.Forms.Button();
 
            this.label13 = new System.Windows.Forms.Label();
 
            this.label14 = new System.Windows.Forms.Label();
 
            this.btnCacheLocationOpen = 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();
 
@@ -332,265 +336,266 @@
 
            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, 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, 25);
 
            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, 0);
 
            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.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, 1);
 
            this.tableLayoutPanel5.Size = new System.Drawing.Size(206, 578);
 
            this.tableLayoutPanel5.TabIndex = 30;
 
            // 
 
            // gboxRemove
 
            // 
 
            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, 450);
 
            this.gboxRemove.Location = new System.Drawing.Point(3, 497);
 
            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(9, 49);
 
            this.btnClearAll.Name = "btnClearAll";
 
            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.btnClearAll_Click);
 
            // 
 
            // btnClearMarkers
 
            // 
 
            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);
 
            // 
 
            // btnClearRoutes
 
            // 
 
            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.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.Location = new System.Drawing.Point(3, 369);
 
            this.gboxMapItems.Name = "gboxMapItems";
 
            this.gboxMapItems.Size = new System.Drawing.Size(200, 122);
 
            this.gboxMapItems.TabIndex = 35;
 
            this.gboxMapItems.TabStop = false;
 
            this.gboxMapItems.Text = "Add Map Item";
 
            // 
 
            // btnAddMarker
 
            // 
 
            this.btnAddMarker.Location = new System.Drawing.Point(9, 79);
 
            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);
 
            // 
 
            // btnSetEnd
 
            // 
 
            this.btnSetEnd.Location = new System.Drawing.Point(97, 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);
 
            // 
 
            // btnSetStart
 
            // 
 
            this.btnSetStart.Location = new System.Drawing.Point(9, 19);
 
            this.btnSetStart.Name = "btnSetStart";
 
            this.btnSetStart.Size = new System.Drawing.Size(82, 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(97, 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);
 
            // 
 
            // gboxGmap
 
            // 
 
            this.gboxGmap.AutoSize = true;
 
            this.gboxGmap.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
 
            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.Location = new System.Drawing.Point(3, 200);
 
            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";
 
            // 
 
            // btnGetStatic
 
            // 
 
            this.btnGetStatic.AutoSize = true;
 
            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 = "Area Image";
 
            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.showGridlines);
 
            // 
 
            // btnSaveView
 
            // 
 
            this.btnSaveView.AutoSize = true;
 
            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(74, 24);
 
            this.btnSaveView.TabIndex = 39;
 
            this.btnSaveView.Text = "Create PNG";
 
            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);
 
@@ -611,240 +616,279 @@
 
            // 
 
            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);
 
            // 
 
            // gboxCoordinates
 
            // 
 
            this.gboxCoordinates.AutoSize = true;
 
            this.gboxCoordinates.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
 
            this.gboxCoordinates.Controls.Add(this.tboxCOMPort);
 
            this.gboxCoordinates.Controls.Add(this.label33);
 
            this.gboxCoordinates.Controls.Add(this.tboxAPRSCallsign);
 
            this.gboxCoordinates.Controls.Add(this.label32);
 
            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.Size = new System.Drawing.Size(200, 191);
 
            this.gboxCoordinates.TabIndex = 28;
 
            this.gboxCoordinates.TabStop = false;
 
            this.gboxCoordinates.Text = "coordinates";
 
            // 
 
            // tboxCOMPort
 
            // 
 
            this.tboxCOMPort.Location = new System.Drawing.Point(87, 127);
 
            this.tboxCOMPort.Name = "tboxCOMPort";
 
            this.tboxCOMPort.Size = new System.Drawing.Size(100, 20);
 
            this.tboxCOMPort.TabIndex = 42;
 
            this.tboxCOMPort.Text = "1";
 
            // 
 
            // label33
 
            // 
 
            this.label33.AutoSize = true;
 
            this.label33.Location = new System.Drawing.Point(25, 130);
 
            this.label33.Name = "label33";
 
            this.label33.Size = new System.Drawing.Size(53, 13);
 
            this.label33.TabIndex = 41;
 
            this.label33.Text = "COM Port";
 
            // 
 
            // tboxAPRSCallsign
 
            // 
 
            this.tboxAPRSCallsign.Location = new System.Drawing.Point(87, 101);
 
            this.tboxAPRSCallsign.Name = "tboxAPRSCallsign";
 
            this.tboxAPRSCallsign.Size = new System.Drawing.Size(100, 20);
 
            this.tboxAPRSCallsign.TabIndex = 40;
 
            this.tboxAPRSCallsign.Text = "KD8TDF-11";
 
            // 
 
            // label32
 
            // 
 
            this.label32.AutoSize = true;
 
            this.label32.Location = new System.Drawing.Point(6, 104);
 
            this.label32.Name = "label32";
 
            this.label32.Size = new System.Drawing.Size(75, 13);
 
            this.label32.TabIndex = 39;
 
            this.label32.Text = "APRS Callsign";
 
            // 
 
            // btnZoomCenter
 
            // 
 
            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.Location = new System.Drawing.Point(6, 101);
 
            this.btnReload.Location = new System.Drawing.Point(6, 148);
 
            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.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(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.Location = new System.Drawing.Point(86, 153);
 
            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;
 
            this.cboxCollectData.Click += new System.EventHandler(this.cboxCollectData_Click);
 
            // 
 
            // lblLat
 
            // 
 
            this.lblLat.AutoSize = true;
 
            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";
 
            // 
 
            // 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, 1);
 
            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, 1);
 
            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, -26);
 
            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
 
            // 
 
@@ -963,153 +1007,152 @@
 
            this.label4.TabIndex = 7;
 
            this.label4.Text = "lng:";
 
            // 
 
            // textBoxLatCurrent
 
            // 
 
            this.textBoxLatCurrent.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.textBoxLatCurrent.Font = new System.Drawing.Font("Microsoft Sans Serif", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
 
            this.textBoxLatCurrent.Location = new System.Drawing.Point(18, 32);
 
            this.textBoxLatCurrent.Name = "textBoxLatCurrent";
 
            this.textBoxLatCurrent.ReadOnly = true;
 
            this.textBoxLatCurrent.Size = new System.Drawing.Size(220, 28);
 
            this.textBoxLatCurrent.TabIndex = 4;
 
            this.textBoxLatCurrent.Text = "...";
 
            // 
 
            // label5
 
            // 
 
            this.label5.AutoSize = true;
 
            this.label5.Location = new System.Drawing.Point(18, 16);
 
            this.label5.Name = "label5";
 
            this.label5.Size = new System.Drawing.Size(21, 13);
 
            this.label5.TabIndex = 6;
 
            this.label5.Text = "lat:";
 
            // 
 
            // xPanderPanelCache
 
            // 
 
            this.xPanderPanelCache.CaptionFont = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Bold);
 
            this.xPanderPanelCache.Controls.Add(this.tableLayoutPanel1);
 
            this.xPanderPanelCache.CustomColors.BackColor = System.Drawing.SystemColors.Control;
 
            this.xPanderPanelCache.CustomColors.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(184)))), ((int)(((byte)(184)))));
 
            this.xPanderPanelCache.CustomColors.CaptionCheckedGradientBegin = System.Drawing.Color.Empty;
 
            this.xPanderPanelCache.CustomColors.CaptionCheckedGradientEnd = System.Drawing.Color.Empty;
 
            this.xPanderPanelCache.CustomColors.CaptionCheckedGradientMiddle = System.Drawing.Color.Empty;
 
            this.xPanderPanelCache.CustomColors.CaptionCloseIcon = System.Drawing.SystemColors.ControlText;
 
            this.xPanderPanelCache.CustomColors.CaptionExpandIcon = System.Drawing.SystemColors.ControlText;
 
            this.xPanderPanelCache.CustomColors.CaptionGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(252)))));
 
            this.xPanderPanelCache.CustomColors.CaptionGradientEnd = System.Drawing.SystemColors.ButtonFace;
 
            this.xPanderPanelCache.CustomColors.CaptionGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(248)))), ((int)(((byte)(248)))));
 
            this.xPanderPanelCache.CustomColors.CaptionPressedGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.xPanderPanelCache.CustomColors.CaptionPressedGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.xPanderPanelCache.CustomColors.CaptionPressedGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.xPanderPanelCache.CustomColors.CaptionSelectedGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.xPanderPanelCache.CustomColors.CaptionSelectedGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.xPanderPanelCache.CustomColors.CaptionSelectedGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
 
            this.xPanderPanelCache.CustomColors.CaptionSelectedText = System.Drawing.SystemColors.ControlText;
 
            this.xPanderPanelCache.CustomColors.CaptionText = System.Drawing.SystemColors.ControlText;
 
            this.xPanderPanelCache.CustomColors.FlatCaptionGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(248)))), ((int)(((byte)(248)))));
 
            this.xPanderPanelCache.CustomColors.FlatCaptionGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(252)))));
 
            this.xPanderPanelCache.CustomColors.InnerBorderColor = System.Drawing.SystemColors.Window;
 
            this.xPanderPanelCache.Expand = true;
 
            this.xPanderPanelCache.ForeColor = System.Drawing.SystemColors.ControlText;
 
            this.xPanderPanelCache.Image = null;
 
            this.xPanderPanelCache.IsClosable = false;
 
            this.xPanderPanelCache.Margin = new System.Windows.Forms.Padding(2);
 
            this.xPanderPanelCache.Name = "xPanderPanelCache";
 
            this.xPanderPanelCache.PanelStyle = BSE.Windows.Forms.PanelStyle.Office2007;
 
            this.xPanderPanelCache.Size = new System.Drawing.Size(258, 605);
 
            this.xPanderPanelCache.Size = new System.Drawing.Size(258, 25);
 
            this.xPanderPanelCache.TabIndex = 4;
 
            this.xPanderPanelCache.Text = "cache";
 
            this.xPanderPanelCache.ToolTipTextCloseIcon = null;
 
            this.xPanderPanelCache.ToolTipTextExpandIconPanelCollapsed = null;
 
            this.xPanderPanelCache.ToolTipTextExpandIconPanelExpanded = null;
 
            // 
 
            // tableLayoutPanel1
 
            // 
 
            this.tableLayoutPanel1.ColumnCount = 3;
 
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 15F));
 
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
 
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 15F));
 
            this.tableLayoutPanel1.Controls.Add(this.textBoxCacheSize, 1, 12);
 
            this.tableLayoutPanel1.Controls.Add(this.textBoxCacheStatus, 1, 15);
 
            this.tableLayoutPanel1.Controls.Add(this.btnCacheImport, 1, 1);
 
            this.tableLayoutPanel1.Controls.Add(this.textBoxMemory, 1, 9);
 
            this.tableLayoutPanel1.Controls.Add(this.checkBoxUseRouteCache, 1, 17);
 
            this.tableLayoutPanel1.Controls.Add(this.btnCacheExport, 1, 2);
 
            this.tableLayoutPanel1.Controls.Add(this.btnCachePrefetch, 1, 3);
 
            this.tableLayoutPanel1.Controls.Add(this.label10, 1, 8);
 
            this.tableLayoutPanel1.Controls.Add(this.btnCacheClear, 1, 5);
 
            this.tableLayoutPanel1.Controls.Add(this.label13, 1, 14);
 
            this.tableLayoutPanel1.Controls.Add(this.label14, 1, 11);
 
            this.tableLayoutPanel1.Controls.Add(this.btnCacheLocationOpen, 1, 6);
 
            this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.tableLayoutPanel1.Location = new System.Drawing.Point(1, 25);
 
            this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(2);
 
            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
 
            this.tableLayoutPanel1.RowCount = 19;
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 16F));
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 16F));
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 16F));
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 16F));
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 16F));
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
 
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
 
            this.tableLayoutPanel1.Size = new System.Drawing.Size(256, 580);
 
            this.tableLayoutPanel1.Size = new System.Drawing.Size(256, 0);
 
            this.tableLayoutPanel1.TabIndex = 41;
 
            // 
 
            // textBoxCacheSize
 
            // 
 
            this.textBoxCacheSize.Dock = System.Windows.Forms.DockStyle.Top;
 
            this.textBoxCacheSize.Font = new System.Drawing.Font("Microsoft Sans Serif", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
 
            this.textBoxCacheSize.Location = new System.Drawing.Point(18, 238);
 
            this.textBoxCacheSize.Name = "textBoxCacheSize";
 
            this.textBoxCacheSize.ReadOnly = true;
 
            this.textBoxCacheSize.Size = new System.Drawing.Size(220, 28);
 
            this.textBoxCacheSize.TabIndex = 49;
 
            this.textBoxCacheSize.Text = "...";
 
            // 
 
            // textBoxCacheStatus
 
            // 
 
            this.textBoxCacheStatus.Dock = System.Windows.Forms.DockStyle.Top;
 
            this.textBoxCacheStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
 
            this.textBoxCacheStatus.Location = new System.Drawing.Point(18, 301);
 
            this.textBoxCacheStatus.Name = "textBoxCacheStatus";
 
            this.textBoxCacheStatus.ReadOnly = true;
 
            this.textBoxCacheStatus.Size = new System.Drawing.Size(220, 28);
 
            this.textBoxCacheStatus.TabIndex = 46;
 
            this.textBoxCacheStatus.Text = "...";
 
            // 
 
            // btnCacheImport
 
            // 
 
            this.btnCacheImport.Dock = System.Windows.Forms.DockStyle.Fill;
 
            this.btnCacheImport.Location = new System.Drawing.Point(18, 19);
 
            this.btnCacheImport.Name = "btnCacheImport";
 
            this.btnCacheImport.Size = new System.Drawing.Size(220, 20);
 
            this.btnCacheImport.TabIndex = 5;
 
            this.btnCacheImport.Text = "Import";
 
            this.btnCacheImport.UseVisualStyleBackColor = true;
 
            this.btnCacheImport.Click += new System.EventHandler(this.btnCacheImport_Click);
 
            // 
 
            // textBoxMemory
 
            // 
 
            this.textBoxMemory.Dock = System.Windows.Forms.DockStyle.Top;
 
            this.textBoxMemory.Font = new System.Drawing.Font("Microsoft Sans Serif", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
 
            this.textBoxMemory.Location = new System.Drawing.Point(18, 175);
 
            this.textBoxMemory.Name = "textBoxMemory";
 
            this.textBoxMemory.ReadOnly = true;
 
            this.textBoxMemory.Size = new System.Drawing.Size(220, 28);
 
            this.textBoxMemory.TabIndex = 39;
 
            this.textBoxMemory.Text = "...";
 
            // 
 
            // checkBoxUseRouteCache
 
            // 
 
@@ -2143,53 +2186,57 @@
 
      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;
 
      private System.Windows.Forms.TextBox tboxAPRSCallsign;
 
      private System.Windows.Forms.Label label32;
 
      private System.Windows.Forms.TextBox tboxCOMPort;
 
      private System.Windows.Forms.Label label33;
 
 
 
   }
 
}
 
Demo.WindowsForms/Forms/MainForm.cs
Show inline comments
 
@@ -1016,161 +1016,161 @@ namespace Demo.WindowsForms
 
        {
 
            ResetChartColors();
 
            chrtBottomLeft.BackColor = Color.Gray;
 
            tboxChartData.Text = "Pressure";
 
            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 and set text box values based on this chart
 
        private void chrtBottomRight_Click(object sender, EventArgs e)
 
        {
 
            ResetChartColors();
 
            chrtBottomRight.BackColor = Color.Gray;
 
            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.ChartAreas.Add("pressureArea");
 
            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");
 
 
            ///required initial value
 
            chrtBottomLeft.Series["pressureTrend"].Points.AddXY(0, 100000);
 
            //-----------prep pressure area END
 
 
 
            //----------prep velocity area BEGIN
 
            chrtBottomRight.Series["velocityTrend"].ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
 
            chrtBottomRight.Series["velocityTrend"].Color = Color.Green;
 
            System.Windows.Forms.DataVisualization.Charting.AxisName.X.Equals("Time");
 
            System.Windows.Forms.DataVisualization.Charting.AxisName.Y.Equals("Altitude");
 
 
            ///required initial value
 
            chrtBottomRight.Series["velocityTrend"].Points.AddXY(0, 0);
 
            //----------prep velocity area END
 
 
            //put chart displays in a ready state
 
            ResetChartColors();
 
        }
 
        
 
        //parses transmissions and saves data to CSV file
 
        public void ParseIncomingData(string rawDataReceived)
 
        {
 
            //check to see if data should be processed
 
            if (!cboxCollectData.Checked )
 
            {
 
                AddTextDelegate("Transmission not saved: " + rawDataReceived +"\r\n");
 
                return;
 
            }
 
            else if (!rawDataReceived.StartsWith("KD8TDF"))
 
            else if (!rawDataReceived.StartsWith(callsign)) //reject other callsigns
 
            {
 
                AddTextDelegate("Foreign transmission: " + rawDataReceived + "\r\n");
 
                return;
 
            }
 
 
            /* sample stansmissions
 
             * KD8TDF-9>APRS,WIDE2-1:/191950zN/WO/ T79 S00 V H99.99 _ |
 
             * KD8TDF-9>APRS,WIDE2-1:/151916z3944.87N/08348.75WO005/0.013 SV:09 A-30.5 B45.64 C99542
 
             */
 
 
            //find and store latitude string
 
            int indexStart = rawDataReceived.IndexOf("z");
 
            int indexEnd = rawDataReceived.IndexOf("N/");
 
            latitude = rawDataReceived.Substring(indexStart + 1, indexEnd - indexStart - 1);
 
 
            //find and store longitude string
 
            indexStart = rawDataReceived.IndexOf("N/");
 
            indexEnd = rawDataReceived.IndexOf("WO");
 
            longitude = rawDataReceived.Substring(indexStart + 2, indexEnd - indexStart - 2);
 
            
 
            //remove APRS overhead from string
 
            string transmissionCommentField = rawDataReceived.Substring(rawDataReceived.IndexOf(" ") + 1); 
 
 
            //place each datum in its own variable
 
            string[] dataTransmission;
 
            dataTransmission = transmissionCommentField.Split('~');
 
 
            //variables for processing datums
 
            string typeCode;
 
            string data;
 
            string csvData = "";
 
            string testString = "";
 
 
            //loop through all datums in the transmission and send them to the chart builder
 
            for (int i = 1; i < dataTransmission.Length; i++)
 
            {
 
                if (i == 1)
 
                {
 
                    firstTransmissionDatum = true;
 
                }
 
                else
 
                {
 
                    firstTransmissionDatum = false;
 
                }
 
 
                //remove unwanted characters
 
                dataTransmission[i] = dataTransmission[i].Trim();
 
 
@@ -1220,96 +1220,129 @@ namespace Demo.WindowsForms
 
        {
 
            //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 -- usually seniordesign-ui\Demo.WindowsForms\bin\Debug
 
        private void WriteToCSV(string data)
 
        {
 
            string path = Directory.GetCurrentDirectory();
 
            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;
 
        }
 
 
        // add marker from an APRS transmission - MDKEdit
 
        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);
 
 
            m.ToolTipText = "Tracker";
 
            m.ToolTipMode = MarkerTooltipMode.OnMouseOver;
 
            objects.Markers.Add(m);
 
        }
 
 
        int comPort = 0;
 
        string callsign;
 
        private void cboxCollectData_Click(object sender, EventArgs e)
 
        {
 
            //sets comPort and callsign, uncheck if parse does not work
 
            if (int.TryParse(tboxCOMPort.Text, out comPort))
 
            {
 
                callsign = tboxAPRSCallsign.Text;
 
            }
 
            else
 
            {
 
                cboxCollectData.Checked = false;
 
            } 
 
            
 
            //disable callsign and port edits while collecting transmissions
 
            tboxAPRSCallsign.Enabled = !cboxCollectData.Checked;
 
            tboxCOMPort.Enabled = !cboxCollectData.Checked;
 
        }
 
 
        //sets and opens the COM port
 
        delegate void SetSerialDelegate(int COM);
 
        public void setSerialPort(int COM)
 
        {
 
            if (InvokeRequired)
 
            {
 
                Invoke(new SetSerialDelegate(setSerialPort), COM);
 
            }
 
            else
 
            {
 
                
 
            }
 
        }
 
 
        //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;
 
                    }
 
@@ -1415,125 +1448,262 @@ namespace Demo.WindowsForms
 
                }
 
                
 
                ///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
 
 
        #region testing
 
        
 
        //click event on the test button
 
        //currently simulates serial inputs
 
        string testData;
 
        int testIteration = 0;
 
        double testLat = 39.751248, testLng = -83.809848, testVelocity = 5.8, testAltitude = 100, testPressure = 700, testHumidity = 38;
 
        private void btnTest_Click(object sender, EventArgs e)
 
        {
 
            testLat += GetRandomNumber(-.005, .015);
 
            testLng += GetRandomNumber(-.005, .015);
 
            testVelocity += GetRandomNumber(1, 15);
 
            testAltitude += GetRandomNumber(50, 150);
 
            testPressure -= GetRandomNumber(10, 50);
 
            testHumidity -= GetRandomNumber(1, 3);
 
 
            switch (testIteration)
 
            {
 
                case 0:
 
                    testData = "KD8TDF-9>APRS,WIDE2-1:/151916z" + testLat + "N/" + testLng + "WO005/0.013 V" + testVelocity + " A" + testAltitude+" H"+testHumidity+" P"+testPressure;
 
                    testData = "KD8TDF-11>APRS,N8NQH-1,WIDE2*:/051919z3921.07N/08357.76WO63.36/41.178 ~v41.178~_937~|229~t929~s10~h0.79~t024~l056~t111~l10~P3411~C0~H999~A69147";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 1:
 
                    testData = "KD8TDF-9>APRS,WIDE2-1:/151916z" + testLat + "N/" + testLng + "WO005/0.013 V" + testVelocity + " A" + testAltitude + " H" + testHumidity + " P" + testPressure;
 
                    testData = "KD8TDF-11>APRS,N8NQH-1,WIDE2*:/051919z3921.20N/08357.31WO72.82/44.951 ~v44.951~_836~|685";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 2:
 
                    testData = "KD8TDF-9>APRS,WIDE2-1:/151916z" + testLat + "N/" + testLng + "WO005/0.013 V" + testVelocity + " A" + testAltitude + " H" + testHumidity + " P" + testPressure;
 
                    testData = "KD8TDF-11>APRS,N8NQH-1,WIDE2*:/051921z3921.71N/08355.84WO68.07/35.951 ~v35.951~_022~|024~t929~s10~h0.79~t022~l057~t111~l10~P3147~C0~H999~A70308";
 
                    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;
 
                    testData = "KD8TDF-11>APRS,WC8EMA,WIDE2*:/051921z3921.71N/08355.84WO68.07/35.951 ~v35.951~_022~|024~t929~s10~h0.79~t022~l057~t111~l10~P3147~C0~H999~A70308";
 
                    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;
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051923z3922.04N/08354.25WO86.93/42.990 ~v42.990~_349~|968";
 
                    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;
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051924z3922.21N/08353.23WO84.56/30.156 ~v30.156~_164~|009";
 
                    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;
 
                    testData = "KD8TDF-11>APRS,WC8EMA,WIDE2*:/051924z3922.21N/08353.23WO84.56/30.156 ~v30.156~_164~|009";
 
                    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;
 
                    testData = "KD8TDF-11>APRS,WC8EMA,WIDE2*:/051925z3922.29N/08352.75WO70.13/40.926 ~v40.926~_762~|813~t930~s11~h0.74~t024~l056~t111~l10~P2814~C0~H999~A71889";
 
                    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;
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051928z3922.77N/08349.49WO80.58/48.331 ~v48.331~_045~|896~t930~s11~h0.73~t024~l056~t113~l10~P3205~C0~H999~A70046";
 
                    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;
 
                    testData = "KD8TDF-11>APRS,N8NQH-1,WIDE2*:/051928z3922.77N/08349.49WO80.58/48.331 ~v48.331~_045~|896~t930~s11~h0.73~t024~l056~t113~l10~P3205~C0~H999~A70046";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 10:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051933z3923.24N/08346.56WO103.57/31.550 ~v31.550~_165~|142~t930~s10~h0.78~t022~l056~t113~l10~P7153~C0~H999~A57607";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 11:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051934z3923.38N/08345.75WO87.77/44.916 ~v44.916~_934~|738~t932~s10~h0.78~t022~l056~t113~l10~P8471~C0~H999~A54733";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 12:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051935z3923.42N/08345.41WO84.64/25.176 ~v25.176~_260~|774";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 13:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051937z3923.33N/08342.85WO87.66/35.760 ~v35.760~_489~|460~t929~s10~h0.87~t020~l056~t110~l10~P13239~C0~H999~A46693";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 14:
 
                    testData = "KD8TDF-11>APRS,WC8EMA,WIDE2*:/051937z3923.33N/08342.85WO87.66/35.760 ~v35.760~_489~|460~t929~s10~h0.87~t020~l056~t110~l10~P13239~C0~H999~A46693";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 15:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051938z3923.30N/08342.29WO93.89/39.613 ~v39.613~_208~|441";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 16:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051939z3923.28N/08341.71WO89.80/47.399 ~v47.399~_382~|785~t929~s10~h0.81~t020~l056~t110~l10~P15171~C0~H999~A44101";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 17:
 
                    testData = "KD8TDF-11>APRS,WC8EMA,WIDE2*:/051939z3923.28N/08341.71WO89.80/47.399 ~v47.399~_382~|785~t929~s10~h0.81~t020~l056~t110~l10~P15171~C0~H999~A44101";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 18:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051939z3923.29N/08341.21WO89.68/42.977 ~v42.977~_049~|692";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 19:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051940z3923.17N/08340.68WO104.09/41.096 ~v41.096~_196~|818~t928~s10~h0.81~t019~l056~t18~l10~P17216~C0~H999~A41631";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 20:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051940z3923.08N/08340.12WO99.91/40.414 ~v40.414~_749~|332";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 21:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051941z3923.06N/08339.67WO105.12/26.372 ~v26.372~_625~|764~t928~s10~h0.81~t019~l056~t16~l10~P19373~C0~H999~A39276";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 22:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051942z3922.93N/08339.26WO128.58/35.021 ~v35.021~_092~|564";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 23:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051942z3922.68N/08338.87WO136.93/37.963 ~v37.963~_409~|785~t926~s09~h0.87~t017~l056~t14~l10~P21733~C0~H999~A36927";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 24:
 
                    testData = "KD8TDF-11>APRS,WC8EMA,WIDE2*:/051942z3922.68N/08338.87WO136.93/37.963 ~v37.963~_409~|785~t926~s09~h0.87~t017~l056~t14~l10~P21733~C0~H999~A36927";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 25:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051943z3922.03N/08338.26WO160.38/56.614 ~v56.614~_060~|181~t924~s09~h0.87~t017~l056~t12~l10~P24231~C0~H999~A34657";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 26:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051944z3921.35N/08337.97WO163.68/88.044 ~v88.044~_733~|114";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 27:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051945z3920.52N/08337.69WO165.97/86.908 ~v86.908~_646~|070~t922~s09~h0.87~t015~l056~t11~l10~P26698~C0~H999~A32594";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 28:
 
                    testData = "KD8TDF-11>APRS,WC8EMA,WIDE2*:/051945z3920.52N/08337.69WO165.97/86.908 ~v86.908~_646~|070~t922~s09~h0.87~t015~l056~t11~l10~P26698~C0~H999~A32594";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 29:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051945z3919.65N/08337.35WO155.12/91.951 ~v91.951~_048~|484";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 30:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051946z3918.82N/08337.00WO159.97/90.062 ~v90.062~_362~|669~t920~s09~h0.96~t015~l056~t1-1~l10~P29320~C0~H999~A30566";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 31:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051946z3918.00N/08336.65WO158.88/83.565 ~v83.565~_177~|836";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 32:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051947z3917.24N/08336.30WO160.33/75.922 ~v75.922~_318~|316~t919~s09~h0.96~t013~l056~t11~l10~P31996~C0~H999~A28641";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 33:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051947z3916.50N/08335.94WO162.38/72.423 ~v72.423~_912~|245";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 34:
 
                    testData = "KD8TDF-11>APRS,WC8EMA,WIDE2*:/051947z3916.50N/08335.94WO162.38/72.423 ~v72.423~_912~|245";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 35:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051948z3915.80N/08335.61WO162.44/80.541 ~v80.541~_756~|326~t917~s08~h0.97~t013~l056~t12~l10~P34716~C0~H999~A26813";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 36:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051949z3915.10N/08335.30WO161.20/82.223 ~v82.223~_935~|370";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 37:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051949z3914.43N/08334.98WO159.63/62.921 ~v62.921~_493~|370~t915~s09~h0.89~t011~l056~t14~l10~P37541~C0~H999~A25036";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 38:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051950z3913.80N/08334.71WO164.45/64.565 ~v64.565~_434~|297";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 39:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051950z3913.22N/08334.46WO163.22/57.953 ~v57.953~_077~|680~t915~s09~h0.89~t011~l056~t16~l10~P40480~C0~H999~A23294";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 40:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051951z3912.62N/08334.20WO162.48/62.928 ~v62.928~_018~|886";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 41:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051952z3912.09N/08333.98WO158.93/62.192 ~v62.192~_550~|711~t913~s09~h0.90~t010~l056~t14~l10~P43509~C0~H999~A21607";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 42:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051952z3911.55N/08333.74WO160.42/53.084 ~v53.084~_827~|212";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 43:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051953z3911.02N/08333.46WO157.50/60.661 ~v60.661~_647~|296~t913~s09~h0.90~t010~l056~t12~l10~P46544~C0~H999~A20007";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 44:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051953z3910.49N/08333.21WO150.50/52.105 ~v52.105~_520~|688";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 45:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051954z3910.04N/08332.97WO146.63/42.412 ~v42.412~_652~|898~t911~s09~h0.99~t010~l056~t12~l10~P49829~C0~H999~A18370";
 
                    ParseIncomingData(testData);
 
                    break;
 
                case 46:
 
                    testData = "KD8TDF-11>APRS,WIDE2-1:/051955z3909.67N/08332.70WO147.20/47.361 ~v47.361~_446~|617";
 
                    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], find/remove unused code, 
 
//                  figured out caching but still needs to be tested
 
 
                  
 
\ No newline at end of file
Demo.WindowsForms/Source/Program.cs
Show inline comments
 
using System;
 
using System.Collections;
 
using System.Collections.Generic;
 
using System.Diagnostics;
 
using System.Net;
 
using System.Net.NetworkInformation;
 
using System.Runtime.InteropServices;
 
using System.Text;
 
using System.Windows.Forms;
 
using System.IO;
 
using System.IO.Ports;
 
using System.Threading;
 
 
namespace Demo.WindowsForms
 
{
 
   class Program
 
   {
 
      /// <summary>
 
      /// The main entry point for the application.
 
      /// </summary>
 
      /// 
 
       // Instantiate the communications port 
 
       private SerialPort port = new SerialPort("COM5", 9600, Parity.None, 8, StopBits.One);
 
        public SerialPort port = new SerialPort("COM1", 9600, Parity.None, 8, StopBits.One);
 
       static MainForm windowGUI;
 
 
      [STAThread]
 
      static void Main()
 
      {
 
          Application.SetCompatibleTextRenderingDefault(false);
 
          var program = new Program();
 
          windowGUI = new MainForm();
 
          program.SerialInitialize();
 
         Application.EnableVisualStyles();
 
 
         Application.Run(windowGUI);
 
      }
 
 
      //inits the serial port and event handler
 
      private void SerialInitialize()
 
        public void SerialInitialize()
 
      {
 
          // http://msmvps.com/blogs/coad/archive/2005/03/23/SerialPort-_2800_RS_2D00_232-Serial-COM-Port_2900_-in-C_2300_-.NET.aspx
 
          // Attach a method to be called when there is data waiting in the port's buffer
 
          port.DataReceived += new SerialDataReceivedEventHandler(ReceiveData);
 
 
          // Open the port for communications
 
          port.Open();
 
 
      }
 
 
      //process received data
 
      private void ReceiveData(object sender, SerialDataReceivedEventArgs e)
 
        public void ReceiveData(object sender, SerialDataReceivedEventArgs e)
 
      {
 
          // Show all the incoming data in the port's buffer
 
          string testChk = port.ReadLine();
 
          windowGUI.ParseIncomingData(testChk);
 
      }
 
   }
 
 
   public class Dummy
 
   {
 
    //public class Dummy
 
    //{
 
 
   }
 
    //} - removed 4-15
 
 
   class IpInfo
 
   {
 
      public string Ip;
 
      //public int Port;
 
      //public TcpState State;
 
      //public string ProcessName;
 
 
      public string CountryName;
 
      public string RegionName;
 
      public string City;
 
      public double Latitude;
 
      public double Longitude;
 
      public DateTime CacheTime;
 
 
      //public DateTime StatusTime;
 
      //public bool TracePoint;
 
   }
 
 
   struct IpStatus
 
   {
 
      private string countryName;
 
      public string CountryName
 
      {
 
         get
 
         {
 
            return countryName;
 
         }
 
         set
 
         {
 
            countryName = value;
 
         }
 
      }
 
 
      private int connectionsCount;
 
      public int ConnectionsCount
 
      {
 
         get
 
         {
 
            return connectionsCount;
 
         }
 
         set
 
         {
 
            connectionsCount = value;
 
         }
 
      }
 
   }
 
0 comments (0 inline, 0 general)