Add files information from DAT to database.

This commit is contained in:
2020-08-22 17:14:52 +01:00
parent 4b166c2e4a
commit 131b32a3dc
9 changed files with 667 additions and 13 deletions

View File

@@ -125,7 +125,12 @@ namespace RomRepoMgr.ViewModels
public string CloseLabel => "Close";
public ReactiveCommand<Unit, Unit> CloseCommand { get; }
void OnWorkerOnWorkFinished(object sender, EventArgs args) => Dispatcher.UIThread.Post(() => CanClose = true);
void OnWorkerOnWorkFinished(object sender, EventArgs args) => Dispatcher.UIThread.Post(() =>
{
StatusMessage = "Finished";
ProgressVisible = false;
CanClose = true;
});
void OnWorkerOnSetProgressBounds(object sender, ProgressBoundsEventArgs args) => Dispatcher.UIThread.Post(() =>
{
@@ -145,9 +150,10 @@ namespace RomRepoMgr.ViewModels
void OnWorkerOnErrorOccurred(object sender, ErrorEventArgs args) => Dispatcher.UIThread.Post(() =>
{
ErrorMessage = args.Message;
ErrorVisible = true;
CanClose = true;
ErrorMessage = args.Message;
ProgressVisible = false;
ErrorVisible = true;
CanClose = true;
});
void ExecuteCloseCommand() => _view.Close();