I'm showing a dialog box in my main viewmodel (and view) when mvvm-light message DialogMessage is received. In another viewmodel I call a service, with confirmation dialog like this (as a command result):
DialogMessage message = new DialogMessage(() =>
{
myService.Call(var); // if dialog message is confirmed
}, String.Format("Confirm?", value), Visibility.Visible);
Messenger.Default.Send<DialogMessage>(message);
And this works fine. Now, how can I show another DialogMessage after this, e.g. to show dialog with message that show service myService.Call(var) result ?
Or, in another variant, how can I call a method, after a RelayCommand method execution ?