private void dataGridView1_CellEnter(object sender, DataGridViewCellEventArgs e) { if (dataGridView1.CurrentCell.ColumnIndex==0) { //SendKeys.Send("{F2}"); dataGridView1.BeginEdit(true); comboBox1.Visible = true; comboBox1.Location = dataGridView1.GetCellDisplayRectangle(e.ColumnIndex, e.RowIndex, true).Location; comboBox1.Size = dataGridView1.CurrentCell.Size; comboBox1.Focus(); } }
dataGridView1.BeginEdit(true);
SendKeys.Send("{F2}");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)