diff --git a/GUIs.Common/DocumentResultList/DocumentResultParams.vb b/GUIs.Common/DocumentResultList/DocumentResultParams.vb index 0487908e..b383c86c 100644 --- a/GUIs.Common/DocumentResultList/DocumentResultParams.vb +++ b/GUIs.Common/DocumentResultList/DocumentResultParams.vb @@ -3,6 +3,7 @@ ''' WindowGuid is used to save layout data ''' Public WindowGuid As String + Public WindowTitle As String = "" Public Results As New List(Of DocumentResult) Public ColumnNames As New ColumnNames End Class diff --git a/GUIs.Common/DocumentResultList/frmDocumentResultList.vb b/GUIs.Common/DocumentResultList/frmDocumentResultList.vb index fa6ea0f7..57cd5001 100644 --- a/GUIs.Common/DocumentResultList/frmDocumentResultList.vb +++ b/GUIs.Common/DocumentResultList/frmDocumentResultList.vb @@ -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!")