Private Sub DGV_Detail_CellEndEdit(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DGV_Detail.CellEndEdit
If strStatus <> "EDIT" Then
Exit Sub
End If
''在单元格的编辑状态,按Enter键,将向下移
If Me.DGV_Detail.CurrentRow.Index < DGV_Detail.Rows.Count - 1 Then My.Computer.Keyboard.SendKeys("{UP}")
End Sub