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 ''' WindowGuid is used to save layout data
''' </summary> ''' </summary>
Public WindowGuid As String Public WindowGuid As String
Public WindowTitle As String = ""
Public Results As New List(Of DocumentResult) Public Results As New List(Of DocumentResult)
Public ColumnNames As New ColumnNames Public ColumnNames As New ColumnNames
End Class End Class

View File

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