Ejemplo 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);
 }
Ejemplo n.º 2
0
 public CreateTransactionCommand(AllTransactionsClass allTransactionsClass)
 {
     this.allTransactionsClass = allTransactionsClass;
 }
Ejemplo n.º 3
0
 public ViewTransactionCommand(AllTransactionsClass transactions)
 {
     this.transactions = transactions;
 }