Пример #1
0
 public static bool?ShowDialog(Window window, Core.ViewModels.BaseNotifyPropertyChanged viewModel)
 {
     window.DataContext = viewModel;
     return(window.ShowDialog());
 }
Пример #2
0
 public static void Show(Window window, Core.ViewModels.BaseNotifyPropertyChanged viewModel)
 {
     window.DataContext = viewModel;
     window.Show();
 }