Пример #1
0
 // Opens Window Message based on DialogData and no other parameters.
 public static WindowMessageResult OpenWindowMessage(DialogData data)
 {
     return(DialogService.OpenDialog(generateDialogViews(data)));
 }
Пример #2
0
 // Opens Window Message based on DialogData and sets the owner of that window to the passed in paramater.
 public static WindowMessageResult OpenWindowMessage(DialogData data, ViewModelBase viewModelBase, ShutdownMode shutdownMode)
 {
     return(DialogService.OpenDialog(generateDialogViews(data), FactoryService.GetWindowReference(viewModelBase), shutdownMode));
 }
Пример #3
0
 // Opens Window Message based on DialogData and sets the shutdownmode.
 public static WindowMessageResult OpenWindowMessage(DialogData data, ShutdownMode shutdownMode)
 {
     return(DialogService.OpenDialog(generateDialogViews(data), shutdownMode));
 }