Ejemplo n.º 1
0
 private bool?ShowSettings()
 {
     try
     {
         var settingsVM = viewFactory.CreateViewModel <SettingsViewModel>();
         return(ViewTools.ShowModalWindow <SettingsView>(settingsVM, Window));
     }
     catch (Exception e)
     {
         MessageBox.Show("Error occured: " + e.Message, "Easy BAML");
         return(null);
     }
 }