PageRenderTime 32ms CodeModel.GetById 11ms app.highlight 13ms RepoModel.GetById 2ms app.codeStats 0ms

/Source Code/PowerSong/My Project/Settings.Designer.vb

#
Visual Basic | 86 lines | 63 code | 14 blank | 9 comment | 0 complexity | df10865c096dc71078b3c6c6dbc58fd0 MD5 | raw file
 1'------------------------------------------------------------------------------
 2' <auto-generated>
 3'     This code was generated by a tool.
 4'     Runtime Version:4.0.30319.1
 5'
 6'     Changes to this file may cause incorrect behavior and will be lost if
 7'     the code is regenerated.
 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", "10.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 "My.Settings Auto-Save Functionality"
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("<?xml version=""1.0"" encoding=""utf-16""?>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"<ArrayOfString xmlns:xsi=""http://www.w3."& _ 
60            "org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"" />")>  _
61        Public Property DisabledFunctionality() As Global.System.Collections.Specialized.StringCollection
62            Get
63                Return CType(Me("DisabledFunctionality"),Global.System.Collections.Specialized.StringCollection)
64            End Get
65            Set
66                Me("DisabledFunctionality") = value
67            End Set
68        End Property
69    End Class
70End Namespace
71
72Namespace My
73    
74    <Global.Microsoft.VisualBasic.HideModuleNameAttribute(),  _
75     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
76     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()>  _
77    Friend Module MySettingsProperty
78        
79        <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")>  _
80        Friend ReadOnly Property Settings() As Global.PowerSong.UserInterface.My.MySettings
81            Get
82                Return Global.PowerSong.UserInterface.My.MySettings.Default
83            End Get
84        End Property
85    End Module
86End Namespace