private void DgvCreationTasks_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) { if (e.RowIndex < 0) { return; } DataGridViewRow dgvRow = form_.dgvCreationTasks.Rows[e.RowIndex]; groupModel_.focusTaskElement(dgvRow.GetDataRow()); }