Beispiel #1
0
        public void UpdateTransactionIndex(int index)
        {
            var changed = _transaction.UpdateIndex(index);

            if (changed == false)
            {
                return;
            }

            TransactionIndexChanged?.Invoke(this, new MudDragAndDropIndexChangedEventArgs(_transaction.CurrentZone, _transaction.CurrentZone, _transaction.Index));
        }
Beispiel #2
0
        internal void UpdateTransactionZone(string identifier)
        {
            var oldValue = _transaction.CurrentZone;
            var changed  = _transaction.UpdateZone(identifier);

            if (changed == false)
            {
                return;
            }

            TransactionIndexChanged?.Invoke(this, new MudDragAndDropIndexChangedEventArgs(_transaction.CurrentZone, oldValue, _transaction.Index));
        }