Da li netko zna zašto ovo ne radi?
Private Sub AddRouterToList(ByVal str1 As String, ByVal str2 As String, ByVal str3 As String, ByVal str4 As String, ByVal str5 As String, ByVal str6 As String, ByVal str7 As String)
If Me.gridRouters.InvokeRequired Then
Dim d As New AddRouterToListCallBack(AddressOf AddRouterToList)
Me.Invoke(d, New Object() {str1, str2, str3, str4, str5, str6, str7})
Else
Me.gridRouters.Rows.Add(str1, str2, str3, str4, str5, str6, str7)
End If
End Sub
studio javlja grešku
Type 'AddRouterToListCallBack' is not defined.
Imam svoj kod na starom disku koji nije ovdje kod mene (pa nemrem pogledat što sam već napisao) a ovo ovdje gore odgovara primjeru na MSDN-u
Niti primjer sa MSDN-a ne radi kad ga se copy paste-a (istu grešku javlja)