DocumentResultList: Make window title configurable

This commit is contained in:
Jonathan Jenne 2021-03-24 16:27:21 +01:00
parent 21bf3a7d32
commit e0745a2aac
2 changed files with 5 additions and 0 deletions

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!")