public void UpdateCurrent(UserAmounts q, UserAmounts b) { currentA = new UserAmounts(q.TradeName, q.BaseAmount, q.CoinAmount); currentB = new UserAmounts(b.TradeName, b.BaseAmount, b.CoinAmount); }
public void UpdateBase(UserAmounts q, UserAmounts b) { baseA = new UserAmounts(q.TradeName, q.BaseAmount, q.CoinAmount); baseB = new UserAmounts(b.TradeName, b.BaseAmount, b.CoinAmount); }