Esempio n. 1
0
        public bool updateTicker(TickerInfo ticker, String id)
        {
            TickerConnection tickerConnection = new TickerConnection();
            bool             result           = tickerConnection.updateInfoTicker(ticker, id);

            if (result)
            {
                loadDataLocal();
                return(true);
            }
            return(false);
        }
Esempio n. 2
0
        public bool removeTicker(TickerInfo ticker)
        {
            TickerConnection tickerConnection = new TickerConnection();
            bool             result           = tickerConnection.deleteTicker(ticker);

            if (result)
            {
                loadDataLocal();
                return(true);
            }
            return(false);
        }
 public void deleteTickerInfo()
 {
     this.tickerInfo = new TickerInfo();
     listenChange();
 }
 public void updateTickerInfo(TickerInfo _tickerInfo)
 {
     this.tickerInfo = _tickerInfo;
     listenChange();
 }