Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the CardListViewModel class.
 /// </summary>
 public CardListViewModel(ICDBService cdbService, IExDialogService dialogService) {
     _cdbService = cdbService;
     ContentId = "CardList";
     _dialogService = dialogService;
     //try {
     //    cdbService.Open(Properties.Settings.Default.lastCDB);
     //    ResetSearch();
     //}
     //catch(System.Exception ex) {
     //    Debug.WriteLine(ex.StackTrace);
     //}
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the IDInputViewModel class.
 /// </summary>
 public IDInputViewModel(ICDBService cdbService) {
     _cdbService = cdbService;
 }