static sfrm = Nothing
Dim frm = Windows.forms.Form.ActiveForm
If frm IsNot Nothing Then
If frm.name = "Class108" AndAlso (sfrm Is Nothing OrElse sfrm.tostring <> frm.tostring) Then
frm.controls("MatchMode").Text = "任意位置"
sfrm = frm
End If
For Each c As Object In frm.Controls
output.Show(c.Name & " " & c.Gettype.Name)
Next
End If
Dim ftm = Windows.forms.Form.ActiveForm
If ftm IsNot Nothing Then
If ftm.name = "Class108" Then
Dim ContentFind As windows.Forms.ComboBox = ftm.controls("ContentFind")
removehandler ContentFind.Keydown, addressof textbox1_keydown
addhandler ContentFind.Keydown, addressof textbox1_keydown
End If
End If