Example #1
0
 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;
 }
Example #2
0
 public ResultDialogViewModel(ResultBaseViewModel content)
 {
     _title  = content.Title;
     Content = content;
 }
 public ResultDialogViewModel(ResultBaseViewModel content)
 {
     _title = content.Title;
     Content = content;
 }