Private Sub ShowData_CellClick(sender As Object, e As DataGridViewCellEventArgs) Handles ShowData.CellClick
If (e.RowIndex) = -1 Then Exit Sub
With ShowData.Rows(e.RowIndex)
UserControl.txtDevID.Text = CStr(.Cells(0).Value)
End With
'With ShowData.Rows(e.RowIndex)
' Cus_ID = CStr(.Cells(0).Value)
'End With
'Label3.Text = Cus_ID
'Show()
'Me.Close()
End Sub