diff --git a/Demo.WindowsForms/Forms/MainForm.cs b/Demo.WindowsForms/Forms/MainForm.cs --- a/Demo.WindowsForms/Forms/MainForm.cs +++ b/Demo.WindowsForms/Forms/MainForm.cs @@ -2561,10 +2561,10 @@ namespace Demo.WindowsForms public void ParseIncomingData(string rawDataReceived) { //check to see if data should be processed - if (!cboxCollectData.Checked) - { - return; - } + //if (!cboxCollectData.Checked) + //{ + // return; + //} /* sample stansmission KD8TDF-9>APRS,WIDE2-1:/151916z3944.87N/08348.75WO005/0.013 SV:09 A-30.5 B45.64 C99542 ^char 31 ^char 40 ^60 @@ -2579,7 +2579,7 @@ namespace Demo.WindowsForms indexEnd = rawDataReceived.IndexOf("WO"); longitude = rawDataReceived.Substring(indexStart + 2, indexEnd - indexStart - 2); - addMarkerFromTransmit(latitude, longitude); + //addMarkerFromTransmit(latitude, longitude); AddText(rawDataReceived + "\r\n"); rawDataReceived = rawDataReceived.Substring(59); //remove APRS overhead from string @@ -2598,7 +2598,7 @@ namespace Demo.WindowsForms { typeCode = dataTransmission[i].Substring(0, 1); data = double.Parse(dataTransmission[i].Substring(1)); - addToChart(typeCode, data); + //addToChart(typeCode, data); csvData += typeCode + data + ","; } diff --git a/Demo.WindowsForms/Source/Program.cs b/Demo.WindowsForms/Source/Program.cs --- a/Demo.WindowsForms/Source/Program.cs +++ b/Demo.WindowsForms/Source/Program.cs @@ -31,8 +31,8 @@ namespace Demo.WindowsForms windowGUI = new MainForm(); program.SerialInitialize(); Application.EnableVisualStyles(); - - Application.Run(new MainForm()); + + Application.Run(windowGUI); } //inits the serial port and event handler