Projektdateien hinzufügen.
This commit is contained in:
43
GUIs.ZooFlow/Config/SystemConfig.vb
Normal file
43
GUIs.ZooFlow/Config/SystemConfig.vb
Normal file
@@ -0,0 +1,43 @@
|
||||
Imports System.Xml.Serialization
|
||||
Imports DigitalData.Modules.Config.ConfigAttributes
|
||||
|
||||
''' <summary>
|
||||
''' --- User Config for EDMI ---
|
||||
'''
|
||||
''' All settings are simple properties that should have a default value where possible
|
||||
'''
|
||||
''' More complex properties (for example, ServiceConnection) are built from simple ones,
|
||||
''' should be readonly and have an `XmlIgnore` Attribute to prevent them from being saved to the config file.
|
||||
'''
|
||||
''' They can make saving and loading complex properties more easy.
|
||||
'''
|
||||
''' The config is loaded with `ConfigManager` which is initialized in ApplicationEvents
|
||||
''' to ensure that the config is loaded before any of the forms (that might need a config)
|
||||
'''
|
||||
''' The config object can be accessed in two ways:
|
||||
'''
|
||||
''' - My.ConfigManager.Config
|
||||
''' - My.Config (which simply points to My.ConfigManager.Config)
|
||||
'''
|
||||
''' After changing a config value, My.ConfigManager.Save() must be called to persist the change in the config file
|
||||
''' </summary>
|
||||
Public Class SystemConfig
|
||||
' === Service Configuration ===
|
||||
<GlobalSetting>
|
||||
Public Property AppServerConfig As String = String.Empty
|
||||
|
||||
' === Logging Configuration
|
||||
Public Property LogDebug As Boolean = False
|
||||
|
||||
' === User Configuration ===
|
||||
Public Property UserLanguage As String = "de-DE"
|
||||
|
||||
' === Product Configuration ===
|
||||
Public Property ProductPaths As New ClassProductPaths
|
||||
|
||||
Public Class ClassProductPaths
|
||||
Public ProcessManagerPath As String
|
||||
Public GlobalIndexerPath As String
|
||||
Public ClipboardWatcherPath As String
|
||||
End Class
|
||||
End Class
|
||||
28
GUIs.ZooFlow/Config/UIConfig.vb
Normal file
28
GUIs.ZooFlow/Config/UIConfig.vb
Normal file
@@ -0,0 +1,28 @@
|
||||
Public Class UIConfig
|
||||
Public Property FlowForm As New FlowFormConfig
|
||||
Public Property SearchForm As New SearchFormConfig
|
||||
Public Property Globix As New GlobixConfig
|
||||
|
||||
Public Property SidebarScreen As String
|
||||
Public Property SidebarOrientation As String
|
||||
|
||||
Public Class FlowFormConfig
|
||||
Public Property Location As New Point(0, 0)
|
||||
End Class
|
||||
Public Class SearchFormConfig
|
||||
Public Property Location As New Point(0, 0)
|
||||
Public Property Size As New Size(0, 0)
|
||||
Public Property OpenSearchInSameWindow As Boolean = False
|
||||
End Class
|
||||
Public Class GlobixConfig
|
||||
Public Property FilePreview As Boolean = True
|
||||
Public Property SplitterDistanceViewer As Integer = 500
|
||||
Public Property ProfilePreselection As Boolean = False
|
||||
Public Property ShowIndexResult As Boolean = True
|
||||
Public Property DeleteOriginalFile As Boolean = False
|
||||
Public Property TopMost As Boolean = True
|
||||
Public Property FolderWatchScanStarted As Boolean = False
|
||||
Public Property FolderWatchStarted As Boolean = False
|
||||
Public Property ShowSuccessMessageBox As Boolean = True
|
||||
End Class
|
||||
End Class
|
||||
Reference in New Issue
Block a user