Settings.Designer.vb 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. '------------------------------------------------------------------------------
  2. ' <auto-generated>
  3. ' Ce code a été généré par un outil.
  4. ' Version du runtime :2.0.50727.4927
  5. '
  6. ' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
  7. ' le code est régénéré.
  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 "Fonctionnalité Enregistrement automatique My.Settings"
  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 Path() As String
  50. Get
  51. Return CType(Me("Path"),String)
  52. End Get
  53. Set
  54. Me("Path") = value
  55. End Set
  56. End Property
  57. <Global.System.Configuration.UserScopedSettingAttribute(), _
  58. Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  59. Global.System.Configuration.DefaultSettingValueAttribute("1.2.01")> _
  60. Public Property Version() As String
  61. Get
  62. Return CType(Me("Version"),String)
  63. End Get
  64. Set
  65. Me("Version") = value
  66. End Set
  67. End Property
  68. End Class
  69. End Namespace
  70. Namespace My
  71. <Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
  72. Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  73. Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
  74. Friend Module MySettingsProperty
  75. <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
  76. Friend ReadOnly Property Settings() As Global.Minecraft_launcher.My.MySettings
  77. Get
  78. Return Global.Minecraft_launcher.My.MySettings.Default
  79. End Get
  80. End Property
  81. End Module
  82. End Namespace