logging
This commit is contained in:
parent
16a6febb34
commit
09ed723295
@ -233,18 +233,21 @@ Public Class ClassProfileFilter
|
||||
If oControl.AutomationId <> String.Empty And oControl.ControlName <> String.Empty Then
|
||||
If oControl.AutomationId = Automation.AutomationId And oControl.ControlName = oFocusedControlName Then
|
||||
If oRegex.Match(ClipboardContents).Success Then
|
||||
Logger.Debug("Both AutomationId and ControlName matched!")
|
||||
oControls.Add(oControl)
|
||||
End If
|
||||
End If
|
||||
ElseIf oControl.AutomationId <> String.Empty Then
|
||||
If oControl.AutomationId = Automation.AutomationId Then
|
||||
If oRegex.Match(ClipboardContents).Success Then
|
||||
Logger.Debug("Both AutomationId matched!")
|
||||
oControls.Add(oControl)
|
||||
End If
|
||||
End If
|
||||
ElseIf oControl.ControlName <> String.Empty Then
|
||||
If oControl.ControlName = oFocusedControlName Then
|
||||
If oRegex.Match(ClipboardContents).Success Then
|
||||
Logger.Debug("Both ControlName matched!")
|
||||
oControls.Add(oControl)
|
||||
End If
|
||||
End If
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user