Exemplo n.º 1
0
 public VMTransaction()
 {
     Transaction = new TransactionClass();
     //Transaction.ChangesSaved += Transaction_ChangesSaved;
     SaveChangesCommand = new SaveChangesCommand(Transaction);
     DeleteTransactionUserCommand = new RelayCommand(o =>
         Transaction.Transaction.MultiuserManager.DeleteTransactionUser());
     AddTransactionUserCommand = new RelayCommand(o =>
         Transaction.Transaction.MultiuserManager.AddTransactionUser());
 }
Exemplo n.º 2
0
 public SaveChangesCommand(TransactionClass transaction)
 {
     this.transaction = transaction;
 }