Ejemplo n.º 1
0
 private void OnExportButtonClick(object sender, RoutedEventArgs e)
 {
     try
     {
         LocationSaveDialog.ShowImport(_content.Where(l => l.Importable != LocationProperty.None && l.SaveRequest == LocationProperty.None));
     }
     catch (Exception ex)
     {
         UIHelper.ShowError(ex);
     }
 }
Ejemplo n.º 2
0
        public static void ShowImport(IEnumerable <Location> locations)
        {
            LocationSaveDialog dlg = new LocationSaveDialog(Mode.Import, locations);

            dlg.ShowDialog();
        }