'------------------------------------------------------------------------------ ' ' Dieser Code wurde von einem Tool generiert. ' Laufzeitversion:4.0.30319.42000 ' ' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn ' der Code erneut generiert wird. ' '------------------------------------------------------------------------------ Option Strict On Option Explicit On _ Partial Friend NotInheritable Class Settings Inherits Global.System.Configuration.ApplicationSettingsBase Private Shared defaultInstance As Settings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New Settings()),Settings) #Region "Automatische My.Settings-Speicherfunktion" #If _MyType = "WindowsForms" Then Private Shared addedHandler As Boolean Private Shared addedHandlerLockObject As New Object _ Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs) If My.Application.SaveMySettingsOnExit Then My.Settings.Save() End If End Sub #End If #End Region Public Shared ReadOnly Property [Default]() As Settings Get #If _MyType = "WindowsForms" Then If Not addedHandler Then SyncLock addedHandlerLockObject If Not addedHandler Then AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings addedHandler = True End If End SyncLock End If #End If Return defaultInstance End Get End Property _ Public ReadOnly Property IDBConnectionStringDEFAULT() As String Get Return CType(Me("IDBConnectionStringDEFAULT"),String) End Get End Property _ Public ReadOnly Property UseAppConfigConString() As Boolean Get Return CType(Me("UseAppConfigConString"),Boolean) End Get End Property _ Public ReadOnly Property ECMConnectionStringDEFAULT() As String Get Return CType(Me("ECMConnectionStringDEFAULT"),String) End Get End Property _ Public ReadOnly Property DD_ECMConnectionString() As String Get Return CType(Me("DD_ECMConnectionString"),String) End Get End Property _ Public Property IDBOBJID() As String Get Return CType(Me("IDBOBJID"),String) End Get Set Me("IDBOBJID") = value End Set End Property End Class Namespace My _ Friend Module MySettingsProperty _ Friend ReadOnly Property Settings() As Global.DigitalData.GUIs.ZooFlow.Settings Get Return Global.DigitalData.GUIs.ZooFlow.Settings.Default End Get End Property End Module End Namespace