Example #1
0
        public static void DisplayPreferences(DisplayPreviewModuleDataModel dataModel)
        {
            var viewModel = new PreferencesViewModel(dataModel);
            var view      = new PreferencesView {
                DataContext = viewModel
            };

            view.ShowDialog();
        }
Example #2
0
 public static void DisplayPreferences(DisplayPreviewModuleDataModel dataModel)
 {
     var viewModel = new PreferencesViewModel(dataModel);
     var view = new PreferencesView { DataContext = viewModel };
     view.ShowDialog();
 }