PageRenderTime 22ms CodeModel.GetById 14ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 1ms

/ghost configurator/ghost configurator/My Project/Settings.Designer.vb

http://ghostcb.googlecode.com/
Visual Basic | 133 lines | 106 code | 18 blank | 9 comment | 0 complexity | 54c81011070ff076d7b242f3b2c0a767 MD5 | raw file
  1'------------------------------------------------------------------------------
  2' <auto-generated>
  3'     Dieser Code wurde von einem Tool generiert.
  4'     Laufzeitversion:2.0.50727.4927
  5'
  6'     Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
  7'     der Code erneut generiert wird.
  8' </auto-generated>
  9'------------------------------------------------------------------------------
 10
 11Option Strict On
 12Option Explicit On
 13
 14
 15Namespace My
 16    
 17    <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(),  _
 18     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0"),  _
 19     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)>  _
 20    Partial Friend NotInheritable Class MySettings
 21        Inherits Global.System.Configuration.ApplicationSettingsBase
 22        
 23        Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings),MySettings)
 24        
 25#Region "Funktion zum automatischen Speichern von My.Settings"
 26#If _MyType = "WindowsForms" Then
 27    Private Shared addedHandler As Boolean
 28
 29    Private Shared addedHandlerLockObject As New Object
 30
 31    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
 32    Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
 33        If My.Application.SaveMySettingsOnExit Then
 34            My.Settings.Save()
 35        End If
 36    End Sub
 37#End If
 38#End Region
 39        
 40        Public Shared ReadOnly Property [Default]() As MySettings
 41            Get
 42                
 43#If _MyType = "WindowsForms" Then
 44               If Not addedHandler Then
 45                    SyncLock addedHandlerLockObject
 46                        If Not addedHandler Then
 47                            AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
 48                            addedHandler = True
 49                        End If
 50                    End SyncLock
 51                End If
 52#End If
 53                Return defaultInstance
 54            End Get
 55        End Property
 56        
 57        <Global.System.Configuration.UserScopedSettingAttribute(),  _
 58         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
 59         Global.System.Configuration.DefaultSettingValueAttribute("")>  _
 60        Public Property DefaultCfgPath() As String
 61            Get
 62                Return CType(Me("DefaultCfgPath"),String)
 63            End Get
 64            Set
 65                Me("DefaultCfgPath") = value
 66            End Set
 67        End Property
 68        
 69        <Global.System.Configuration.UserScopedSettingAttribute(),  _
 70         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
 71         Global.System.Configuration.DefaultSettingValueAttribute("False")>  _
 72        Public Property UpToDate() As Boolean
 73            Get
 74                Return CType(Me("UpToDate"),Boolean)
 75            End Get
 76            Set
 77                Me("UpToDate") = value
 78            End Set
 79        End Property
 80        
 81        <Global.System.Configuration.UserScopedSettingAttribute(),  _
 82         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
 83         Global.System.Configuration.DefaultSettingValueAttribute("")>  _
 84        Public Property MyCfgPath() As String
 85            Get
 86                Return CType(Me("MyCfgPath"),String)
 87            End Get
 88            Set
 89                Me("MyCfgPath") = value
 90            End Set
 91        End Property
 92        
 93        <Global.System.Configuration.UserScopedSettingAttribute(),  _
 94         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
 95         Global.System.Configuration.DefaultSettingValueAttribute("")>  _
 96        Public Property GhostExePath() As String
 97            Get
 98                Return CType(Me("GhostExePath"),String)
 99            End Get
100            Set
101                Me("GhostExePath") = value
102            End Set
103        End Property
104        
105        <Global.System.Configuration.UserScopedSettingAttribute(),  _
106         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
107         Global.System.Configuration.DefaultSettingValueAttribute("True")>  _
108        Public Property DualCfgMode() As Boolean
109            Get
110                Return CType(Me("DualCfgMode"),Boolean)
111            End Get
112            Set
113                Me("DualCfgMode") = value
114            End Set
115        End Property
116    End Class
117End Namespace
118
119Namespace My
120    
121    <Global.Microsoft.VisualBasic.HideModuleNameAttribute(),  _
122     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
123     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()>  _
124    Friend Module MySettingsProperty
125        
126        <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")>  _
127        Friend ReadOnly Property Settings() As Global.ghost_configurator.My.MySettings
128            Get
129                Return Global.ghost_configurator.My.MySettings.Default
130            End Get
131        End Property
132    End Module
133End Namespace