Added most of the framework for the error window.

This commit is contained in:
alphafetus committed 2023-11-14 19:07:11 +00:00
1 parent 602d27d45f
commit 99a666afd8
3 files changed
+38 -44

No files matched your search

+7
View File
@@ -53,4 +53,11 @@ public partial class MainWindow : ReactiveWindow<MainWindowViewModel> {
throw new Exception("User cancelled the file picker.");
}
}
public async Task ShowErrorWindowAsync(InteractionContext<Unit, Unit> interaction) {
var window = new ErrorWindow();
window.DataContext = interaction.Input;
await window.ShowDialog(this);
}
}