public IRtdServerTicker GetCell(string row, string col) { int irow, icol; if (!Int32.TryParse(row, out irow) || !Int32.TryParse(col, out icol)) { return(null); } var ticker = new CellTicker(this, irow, icol); lock (this.cellTickers) { this.cellTickers.Add(ticker); } this.cellCount.Value = this.cellTickers.Count; return(ticker); }
public IRtdServerTicker GetCell(string row, string col) { int irow, icol; if(!Int32.TryParse(row, out irow) || !Int32.TryParse(col, out icol)) return null; var ticker = new CellTicker(this, irow, icol); lock(this.cellTickers) { this.cellTickers.Add(ticker); } this.cellCount.Value = this.cellTickers.Count; return ticker; }