Ejemplo n.º 1
0
 public void UpdateCounter(EventCounter counter)
 {
   EventCounter counter1 = this.Counter;
   this.Counter = counter;
   this.Cells[this.columnIndex].Value = (object) counter.Trades.Value;
   this.Cells[this.columnIndex + 1].Value = (object) (counter.Trades.Value - counter1.Trades.Value);
   this.Cells[this.columnIndex + 2].Value = (object) counter.Quotes.Value;
   this.Cells[this.columnIndex + 3].Value = (object) (counter.Quotes.Value - counter1.Quotes.Value);
 }
Ejemplo n.º 2
0
        public void UpdateCounter(EventCounter counter)
        {
            EventCounter counter1 = this.Counter;

            this.Counter = counter;
            this.Cells[this.columnIndex].Value     = (object)counter.Trades.Value;
            this.Cells[this.columnIndex + 1].Value = (object)(counter.Trades.Value - counter1.Trades.Value);
            this.Cells[this.columnIndex + 2].Value = (object)counter.Quotes.Value;
            this.Cells[this.columnIndex + 3].Value = (object)(counter.Quotes.Value - counter1.Quotes.Value);
        }
Ejemplo n.º 3
0
 protected EventCounterViewRow(EventCounter counter, int columnIndex)
 {
   this.Counter = counter;
   this.columnIndex = columnIndex;
 }
Ejemplo n.º 4
0
 protected EventCounterViewRow(EventCounter counter, int columnIndex)
 {
     this.Counter     = counter;
     this.columnIndex = columnIndex;
 }