implement search by control bounds
This commit is contained in:
@@ -24,12 +24,6 @@ Public Class frmProfileMatch
|
||||
Size = ConfigManager.Config.MatchWindowSize
|
||||
End If
|
||||
|
||||
If USER_LANGUAGE = "de-DE" Then
|
||||
Label1.Text = $"Clipboard Watcher hat mehr als einen Match für Ihre Suche nach ""{CURRENT_CLIPBOARD_CONTENTS}"" gefunden:"
|
||||
Else
|
||||
Label1.Text = $"Clipboard Watcher found more than on match for your search for ""{CURRENT_CLIPBOARD_CONTENTS}"":"
|
||||
End If
|
||||
|
||||
Dim oCreatedTiles = CreateTiles()
|
||||
|
||||
If oCreatedTiles = -1 Then
|
||||
@@ -41,6 +35,9 @@ Public Class frmProfileMatch
|
||||
Me.Close()
|
||||
End If
|
||||
|
||||
Dim oMatchString = IIf(oCreatedTiles = 1, "1 Match", $"{oCreatedTiles} Matches")
|
||||
Label1.Text = String.Format(Label1.Text, oMatchString, CURRENT_CLIPBOARD_CONTENTS)
|
||||
|
||||
' Open Result Forms directly if only one match found
|
||||
If oCreatedTiles = 1 Then
|
||||
Dim oProfile As ProfileData = CURRENT_MATCHING_PROFILES.First()
|
||||
|
||||
Reference in New Issue
Block a user