Removed backup async lazy-loading collection, the queueing variant in now proven; added ItemFetched event so users can run additional processing when items have been fetched from the dataabse; fixed message presenter, yes/no and ok/cancel messages are now centered and parented to the main window as well

This commit is contained in:
Markus Ewald 2025-07-31 10:01:38 +02:00
parent d969811427
commit 76a31e15f4
4 changed files with 30 additions and 832 deletions

View file

@ -107,7 +107,14 @@ namespace Nuclex.Avalonia.Messages {
}
)
);
return messageBox.ShowAsync(); // TODO: Make modal to current or main window
Window? activeWindow = this.tracker.ActiveWindow;
if(activeWindow == null) {
return messageBox.ShowAsync();
} else {
//return messageBox.ShowAsPopupAsync(activeWindow);
return messageBox.ShowWindowDialogAsync(activeWindow);
}
}
}