private void OnSelectFilesToExport() { //Call to method with a switch statement that opens the correct OpenFileDialog and returns the filename/filenames to the properties. ProgressValue = 0; ProgressText = "Ready"; FileSelect.UserFileTypeSelection(SelectFileType); ExportDataFilesCommand.RaiseCanExecuteChanged(); }
private async void OnExportDataFiles() { NotBusy = false; ProgressText = "Exporting Client Data"; FileSelect.SaveTargetDir(SelectFileType, SerialInput, PositionInput); var progress = new Progress <int>(i => ProgressValue = i); await clientDataAsync(progress); ExportDataFilesCommand.RaiseCanExecuteChanged(); NotBusy = true; }