public void BuyButton() { if (resourceIsForSale != false) { dockSystem.ChangeSaleStatus(chosenResourceID, false); ChangeSellStatus(false); } else { dockSystem.ChangeSaleStatus(chosenResourceID, null); ChangeSellStatus(null); } }
public void RemoveTradeOperation(int resourceID) { dockSystem.ChangeSaleStatus(resourceID, null); RefreshTradeOperationsList(); }