Skip to content

Replace _dialogCoordinator.ShowMessageAsync in Export() task #3265

@BornToBeRoot

Description

@BornToBeRoot

Replace this part with a childWindow message.

 catch (Exception ex)
 {
     Log.Error("Error while exporting data as " + instance.FileType, ex);

     var settings = AppearanceManager.MetroDialog;
     settings.AffirmativeButtonText = Strings.OK;

     await _dialogCoordinator.ShowMessageAsync(this, Strings.Error,
         Strings.AnErrorOccurredWhileExportingTheData + Environment.NewLine +
         Environment.NewLine + ex.Message, MessageDialogStyle.Affirmative, settings);
 }

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions