PageRenderTime 37ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/TumbleDeck/My Project/Settings.Designer.vb

#
Visual Basic | 169 lines | 139 code | 21 blank | 9 comment | 0 complexity | fc6819215d389031e65ea1f58b0a130d MD5 | raw file
  1. '------------------------------------------------------------------------------
  2. ' <auto-generated>
  3. ' This code was generated by a tool.
  4. ' Runtime Version:2.0.50727.4216
  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. Option Strict On
  11. Option Explicit On
  12. Namespace My
  13. <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
  14. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0"), _
  15. Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
  16. Partial Friend NotInheritable Class MySettings
  17. Inherits Global.System.Configuration.ApplicationSettingsBase
  18. Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings),MySettings)
  19. #Region "My.Settings Auto-Save Functionality"
  20. #If _MyType = "WindowsForms" Then
  21. Private Shared addedHandler As Boolean
  22. Private Shared addedHandlerLockObject As New Object
  23. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
  24. Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
  25. If My.Application.SaveMySettingsOnExit Then
  26. My.Settings.Save()
  27. End If
  28. End Sub
  29. #End If
  30. #End Region
  31. Public Shared ReadOnly Property [Default]() As MySettings
  32. Get
  33. #If _MyType = "WindowsForms" Then
  34. If Not addedHandler Then
  35. SyncLock addedHandlerLockObject
  36. If Not addedHandler Then
  37. AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
  38. addedHandler = True
  39. End If
  40. End SyncLock
  41. End If
  42. #End If
  43. Return defaultInstance
  44. End Get
  45. End Property
  46. <Global.System.Configuration.UserScopedSettingAttribute(), _
  47. Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  48. Global.System.Configuration.DefaultSettingValueAttribute("")> _
  49. Public Property Email() As String
  50. Get
  51. Return CType(Me("Email"),String)
  52. End Get
  53. Set
  54. Me("Email") = value
  55. End Set
  56. End Property
  57. <Global.System.Configuration.UserScopedSettingAttribute(), _
  58. Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  59. Global.System.Configuration.DefaultSettingValueAttribute("")> _
  60. Public Property Password() As String
  61. Get
  62. Return CType(Me("Password"),String)
  63. End Get
  64. Set
  65. Me("Password") = value
  66. End Set
  67. End Property
  68. <Global.System.Configuration.UserScopedSettingAttribute(), _
  69. Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  70. Global.System.Configuration.DefaultSettingValueAttribute("False")> _
  71. Public Property AlwaysOnTop() As Boolean
  72. Get
  73. Return CType(Me("AlwaysOnTop"),Boolean)
  74. End Get
  75. Set
  76. Me("AlwaysOnTop") = value
  77. End Set
  78. End Property
  79. <Global.System.Configuration.UserScopedSettingAttribute(), _
  80. Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  81. Global.System.Configuration.DefaultSettingValueAttribute("")> _
  82. Public Property OAuthToken() As String
  83. Get
  84. Return CType(Me("OAuthToken"),String)
  85. End Get
  86. Set
  87. Me("OAuthToken") = value
  88. End Set
  89. End Property
  90. <Global.System.Configuration.UserScopedSettingAttribute(), _
  91. Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  92. Global.System.Configuration.DefaultSettingValueAttribute("")> _
  93. Public Property OAuthTokenSecret() As String
  94. Get
  95. Return CType(Me("OAuthTokenSecret"),String)
  96. End Get
  97. Set
  98. Me("OAuthTokenSecret") = value
  99. End Set
  100. End Property
  101. <Global.System.Configuration.UserScopedSettingAttribute(), _
  102. Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  103. Global.System.Configuration.DefaultSettingValueAttribute("")> _
  104. Public Property TumblarityScore() As String
  105. Get
  106. Return CType(Me("TumblarityScore"),String)
  107. End Get
  108. Set
  109. Me("TumblarityScore") = value
  110. End Set
  111. End Property
  112. <Global.System.Configuration.UserScopedSettingAttribute(), _
  113. Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  114. Global.System.Configuration.DefaultSettingValueAttribute("False")> _
  115. Public Property MinimizeToTray() As Boolean
  116. Get
  117. Return CType(Me("MinimizeToTray"),Boolean)
  118. End Get
  119. Set
  120. Me("MinimizeToTray") = value
  121. End Set
  122. End Property
  123. <Global.System.Configuration.UserScopedSettingAttribute(), _
  124. Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  125. Global.System.Configuration.DefaultSettingValueAttribute("False")> _
  126. Public Property AutomaticLogIn() As Boolean
  127. Get
  128. Return CType(Me("AutomaticLogIn"),Boolean)
  129. End Get
  130. Set
  131. Me("AutomaticLogIn") = value
  132. End Set
  133. End Property
  134. End Class
  135. End Namespace
  136. Namespace My
  137. <Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
  138. Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  139. Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
  140. Friend Module MySettingsProperty
  141. <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
  142. Friend ReadOnly Property Settings() As Global.TumbleDeck.My.MySettings
  143. Get
  144. Return Global.TumbleDeck.My.MySettings.Default
  145. End Get
  146. End Property
  147. End Module
  148. End Namespace