add groups, count functions per search

This commit is contained in:
Jonathan Jenne
2019-07-25 13:19:13 +02:00
parent dfadc2b778
commit 4438c6e9a7
20 changed files with 6829 additions and 703 deletions

View File

@@ -4,7 +4,6 @@ Public Class frmProfileMatch
Private PrimaryFont As New Font("Segoe UI", 12, FontStyle.Bold)
Private SecondaryFont As New Font("Segoe UI", 10)
Private Sub frmProfileMatch_Load(sender As Object, e As EventArgs) Handles Me.Load
If Not ConfigManager.Config.MatchWindowLocation.IsEmpty Then
Location = ConfigManager.Config.MatchWindowLocation
@@ -15,10 +14,11 @@ Public Class frmProfileMatch
End If
If USER_LANGUAGE = "de-DE" Then
Me.Label1.Text = $"Clipboard Watcher hat mehr als einen Match für Ihre Suche nach ""{CURR_MATCH_RESULT}"" gefunden:"
Label1.Text = $"Clipboard Watcher hat mehr als einen Match für Ihre Suche nach ""{CURR_MATCH_RESULT}"" gefunden:"
Else
Me.Label1.Text = $"Clipboard Watcher found more than on match for your search for ""{CURR_MATCH_RESULT}"":"
Label1.Text = $"Clipboard Watcher found more than on match for your search for ""{CURR_MATCH_RESULT}"":"
End If
CreateTiles()
CurrDocSearch2Load = Nothing
End Sub
@@ -84,20 +84,16 @@ Public Class frmProfileMatch
Dim oText As String = "No implemented"
If Profile.CountData = ClassConstants.INVALID_COUNT_SQL Then
'oText = "DocCount 0 = Check Your MatchCountConfig in Profiles!"
oText = "Invalid SQL!"
ElseIf Profile.CountData = ClassConstants.NO_COUNT_SQL Then
'oText = "DocCount (MatchCountConfig has not been configured)"
oText = "No SQL!"
Else
oText = CountText
End If
If Profile.CountDocs = ClassConstants.INVALID_COUNT_SQL Then
'oText = "DocCount 0 = Check Your MatchCountConfig in Profiles!"
oText = "Invalid SQL!"
ElseIf Profile.CountDocs = ClassConstants.NO_COUNT_SQL Then
'oText = "DocCount (MatchCountConfig has not been configured)"
oText = "No SQL!"
Else
oText = CountText