2 Commits

Author SHA1 Message Date
Jonathan Jenne
ee9c0c0b09 ClipboardWatcher: Show Clipboard Text in Document Result 2021-03-24 16:28:08 +01:00
Jonathan Jenne
e0745a2aac DocumentResultList: Make window title configurable 2021-03-24 16:27:21 +01:00
3 changed files with 7 additions and 1 deletions

View File

@@ -295,7 +295,8 @@ Public Class frmMatch
Dim oSearchGuids = Searches.Select(Function(s) s.Guid).ToArray
Dim oWindowGuid = $"{Profile.Guid}-{oNameSlug}-{String.Join("-", oSearchGuids)}"
Dim oParams = New DocumentResultParams() With {
.WindowGuid = oWindowGuid
.WindowGuid = oWindowGuid,
.WindowTitle = $"Suche Nach '{_Params.ClipboardContents}'"
}
For Each oSearch In Searches

View File

@@ -3,6 +3,7 @@
''' WindowGuid is used to save layout data
''' </summary>
Public WindowGuid As String
Public WindowTitle As String = ""
Public Results As New List(Of DocumentResult)
Public ColumnNames As New ColumnNames
End Class

View File

@@ -95,6 +95,10 @@ Public Class frmDocumentResultList
InitAppServer()
End If
If _Params.WindowTitle <> "" Then
Text = $"{Text} - {_Params.WindowTitle}"
End If
' Initialize Viewer with GDPicture.NET License
If _Environment.Settings.GdPictureKey = String.Empty Then
Throw New ApplicationException("GDPicture Licensekey is missing!")