Settings.Designer.vb
上传用户:szledliu
上传日期:2021-01-29
资源大小:13805k
文件大小:12k
源码类别:

C#编程

开发平台:

C#

  1. '------------------------------------------------------------------------------
  2. ' <auto-generated>
  3. '     This code was generated by a tool.
  4. '     Runtime Version:2.0.50727.42
  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.     
  14.     <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(),  _
  15.      Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0"),  _
  16.      Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)>  _
  17.     Partial Friend NotInheritable Class MySettings
  18.         Inherits Global.System.Configuration.ApplicationSettingsBase
  19.         
  20.         Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings),MySettings)
  21.         
  22. #Region "My.Settings Auto-Save Functionality"
  23. #If _MyType = "WindowsForms" Then
  24.     Private Shared addedHandler As Boolean
  25.     Private Shared addedHandlerLockObject As New Object
  26.     <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
  27.     Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
  28.         If My.Application.SaveMySettingsOnExit Then
  29.             My.Settings.Save()
  30.         End If
  31.     End Sub
  32. #End If
  33. #End Region
  34.         
  35.         Public Shared ReadOnly Property [Default]() As MySettings
  36.             Get
  37.                 
  38. #If _MyType = "WindowsForms" Then
  39.                If Not addedHandler Then
  40.                     SyncLock addedHandlerLockObject
  41.                         If Not addedHandler Then
  42.                             AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
  43.                             addedHandler = True
  44.                         End If
  45.                     End SyncLock
  46.                 End If
  47. #End If
  48.                 Return defaultInstance
  49.             End Get
  50.         End Property
  51.         
  52.         <Global.System.Configuration.UserScopedSettingAttribute(),  _
  53.          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
  54.          Global.System.Configuration.DefaultSettingValueAttribute("True")>  _
  55.         Public Property PopUpBlockerEnabled() As Boolean
  56.             Get
  57.                 Return CType(Me("PopUpBlockerEnabled"),Boolean)
  58.             End Get
  59.             Set
  60.                 Me("PopUpBlockerEnabled") = value
  61.             End Set
  62.         End Property
  63.         
  64.         <Global.System.Configuration.UserScopedSettingAttribute(),  _
  65.          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
  66.          Global.System.Configuration.DefaultSettingValueAttribute("False")>  _
  67.         Public Property PopSound() As Boolean
  68.             Get
  69.                 Return CType(Me("PopSound"),Boolean)
  70.             End Get
  71.             Set
  72.                 Me("PopSound") = value
  73.             End Set
  74.         End Property
  75.         
  76.         <Global.System.Configuration.UserScopedSettingAttribute(),  _
  77.          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
  78.          Global.System.Configuration.DefaultSettingValueAttribute("True")>  _
  79.         Public Property PopInfoBar() As Boolean
  80.             Get
  81.                 Return CType(Me("PopInfoBar"),Boolean)
  82.             End Get
  83.             Set
  84.                 Me("PopInfoBar") = value
  85.             End Set
  86.         End Property
  87.         
  88.         <Global.System.Configuration.UserScopedSettingAttribute(),  _
  89.          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
  90.          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."& _ 
  91.             "org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"  <s"& _ 
  92.             "tring>www.google.com</string>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"  <string>www.msdn.com</string>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"</ArrayOfString>"& _ 
  93.             "")>  _
  94.         Public Property AllowedPopSites() As Global.System.Collections.Specialized.StringCollection
  95.             Get
  96.                 Return CType(Me("AllowedPopSites"),Global.System.Collections.Specialized.StringCollection)
  97.             End Get
  98.             Set
  99.                 Me("AllowedPopSites") = value
  100.             End Set
  101.         End Property
  102.         
  103.         <Global.System.Configuration.UserScopedSettingAttribute(),  _
  104.          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
  105.          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."& _ 
  106.             "org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"  <s"& _ 
  107.             "tring>www.playboy.com</string>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"</ArrayOfString>")>  _
  108.         Public Property BlockedSites() As Global.System.Collections.Specialized.StringCollection
  109.             Get
  110.                 Return CType(Me("BlockedSites"),Global.System.Collections.Specialized.StringCollection)
  111.             End Get
  112.             Set
  113.                 Me("BlockedSites") = value
  114.             End Set
  115.         End Property
  116.         
  117.         <Global.System.Configuration.UserScopedSettingAttribute(),  _
  118.          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
  119.          Global.System.Configuration.DefaultSettingValueAttribute("True")>  _
  120.         Public Property UseInternalMenu() As Boolean
  121.             Get
  122.                 Return CType(Me("UseInternalMenu"),Boolean)
  123.             End Get
  124.             Set
  125.                 Me("UseInternalMenu") = value
  126.             End Set
  127.         End Property
  128.         
  129.         <Global.System.Configuration.UserScopedSettingAttribute(),  _
  130.          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
  131.          Global.System.Configuration.DefaultSettingValueAttribute("True")>  _
  132.         Public Property ShowTags() As Boolean
  133.             Get
  134.                 Return CType(Me("ShowTags"),Boolean)
  135.             End Get
  136.             Set
  137.                 Me("ShowTags") = value
  138.             End Set
  139.         End Property
  140.         
  141.         <Global.System.Configuration.UserScopedSettingAttribute(),  _
  142.          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
  143.          Global.System.Configuration.DefaultSettingValueAttribute("True")>  _
  144.         Public Property SupressScriptErrs() As Boolean
  145.             Get
  146.                 Return CType(Me("SupressScriptErrs"),Boolean)
  147.             End Get
  148.             Set
  149.                 Me("SupressScriptErrs") = value
  150.             End Set
  151.         End Property
  152.         
  153.         <Global.System.Configuration.UserScopedSettingAttribute(),  _
  154.          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
  155.          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."& _ 
  156.             "org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"  <s"& _ 
  157.             "tring>.zip</string>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"  <string>.exe</string>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"  <string>.msi</string>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"  <string"& _ 
  158.             ">.rar</string>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"</ArrayOfString>")>  _
  159.         Public Property FilesToDL() As Global.System.Collections.Specialized.StringCollection
  160.             Get
  161.                 Return CType(Me("FilesToDL"),Global.System.Collections.Specialized.StringCollection)
  162.             End Get
  163.             Set
  164.                 Me("FilesToDL") = value
  165.             End Set
  166.         End Property
  167.         
  168.         <Global.System.Configuration.UserScopedSettingAttribute(),  _
  169.          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
  170.          Global.System.Configuration.DefaultSettingValueAttribute("True")>  _
  171.         Public Property UseDLManager() As Boolean
  172.             Get
  173.                 Return CType(Me("UseDLManager"),Boolean)
  174.             End Get
  175.             Set
  176.                 Me("UseDLManager") = value
  177.             End Set
  178.         End Property
  179.         
  180.         <Global.System.Configuration.UserScopedSettingAttribute(),  _
  181.          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
  182.          Global.System.Configuration.DefaultSettingValueAttribute("True")>  _
  183.         Public Property UseStartPage() As Boolean
  184.             Get
  185.                 Return CType(Me("UseStartPage"),Boolean)
  186.             End Get
  187.             Set
  188.                 Me("UseStartPage") = value
  189.             End Set
  190.         End Property
  191.         
  192.         <Global.System.Configuration.UserScopedSettingAttribute(),  _
  193.          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
  194.          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."& _ 
  195.             "org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"  <s"& _ 
  196.             "tring>http://www.playboy.com</string>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"</ArrayOfString>")>  _
  197.         Public Property PhishingSites() As Global.System.Collections.Specialized.StringCollection
  198.             Get
  199.                 Return CType(Me("PhishingSites"),Global.System.Collections.Specialized.StringCollection)
  200.             End Get
  201.             Set
  202.                 Me("PhishingSites") = value
  203.             End Set
  204.         End Property
  205.         
  206.         <Global.System.Configuration.UserScopedSettingAttribute(),  _
  207.          Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
  208.          Global.System.Configuration.DefaultSettingValueAttribute("True")>  _
  209.         Public Property UsePhishingFilter() As Boolean
  210.             Get
  211.                 Return CType(Me("UsePhishingFilter"),Boolean)
  212.             End Get
  213.             Set
  214.                 Me("UsePhishingFilter") = value
  215.             End Set
  216.         End Property
  217.     End Class
  218. End Namespace
  219. Namespace My
  220.     
  221.     <Global.Microsoft.VisualBasic.HideModuleNameAttribute(),  _
  222.      Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
  223.      Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()>  _
  224.     Friend Module MySettingsProperty
  225.         
  226.         <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")>  _
  227.         Friend ReadOnly Property Settings() As Global.Ie7Clone.My.MySettings
  228.             Get
  229.                 Return Global.Ie7Clone.My.MySettings.Default
  230.             End Get
  231.         End Property
  232.     End Module
  233. End Namespace