'------------------------------------------------------------------------------
'
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
'
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Namespace My
_
Partial Friend NotInheritable Class MySettings
Inherits Global.System.Configuration.ApplicationSettingsBase
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
#Region "My.Settings Auto-Save Functionality"
#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 MySettings
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 Property MyConnectionString() As String
Get
Return CType(Me("MyConnectionString"),String)
End Get
Set
Me("MyConnectionString") = value
End Set
End Property
_
Public Property MyServer() As String
Get
Return CType(Me("MyServer"),String)
End Get
Set
Me("MyServer") = value
End Set
End Property
_
Public Property EmailTest_Receipiant() As String
Get
Return CType(Me("EmailTest_Receipiant"),String)
End Get
Set
Me("EmailTest_Receipiant") = value
End Set
End Property
_
Public ReadOnly Property FB_DATABASE() As String
Get
Return CType(Me("FB_DATABASE"),String)
End Get
End Property
_
Public ReadOnly Property FB_DATASOURCE() As String
Get
Return CType(Me("FB_DATASOURCE"),String)
End Get
End Property
_
Public ReadOnly Property FB_USER() As String
Get
Return CType(Me("FB_USER"),String)
End Get
End Property
_
Public ReadOnly Property FB_PW() As String
Get
Return CType(Me("FB_PW"),String)
End Get
End Property
_
Public Property MyTestHTML() As String
Get
Return CType(Me("MyTestHTML"),String)
End Get
Set
Me("MyTestHTML") = value
End Set
End Property
_
Public ReadOnly Property USE_WM() As Boolean
Get
Return CType(Me("USE_WM"),Boolean)
End Get
End Property
_
Public Property DEBUG() As Boolean
Get
Return CType(Me("DEBUG"),Boolean)
End Get
Set
Me("DEBUG") = value
End Set
End Property
_
Public ReadOnly Property EML_LIMITATION_SENDER() As String
Get
Return CType(Me("EML_LIMITATION_SENDER"),String)
End Get
End Property
_
Public ReadOnly Property MyDatasetConnString() As String
Get
Return CType(Me("MyDatasetConnString"),String)
End Get
End Property
End Class
End Namespace
Namespace My
_
Friend Module MySettingsProperty
_
Friend ReadOnly Property Settings() As Global.EmailProfiler.Form.My.MySettings
Get
Return Global.EmailProfiler.Form.My.MySettings.Default
End Get
End Property
End Module
End Namespace