0
I have a thread that calls a method that does "Invoke" in listview, only this method only works with a parameter, I need q it accept 3.
my method:
Private Sub Updatelv(ByVal usuarios As String, ByVal status As String, ByVal datahoraAtual As String)
If Me.InvokeRequired Then
Dim args() As String = {usuarios, status, datahoraAtual}
## Cabeçalhos ##Me.Invoke(New Action(Of String)(AddressOf Updatelv), args)
Return
End If
Me.lstvDados.Items.Add(New ListViewItem(New String() {usuarios, status, datahoraAtual}))
End Sub