private void dgvBookLibrary_CellMouseEnter(object sender, DataGridViewCellEventArgs e) { switch (dgvBookLibrary.Columns[e.ColumnIndex].Name) { case "ColumnDelete": case "ColumnAmend": this.Cursor = Cursors.Hand; break; default: break; } } private void dgvBookLibrary_CellMouseLeave(object sender, DataGridViewCellEventArgs e) { switch (dgvBookLibrary.Columns[e.ColumnIndex].Name) { case "ColumnDelete": case "ColumnAmend": this.Cursor = Cursors.Arrow; break; default: break; } }