Esempio n. 1
0
 public VMAllTransactions()
 {
     AllTransactionsClass = new AllTransactionsClass();
     AllTransactionsClass.TransactionLoadSucceed +=
         AllTransactionsClass_TransactionLoadSucceed;
     AllTransactionsClass.TransactionLoadFailed += AllTransactionsClass_TransactionLoadFailed;
     AllTransactionsClass.TransactionCreationucceed += AllTransactionsClass_TransactionCreationucceed;
     AllTransactionsClass.TransactionCreationFailed += AllTransactionsClass_TransactionCreationFailed;
     ViewTransactionCommand = new ViewTransactionCommand(AllTransactionsClass);
     CreateTransactionCommand = new CreateTransactionCommand(AllTransactionsClass);
     DeleteTransactionCommand = new DeleteTransactionCommand(AllTransactionsClass);
     ResetDatePickersCommand = new RelayCommand(ExecuteResetDatePickersCommand);
 }
Esempio n. 2
0
 public VMAllTransactions()
 {
     AllTransactionsClass = new AllTransactionsClass();
     AllTransactionsClass.TransactionLoadSucceed +=
         AllTransactionsClass_TransactionLoadSucceed;
     AllTransactionsClass.TransactionLoadFailed     += AllTransactionsClass_TransactionLoadFailed;
     AllTransactionsClass.TransactionCreationucceed += AllTransactionsClass_TransactionCreationucceed;
     AllTransactionsClass.TransactionCreationFailed += AllTransactionsClass_TransactionCreationFailed;
     ViewTransactionCommand   = new ViewTransactionCommand(AllTransactionsClass);
     CreateTransactionCommand = new CreateTransactionCommand(AllTransactionsClass);
     DeleteTransactionCommand = new DeleteTransactionCommand(AllTransactionsClass);
     ResetDatePickersCommand  = new RelayCommand(ExecuteResetDatePickersCommand);
 }