Skip to content

Commit 0114c13

Browse files
Add files via upload
1 parent ea40779 commit 0114c13

File tree

2 files changed

+20
-11
lines changed

2 files changed

+20
-11
lines changed

MainForm.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Text;
66
using System.Threading;
77
using System.Windows.Forms;
8-
//using UCNLGpx;
8+
using UCNLGpx;
99
using UCNLKML;
1010
using UCNLUI.Dialogs;
1111
using System.Resources;
@@ -324,7 +324,7 @@ private void SaveTrackXML(string fileName)
324324
}
325325
}
326326

327-
/*
327+
328328
private void SaveTrackGPX(string fileName)
329329
{
330330
bool isSaved = false;
@@ -384,7 +384,7 @@ private void SaveTrackGPX(string fileName)
384384
}
385385
}
386386
}
387-
*/
387+
388388

389389
private void SaveTrackCSV(string fileName)
390390
{
@@ -469,16 +469,16 @@ private void SaveTrackDialog()
469469
using (SaveFileDialog sDialog = new SaveFileDialog())
470470
{
471471
sDialog.DefaultExt = "kml";
472-
sDialog.Filter = "Google KML (*.kml)|*.kml|CSV (*.csv)|*.csv";
472+
sDialog.Filter = "Google KML (*.kml)|*.kml|GPS eXchange (*.gpx)|*.gpx|CSV (*.csv)|*.csv";
473473
sDialog.FileName = GetTimeDateFileName();
474474

475475
if (sDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
476476
{
477477
if (sDialog.FilterIndex == 1)
478478
SaveTrackXML(sDialog.FileName);
479-
//else if (sDialog.FilterIndex == 2)
480-
//SaveTrackGPX(sDialog.FileName);
481479
else if (sDialog.FilterIndex == 2)
480+
SaveTrackGPX(sDialog.FileName);
481+
else if (sDialog.FilterIndex == 3)
482482
SaveTrackCSV(sDialog.FileName);
483483
}
484484
}

RedNAVHost.csproj

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,24 @@
8484
<Reference Include="System.Drawing" />
8585
<Reference Include="System.Windows.Forms" />
8686
<Reference Include="System.Xml" />
87-
<Reference Include="UCNLKML">
88-
<HintPath>..\..\UCNLKML\UCNLKML\bin\Release\UCNLKML.dll</HintPath>
87+
<Reference Include="UCNLGpx, Version=1.0.6282.19024, Culture=neutral, processorArchitecture=MSIL">
88+
<SpecificVersion>False</SpecificVersion>
89+
<HintPath>..\..\..\UCNLLibs\UCNLGpx\UCNLGpx\bin\Release\UCNLGpx.dll</HintPath>
90+
</Reference>
91+
<Reference Include="UCNLKML, Version=1.0.6282.18980, Culture=neutral, processorArchitecture=MSIL">
92+
<SpecificVersion>False</SpecificVersion>
93+
<HintPath>..\..\..\UCNLLibs\UCNLKML\UCNLKML\bin\Release\UCNLKML.dll</HintPath>
8994
</Reference>
9095
<Reference Include="UCNLNMEA, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
9196
<SpecificVersion>False</SpecificVersion>
92-
<HintPath>..\..\UCNLNMEA\UCNLNMEA\bin\Release\UCNLNMEA.dll</HintPath>
97+
<HintPath>..\..\..\UCNLLibs\UCNLNMEA\UCNLNMEA\bin\Release\UCNLNMEA.dll</HintPath>
9398
</Reference>
94-
<Reference Include="UCNLUI">
95-
<HintPath>..\..\UCNLUI\UCNLUI\bin\Release\UCNLUI.dll</HintPath>
99+
<Reference Include="UCNLSalinity">
100+
<HintPath>..\..\..\UCNLLibs\UCNLSalinity\UCNLSalinity\bin\Release\UCNLSalinity.dll</HintPath>
101+
</Reference>
102+
<Reference Include="UCNLUI, Version=1.0.6282.19007, Culture=neutral, processorArchitecture=MSIL">
103+
<SpecificVersion>False</SpecificVersion>
104+
<HintPath>..\..\..\UCNLLibs\UCNLUI\UCNLUI\bin\Release\UCNLUI.dll</HintPath>
96105
</Reference>
97106
</ItemGroup>
98107
<ItemGroup>

0 commit comments

Comments
 (0)