public bool ShowResultDialog(ResultBaseViewModel contentViewModel)
 {
     ShowChildWindowMessage message = _messenger.CreateMessage<ShowChildWindowMessage>();
     ResultDialogViewModel viewModel = (ResultDialogViewModel)_viewModelFactory.GetChild<ResultDialogViewModel>(contentViewModel);
     message.Content = viewModel;
     message.IsDialog = true;
     _messenger.Send(message);
     return viewModel.Status;
 }
Exemple #2
0
 public ResultDialogViewModel(ResultBaseViewModel content)
 {
     _title  = content.Title;
     Content = content;
 }
 public ResultDialogViewModel(ResultBaseViewModel content)
 {
     _title = content.Title;
     Content = content;
 }