2 Commits

Author SHA1 Message Date
Developer01
b526108d5d Master empty row für GIT 2025-09-11 14:30:31 +02:00
Developer01
daf1c16b30 DocumentViewer Aufruf über Pfad (txtDateien) 2025-08-22 08:46:26 +02:00

View File

@@ -44,6 +44,7 @@ Public Class frmValidator
''' </summary>
Private Property DT_COLUMNS_GRID As DataTable
''' <summary>
''' Contains all grid columns for the current profile which have an sql but don't have a reference to a control
''' </summary>
@@ -2914,7 +2915,16 @@ Public Class frmValidator
' Load Document in Document Viewer
Dim oFileName = $"{CURRENT_DOC_ID}.{Current_Document.Extension}"
If Not IsNothing(DocumentViewer1) Then
DocumentViewer1.LoadFile(oFileName, New MemoryStream(Current_Document.Contents))
If (OPERATION_MODE_FS = ClassConstants.OpModeFS_PWM Or OPERATION_MODE_FS = ClassConstants.OpModeFS_IDBWM) Then
DocumentViewer1.LoadFile(Current_Document.FullPath)
'Erstmal auskommentiert
'DocumentViewer1.LoadFile(oFileName, New MemoryStream(Current_Document.Contents))
Else
'DocumentViewer1.LoadFile(oFileName, New MemoryStream(Current_Document.Contents))
End If
DocumentViewer1.RightOnlyView(USER_RIGHT_VIEW_ONLY) 'war auskommentiert.....WARUM?
End If