Remove handle when control capture form is closed /o\
This commit is contained in:
@@ -46,6 +46,10 @@ Public Class frmControlCapture
|
||||
AddHandler Watcher2.Changed, AddressOf Watcher_Changed
|
||||
End Sub
|
||||
|
||||
Private Sub frmControlCapture_FormClosing(sender As Object, e As FormClosingEventArgs) Handles Me.FormClosing
|
||||
RemoveHandler Watcher2.Changed, AddressOf Watcher_Changed
|
||||
End Sub
|
||||
|
||||
Private Sub Watcher_Changed(sender As Object, e As String)
|
||||
Try
|
||||
' === CONTROL NAME ===
|
||||
|
||||
Reference in New Issue
Block a user