Config und DocView

This commit is contained in:
Developer01 2025-09-18 16:43:08 +02:00
parent 0d64b5e887
commit 2f7a038023
6 changed files with 1057 additions and 518 deletions

View File

@ -14,6 +14,6 @@ Public Class ClassConfig
Public Property TreeListSplitterWidth As Integer = 0 Public Property TreeListSplitterWidth As Integer = 0
Public Property DocumentSearchSplitterWidth As Integer = 0 Public Property DocumentSearchSplitterWidth As Integer = 0
Public Property DocumentViewerShown As Boolean = True Public Property DocumentViewerShown As Boolean = True
Public Property Viewer_ForceTemporaryMode As Boolean = False
End Class End Class

View File

@ -22,8 +22,8 @@ Partial Class frmConfig_Basic
'Das Bearbeiten mit dem Code-Editor ist nicht möglich. 'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
<System.Diagnostics.DebuggerStepThrough()> <System.Diagnostics.DebuggerStepThrough()>
Private Sub InitializeComponent() Private Sub InitializeComponent()
Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmConfig_Basic)) Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmConfig_Basic))
Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
Me.TabControl1 = New System.Windows.Forms.TabControl() Me.TabControl1 = New System.Windows.Forms.TabControl()
Me.TabPage1 = New System.Windows.Forms.TabPage() Me.TabPage1 = New System.Windows.Forms.TabPage()
Me.chkbxUserAut = New System.Windows.Forms.CheckBox() Me.chkbxUserAut = New System.Windows.Forms.CheckBox()
@ -68,6 +68,9 @@ Partial Class frmConfig_Basic
Me.Label8 = New System.Windows.Forms.Label() Me.Label8 = New System.Windows.Forms.Label()
Me.btnstartstop2 = New System.Windows.Forms.Button() Me.btnstartstop2 = New System.Windows.Forms.Button()
Me.TabPage4 = New System.Windows.Forms.TabPage() Me.TabPage4 = New System.Windows.Forms.TabPage()
Me.Label6 = New System.Windows.Forms.Label()
Me.Button4 = New System.Windows.Forms.Button()
Me.txtCreateWMFolder = New System.Windows.Forms.TextBox()
Me.GroupBox2 = New System.Windows.Forms.GroupBox() Me.GroupBox2 = New System.Windows.Forms.GroupBox()
Me.rbGruppe = New System.Windows.Forms.RadioButton() Me.rbGruppe = New System.Windows.Forms.RadioButton()
Me.rbUser = New System.Windows.Forms.RadioButton() Me.rbUser = New System.Windows.Forms.RadioButton()
@ -76,9 +79,7 @@ Partial Class frmConfig_Basic
Me.btncheckWDFolderexists = New System.Windows.Forms.Button() Me.btncheckWDFolderexists = New System.Windows.Forms.Button()
Me.txtwdFolder = New System.Windows.Forms.TextBox() Me.txtwdFolder = New System.Windows.Forms.TextBox()
Me.Label12 = New System.Windows.Forms.Label() Me.Label12 = New System.Windows.Forms.Label()
Me.Button4 = New System.Windows.Forms.Button() Me.CheckBox_ForceTemporaryMode = New System.Windows.Forms.CheckBox()
Me.txtCreateWMFolder = New System.Windows.Forms.TextBox()
Me.Label6 = New System.Windows.Forms.Label()
Me.TabControl1.SuspendLayout() Me.TabControl1.SuspendLayout()
Me.TabPage1.SuspendLayout() Me.TabPage1.SuspendLayout()
Me.TabPage2.SuspendLayout() Me.TabPage2.SuspendLayout()
@ -192,6 +193,7 @@ Partial Class frmConfig_Basic
' '
'TabPage2 'TabPage2
' '
Me.TabPage2.Controls.Add(Me.CheckBox_ForceTemporaryMode)
Me.TabPage2.Controls.Add(Me.GroupBox5) Me.TabPage2.Controls.Add(Me.GroupBox5)
Me.TabPage2.Controls.Add(Me.GroupBox1) Me.TabPage2.Controls.Add(Me.GroupBox1)
Me.TabPage2.Controls.Add(Me.GroupBox4) Me.TabPage2.Controls.Add(Me.GroupBox4)
@ -362,8 +364,8 @@ Partial Class frmConfig_Basic
' '
'DataGridView1 'DataGridView1
' '
DataGridViewCellStyle1.BackColor = System.Drawing.Color.Aqua DataGridViewCellStyle2.BackColor = System.Drawing.Color.Aqua
Me.DataGridView1.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1 Me.DataGridView1.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle2
resources.ApplyResources(Me.DataGridView1, "DataGridView1") resources.ApplyResources(Me.DataGridView1, "DataGridView1")
Me.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize Me.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
Me.DataGridView1.Name = "DataGridView1" Me.DataGridView1.Name = "DataGridView1"
@ -411,6 +413,22 @@ Partial Class frmConfig_Basic
Me.TabPage4.Name = "TabPage4" Me.TabPage4.Name = "TabPage4"
Me.TabPage4.UseVisualStyleBackColor = True Me.TabPage4.UseVisualStyleBackColor = True
' '
'Label6
'
resources.ApplyResources(Me.Label6, "Label6")
Me.Label6.Name = "Label6"
'
'Button4
'
resources.ApplyResources(Me.Button4, "Button4")
Me.Button4.Name = "Button4"
Me.Button4.UseVisualStyleBackColor = True
'
'txtCreateWMFolder
'
resources.ApplyResources(Me.txtCreateWMFolder, "txtCreateWMFolder")
Me.txtCreateWMFolder.Name = "txtCreateWMFolder"
'
'GroupBox2 'GroupBox2
' '
Me.GroupBox2.Controls.Add(Me.rbGruppe) Me.GroupBox2.Controls.Add(Me.rbGruppe)
@ -462,21 +480,11 @@ Partial Class frmConfig_Basic
resources.ApplyResources(Me.Label12, "Label12") resources.ApplyResources(Me.Label12, "Label12")
Me.Label12.Name = "Label12" Me.Label12.Name = "Label12"
' '
'Button4 'CheckBox_ForceTemporaryMode
' '
resources.ApplyResources(Me.Button4, "Button4") resources.ApplyResources(Me.CheckBox_ForceTemporaryMode, "CheckBox_ForceTemporaryMode")
Me.Button4.Name = "Button4" Me.CheckBox_ForceTemporaryMode.Name = "CheckBox_ForceTemporaryMode"
Me.Button4.UseVisualStyleBackColor = True Me.CheckBox_ForceTemporaryMode.UseVisualStyleBackColor = True
'
'txtCreateWMFolder
'
resources.ApplyResources(Me.txtCreateWMFolder, "txtCreateWMFolder")
Me.txtCreateWMFolder.Name = "txtCreateWMFolder"
'
'Label6
'
resources.ApplyResources(Me.Label6, "Label6")
Me.Label6.Name = "Label6"
' '
'frmConfig_Basic 'frmConfig_Basic
' '
@ -562,4 +570,5 @@ Partial Class frmConfig_Basic
Friend WithEvents Label6 As Label Friend WithEvents Label6 As Label
Friend WithEvents Button4 As Button Friend WithEvents Button4 As Button
Friend WithEvents txtCreateWMFolder As TextBox Friend WithEvents txtCreateWMFolder As TextBox
Friend WithEvents CheckBox_ForceTemporaryMode As CheckBox
End Class End Class

File diff suppressed because it is too large Load Diff

View File

@ -213,6 +213,7 @@ Public Class frmConfig_Basic
Select Case TabControl1.SelectedIndex Select Case TabControl1.SelectedIndex
Case 1 Case 1
cmbLanguage.SelectedIndex = cmbLanguage.FindStringExact(USER_LANGUAGE) cmbLanguage.SelectedIndex = cmbLanguage.FindStringExact(USER_LANGUAGE)
CheckBox_ForceTemporaryMode.Checked = CONFIG.Config.Viewer_ForceTemporaryMode
Case 2 Case 2
Dim DTSCAN_folderwatch As Data.DataTable = MYDB_ECM.GetDatatable("SELECT FOLDER_PATH,SUBDIRECTORIES FROM TBPMO_FOLDERWATCH_USER WHERE FOLDER_TYPE = 'SCAN' AND USER_ID = " & USER_GUID) Dim DTSCAN_folderwatch As Data.DataTable = MYDB_ECM.GetDatatable("SELECT FOLDER_PATH,SUBDIRECTORIES FROM TBPMO_FOLDERWATCH_USER WHERE FOLDER_TYPE = 'SCAN' AND USER_ID = " & USER_GUID)
If Not DTSCAN_folderwatch Is Nothing Then If Not DTSCAN_folderwatch Is Nothing Then
@ -543,4 +544,10 @@ Public Class frmConfig_Basic
End If End If
End If End If
End Sub End Sub
Private Sub CheckBox_ForceTemporaryMode_CheckedChanged(sender As Object, e As EventArgs) Handles CheckBox_ForceTemporaryMode.CheckedChanged
CONFIG.Config.Viewer_ForceTemporaryMode = CheckBox_ForceTemporaryMode.Checked
CONFIG.Save()
End Sub
End Class End Class

View File

@ -177,6 +177,7 @@ Public Class frmNodeNavigation
SplitContainerDocView.Collapsed = True SplitContainerDocView.Collapsed = True
DocumentViewer.Visible = False DocumentViewer.Visible = False
Else Else
DocumentViewer.Viewer_ForceTemporaryMode = CONFIG.Config.Viewer_ForceTemporaryMode
DocViewInitialized = True DocViewInitialized = True
End If End If
Catch ex As Exception Catch ex As Exception

View File

@ -136,14 +136,14 @@
<File Id="DLLLicenseManager" Name="DLLLicenseManager.dll" KeyPath="no" /> <File Id="DLLLicenseManager" Name="DLLLicenseManager.dll" KeyPath="no" />
<File Id="DD_Rights" Name="DD_Rights.dll" KeyPath="no" /> <File Id="DD_Rights" Name="DD_Rights.dll" KeyPath="no" />
<File Id="DigitalData.GUIs.Common" Name="DigitalData.GUIs.Common.dll" KeyPath="no" Checksum="yes"/> <File Id="DigitalData.GUIs.Common" Name="DigitalData.GUIs.Common.dll" KeyPath="no" Checksum="yes"/>
<File Id="DDLogging" Name="DigitalData.Modules.Logging.dll" KeyPath="no" Checksum="yes"/> <File Id="DigitalData.Modules.Logging" Name="DigitalData.Modules.Logging.dll" KeyPath="no" Checksum="yes"/>
<File Id="DDDatabase" Name="DigitalData.Modules.Database.dll" KeyPath="no" Checksum="yes"/> <File Id="DigitalData.Modules.Database" Name="DigitalData.Modules.Database.dll" KeyPath="no" Checksum="yes"/>
<File Id="DDWindream" Name="DigitalData.Modules.Windream.dll" KeyPath="no" Checksum="yes"/> <File Id="DigitalData.Modules.Windream" Name="DigitalData.Modules.Windream.dll" KeyPath="no" Checksum="yes"/>
<File Id="DigitalData.Modules.Patterns" Name="DigitalData.Modules.Patterns.dll" KeyPath="no" Checksum="yes"/> <File Id="DigitalData.Modules.Patterns" Name="DigitalData.Modules.Patterns.dll" KeyPath="no" Checksum="yes"/>
<File Id="DDConfig" Name="DigitalData.Modules.Config.dll" KeyPath="no" Checksum="yes"/> <File Id="DigitalData.Modules.Config" Name="DigitalData.Modules.Config.dll" KeyPath="no" Checksum="yes"/>
<File Id="DDBase" Name="DigitalData.Modules.Base.dll" KeyPath="no" Checksum="yes"/> <File Id="DigitalData.Modules.Base" Name="DigitalData.Modules.Base.dll" KeyPath="no" Checksum="yes"/>
<File Id="DigitalData.Modules.Encryption" Name="DigitalData.Modules.Encryption.dll" KeyPath="no" Checksum="yes"/> <File Id="DigitalData.Modules.Encryption" Name="DigitalData.Modules.Encryption.dll" KeyPath="no" Checksum="yes"/>
<File Id="DDDocumentViewer" Name="DigitalData.Controls.DocumentViewer.dll" KeyPath="no" Checksum="yes"/> <File Id="DigitalData.Controls.DocumentViewer" Name="DigitalData.Controls.DocumentViewer.dll" KeyPath="no" Checksum="yes"/>
<File Id="DigitalData.Modules.Messaging" Name="DigitalData.Modules.Messaging.dll" KeyPath="no" Checksum="yes"/> <File Id="DigitalData.Modules.Messaging" Name="DigitalData.Modules.Messaging.dll" KeyPath="no" Checksum="yes"/>
<File Id="DigitalData.Modules.ZooFlow" Name="DigitalData.Modules.ZooFlow.dll" KeyPath="no" Checksum="yes"/> <File Id="DigitalData.Modules.ZooFlow" Name="DigitalData.Modules.ZooFlow.dll" KeyPath="no" Checksum="yes"/>
<File Id="DigitalData.Modules.Windows" Name="DigitalData.Modules.Windows.dll" KeyPath="no" Checksum="yes"/> <File Id="DigitalData.Modules.Windows" Name="DigitalData.Modules.Windows.dll" KeyPath="no" Checksum="yes"/>
@ -152,7 +152,7 @@
<File Id="DigitalData.Controls.LookupGrid.API" Name="DigitalData.Controls.LookupGrid.dll" KeyPath="no" Checksum="yes"/> <File Id="DigitalData.Controls.LookupGrid.API" Name="DigitalData.Controls.LookupGrid.dll" KeyPath="no" Checksum="yes"/>
</Component> </Component>
<!-- DD Bibliotheken --> <!-- Basic Libs -->
<Component Id="BasicLibs" Guid="37238CB0-6DC3-4B1B-9438-52FA7D478897"> <Component Id="BasicLibs" Guid="37238CB0-6DC3-4B1B-9438-52FA7D478897">
<File Id="OfficeLib" Name="Office.dll" Source="C:\Windows\assembly\GAC_MSIL\Office\15.0.0.0__71e9bce111e9429c\Office.dll" KeyPath="yes" /> <File Id="OfficeLib" Name="Office.dll" Source="C:\Windows\assembly\GAC_MSIL\Office\15.0.0.0__71e9bce111e9429c\Office.dll" KeyPath="yes" />
<File Id="Microsoft.Office.Interop.Outlook" Name="Microsoft.Office.Interop.Outlook.dll" Source="C:\Windows\assembly\GAC_MSIL\Microsoft.Office.Interop.Outlook\15.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Outlook.dll" KeyPath="no" /> <File Id="Microsoft.Office.Interop.Outlook" Name="Microsoft.Office.Interop.Outlook.dll" Source="C:\Windows\assembly\GAC_MSIL\Microsoft.Office.Interop.Outlook\15.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Outlook.dll" KeyPath="no" />
@ -170,7 +170,7 @@
<File Id="MailLicense.xml" Name="MailLicense.xml" KeyPath="no" /> <File Id="MailLicense.xml" Name="MailLicense.xml" KeyPath="no" />
</Component> </Component>
<!-- MAIL.NET Bibliothek --> <!-- ERPConnect35 Bibliothek -->
<Component Id="ERPConnectLibs" Guid="9AC1DD00-6225-47DD-A142-1EB462CD5240"> <Component Id="ERPConnectLibs" Guid="9AC1DD00-6225-47DD-A142-1EB462CD5240">
<File Id="ERPConnect35" Name="ERPConnect35.dll" KeyPath="yes" /> <File Id="ERPConnect35" Name="ERPConnect35.dll" KeyPath="yes" />
</Component> </Component>
@ -180,7 +180,7 @@
<File Id="NLog" Name="NLog.dll" KeyPath="yes" Checksum="yes"/> <File Id="NLog" Name="NLog.dll" KeyPath="yes" Checksum="yes"/>
</Component> </Component>
<!-- GDPicture --> <!-- GDPicture und notwendige Lizenzen -->
<Component Id="GDPictureLibs" Guid="9ea5ab43-58ff-4813-9a8b-f854784f0275"> <Component Id="GDPictureLibs" Guid="9ea5ab43-58ff-4813-9a8b-f854784f0275">
<File Id="GdPicture.NET.14" Name="GdPicture.NET.14.dll" KeyPath="yes" /> <File Id="GdPicture.NET.14" Name="GdPicture.NET.14.dll" KeyPath="yes" />
<File Id="GdPicture.NET.14.filters" Name="GdPicture.NET.14.filters.dll" /> <File Id="GdPicture.NET.14.filters" Name="GdPicture.NET.14.filters.dll" />
@ -202,8 +202,35 @@
<File Id="GdPicture.NET.14.HTML" Name="GdPicture.NET.14.HTML.dll" /> <File Id="GdPicture.NET.14.HTML" Name="GdPicture.NET.14.HTML.dll" />
<File Id="GdPicture.NET.14.MSOfficeBinary" Name="GdPicture.NET.14.MSOfficeBinary.dll"/> <File Id="GdPicture.NET.14.MSOfficeBinary" Name="GdPicture.NET.14.MSOfficeBinary.dll"/>
<File Id="BouncyCastle.Cryptography" Name="BouncyCastle.Cryptography.dll"/> <File Id="BouncyCastle.Cryptography" Name="BouncyCastle.Cryptography.dll"/>
<File Id="System.ValueTuple" Name="System.ValueTuple.dll" /> <File Id="DocumentFormat.OpenXml" Name="DocumentFormat.OpenXml.dll" />
<File Id="DocumentFormat.OpenXml.Framework" Name="DocumentFormat.OpenXml.Framework.dll" />
<File Id="Microsoft.Bcl.AsyncInterfaces" Name="Microsoft.Bcl.AsyncInterfaces.dll" />
<File Id="Microsoft.Bcl.HashCode" Name="Microsoft.Bcl.HashCode.dll" />
<File Id="Office" Name="Office.dll" />
<File Id="OpenMcdf" Name="OpenMcdf.dll" />
<File Id="protobuf-net.Core" Name="protobuf-net.Core.dll" />
<File Id="protobuf-net" Name="protobuf-net.dll" />
<File Id="RtfPipe" Name="RtfPipe.dll" />
<File Id="System.Buffers" Name="System.Buffers.dll" />
<File Id="System.CodeDom" Name="System.CodeDom.dll" />
<File Id="System.Collections.Concurrent" Name="System.Collections.Concurrent.dll" />
<File Id="System.Collections" Name="System.Collections.dll" />
<File Id="System.Collections.Immutable" Name="System.Collections.Immutable.dll" />
<File Id="System.IO.FileSystem.DriveInfo" Name="System.IO.FileSystem.DriveInfo.dll" />
<File Id="System.IO.FileSystem.Primitives" Name="System.IO.FileSystem.Primitives.dll" />
<File Id="System.IO.FileSystem.Watcher" Name="System.IO.FileSystem.Watcher.dll" />
<File Id="System.IO.IsolatedStorage" Name="System.IO.IsolatedStorage.dll" />
<File Id="System.IO.MemoryMappedFiles" Name="System.IO.MemoryMappedFiles.dll" />
<File Id="System.IO.Packaging" Name="System.IO.Packaging.dll" /> <File Id="System.IO.Packaging" Name="System.IO.Packaging.dll" />
<File Id="System.Memory" Name="System.Memory.dll" />
<File Id="System.Numerics.Vectors" Name="System.Numerics.Vectors.dll" />
<File Id="System.Runtime.CompilerServices.Unsafe" Name="System.Runtime.CompilerServices.Unsafe.dll" />
<File Id="System.Security.Cryptography.Pkcs" Name="System.Security.Cryptography.Pkcs.dll" />
<File Id="System.Text.Encodings.Web" Name="System.Text.Encodings.Web.dll" />
<File Id="System.Threading.Tasks" Name="System.Threading.Tasks.dll" />
<File Id="System.Threading.Tasks.Extensions" Name="System.Threading.Tasks.Extensions.dll" />
<File Id="System.ValueTuple" Name="System.ValueTuple.dll" />
/>
</Component> </Component>