コード例 #1
0
 private async Task PerformExportAsync()
 {
     if (Core.Settings.Default.GPXTargetDevice == TargetDevice.GarminCommunicator)
     {
         ExportGarminCommunicatorWindow dlg = new ExportGarminCommunicatorWindow(_gcList);
         dlg.ShowDialog();
     }
     else
     {
         await Task.Run(() =>
         {
             if (Core.Settings.Default.GPXExportGGZ)
             {
                 exportToGGZ();
             }
             else
             {
                 exportToGPX();
             }
         });
     }
     Close();
 }
コード例 #2
0
ファイル: ExportWindow.xaml.cs プロジェクト: RH-Code/GAPP
 private async Task PerformExportAsync()
 {
     if (Core.Settings.Default.GPXTargetDevice == TargetDevice.GarminCommunicator)
     {
         ExportGarminCommunicatorWindow dlg = new ExportGarminCommunicatorWindow(_gcList);
         dlg.ShowDialog();
     }
     else
     {
         await Task.Run(() =>
             {
                 if (Core.Settings.Default.GPXExportGGZ)
                 {
                     exportToGGZ();
                 }
                 else
                 {
                     exportToGPX();
                 }
             });
     }
     Close();
 }
コード例 #3
0
 public webBrowserScriptingCallback(ExportGarminCommunicatorWindow gm)
 {
     _gm = gm;
 }
コード例 #4
0
 public webBrowserScriptingCallback(ExportGarminCommunicatorWindow gm)
 {
     _gm = gm;
 }