private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (dataGridView1.CurrentCell.ColumnIndex == 1) { this.dataGridView1.CurrentCell.ReadOnly = false; this.dataGridView1.BeginEdit(true); } } int indexSelectedForDeletion = 0;