Пример #1
0
        private void ExportLocToExcel_Click(object sender, RoutedEventArgs e)
        {
            SaveFileDialog fileDialog = FileDialogFactory <SaveFileDialog> .CreateFileDialog("Select .xlsx file for export", "xlsx");

            if (fileDialog.ShowDialog() == true)
            {
                ExportLocalization.ExportToExcelFile(LocalizationData, fileDialog.FileName);
            }
        }
Пример #2
0
        private void ExportLocToCsvMenuItem_Click(object sender, RoutedEventArgs e)
        {
            SaveFileDialog fileDialog = FileDialogFactory <SaveFileDialog> .CreateFileDialog("Select .csv file for export", "csv");

            if (fileDialog.ShowDialog() == true)
            {
                ExportLocalization.ExportToCsvFile(LocalizationData, fileDialog.FileName);
            }
        }