public void ProcessSecurityDefinition(MarketDataHandler.SecurityDefinitionArgs securityDefinition)
        {
            DataGridViewRow row;

            if (symbol2dataGridViewRow.ContainsKey(securityDefinition.Symbol))
            {
                row = symbol2dataGridViewRow[securityDefinition.Symbol];
            }
            else
            {
                int index = dataGridView.Rows.Add();
                row = dataGridView.Rows[index];
                symbol2dataGridViewRow.Add(securityDefinition.Symbol, row);
                row.Cells[symbolColumn.Index].Value = securityDefinition.Symbol;
            }
        }
Esempio n. 2
0
 void ProcessSecurityDefinition(MarketDataHandler.SecurityDefinitionArgs securityDefinition)
 {
     securityDefinitionsViewControl.ProcessSecurityDefinition(securityDefinition);
 }
Esempio n. 3
0
 void marketDataHandler_SecurityDefinitionReceived(object sender, MarketDataHandler.SecurityDefinitionArgs args)
 {
     BeginInvoke(new ProcessSecurityDefinitionDelegate(ProcessSecurityDefinition), args);
 }