private void toolStripComboBox3_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
// see if there's a selection being made
gridView1.ClearSelection();
string strValue = toolStripComboBox3.Text;
char[] sep = new char[1];
sep.SetValue(' ', 0);
string[] strValues = strValue.Split(sep);
foreach (string strval in strValues)
{
double dblres;
if (Double.TryParse(strval, out dblres))
{
SelectCellsWithValue(dblres);
}
}
gridView1.Focus();
}
}