RobotStudio event

listview checked handle

Options
Hi, I made a function that work with the listview 2.0 net.  I would like to know how i can do the same thing with the SDK flexpendant Listview?

   Private Sub ListView1_ItemCheck(ByVal sender As Object, ByVal e As System.Windows.Forms.ItemCheckEventArgs) Handles ListView1.ItemCheck
        Dim i = 0
        If e.NewValue = CheckState.Checked Then
            i = 1
            StringTxt.FillFromString(ListView1.Items(e.Index).Text)
            sFrmHMI_PatternName.Value = StringTxt
        Else

        End If
        If i = 0 Then
            StringTxt.FillFromString(" ")
            sFrmHMI_PatternName.Value = StringTxt
        End If
        Me.Invoke(New EventHandler(AddressOf LoadEnableI), New Object() {sender, e})
    End Sub

Best Regards,

Martin