// Dialogvensters private void OnMessageReceived(UpdateFinishedMessage message) { switch (message.Type) { case UpdateFinishedMessage.MessageType.BackToMain: _dialogService.CloseAlgorithmDialog(); _dialogService.CloseCategorieDialog(); _dialogService.CloseResultaatDialog(); break; case UpdateFinishedMessage.MessageType.BackToMainWithRefresh: _dialogService.CloseAlgorithmDialog(); _dialogService.CloseResultaatDialog(); refreshIdList(); refreshResultsView(); break; default: break; } }