public void UpdateGridSignals()
 {
     SignalView.constructGridSignals(dataGridViewListSign, comboBoxSecSign.Text, () =>
     {
         LastIndexSelectRow = LastIndexSelectRow < 0 ? 0 : LastIndexSelectRow;
         LastIndexSelectRow = LastIndexSelectRow >= dataGridViewListSign.Rows.Count ? dataGridViewListSign.Rows.Count - 1 : LastIndexSelectRow;
         foreach (DataGridViewRow row in dataGridViewListSign.Rows)
         {
             if (row.Index == LastIndexSelectRow)
             {
                 row.Selected = true;
                 dataGridViewListSign.FirstDisplayedScrollingRowIndex = LastIndexSelectRow;
             }
         }
     });
 }
        /// <summary>
        ///
        /// </summary>
        private void UpdateGridSignals()
        {
            SignalView.constructGridSignals(dataGridViewSignal, Securities.ToString(), () =>
            {
                LastIndexSelectRow = LastIndexSelectRow < 0 ? 0 : LastIndexSelectRow;
                LastIndexSelectRow = LastIndexSelectRow >= dataGridViewSignal.Rows.Count ? dataGridViewSignal.Rows.Count - 1 : LastIndexSelectRow;
                dataGridViewSignal.Rows.ForEach <DataGridViewRow>((row) =>
                {
                    row.Selected = false;
                    if (row.Index == LastIndexSelectRow)
                    {
                        row.Selected = true;
                        dataGridViewSignal.FirstDisplayedScrollingRowIndex = LastIndexSelectRow;
                    }
                });

                /*foreach (DataGridViewRow row in dataGridViewSignal.Rows)
                 * {
                 *
                 * }*/
            });
        }