Exemplo n.º 1
0
                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);
                }
Exemplo n.º 2
0
                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;
                }