Added most of the framework for the error window.

This commit is contained in:
alphafetus authored and BobdaFett committed 2023-11-23 18:19:47 -05:00
1 parent bc8f5e4d54
commit d667e86b1b
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);
}
}