Пример #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);
 }
Пример #2
0
 public CreateTransactionCommand(AllTransactionsClass allTransactionsClass)
 {
     this.allTransactionsClass = allTransactionsClass;
 }
Пример #3
0
 public ViewTransactionCommand(AllTransactionsClass transactions)
 {
     this.transactions = transactions;
 }