コード例 #1
0
 public void UpdateSendTransactions()
 {
     foreach (var transaction in _sendTransactions)
     {
         transaction.Do();
         _sendTransactions.Remove(transaction);
         ContextWindow.UpdateDatabaseFile();
     }
 }
コード例 #2
0
 public void UpdateCreditTransactions()
 {
     foreach (var transaction in _creditTransactions)
     {
         transaction.Do();
         CreditTransaction aux = (CreditTransaction)transaction;
         if (aux.CreditPayed)
         {
             _creditTransactions.Remove(transaction);
         }
         ContextWindow.UpdateDatabaseFile();
     }
 }