public static new MessageBoxResult Show() { InteraccionSubsiguienteChildView msg = new InteraccionSubsiguienteChildView(); InteraccionSubsiguienteChildViewModel viewModelInstance = App.Locator.InteraccionSubsiguienteChildViewModelStatic; viewModelInstance.Result = false; //viewModelInstance.Configure(msg, caption, messageBoxText, button, icon, defaultResult); msg.DataContext = viewModelInstance; (msg as CRMChildWindow).Show(); msg.waitClosingWindow(); return MessageBoxResult.OK;// viewModelInstance.Result; }
public static new MessageBoxResult Show() { InteraccionSubsiguienteChildView msg = new InteraccionSubsiguienteChildView(); InteraccionSubsiguienteChildViewModel viewModelInstance = App.Locator.InteraccionSubsiguienteChildViewModelStatic; viewModelInstance.Result = false; //viewModelInstance.Configure(msg, caption, messageBoxText, button, icon, defaultResult); msg.DataContext = viewModelInstance; (msg as CRMChildWindow).Show(); msg.waitClosingWindow(); return(MessageBoxResult.OK);// viewModelInstance.Result; }