myresources.vb

来自「vs 2005 中 用的 vb 示例 程序,测试运行良好,对初学者有一定参考价值」· VB 代码 · 共 85 行

VB
85
字号
'------------------------------------------------------------------------------
' <autogenerated>
'     This code was generated by a tool.
'     Runtime Version:2.0.40525.0
'
'     Changes to this file may cause incorrect behavior and will be lost if
'     the code is regenerated.
' </autogenerated>
'------------------------------------------------------------------------------

Option Strict Off
Option Explicit On

Imports System
Imports System.IO
Imports System.Resources

Namespace My.Resources
    
    '''<summary>
    '''   A strongly-typed resource class, for looking up localized strings, etc.
    '''</summary>
    'This class was auto-generated by the Strongly Typed Resource Builder
    'class via a tool like ResGen or Visual Studio.NET.
    'To add or remove a member, edit your .ResX file then rerun ResGen
    'with the /str option, or rebuild your VS project.
    <Microsoft.VisualBasic.HideModuleName()>  _
    Module MyResources
        
        Private _resMgr As System.Resources.ResourceManager
        
        Private _resCulture As System.Globalization.CultureInfo
        
        '''<summary>
        '''   Returns the cached ResourceManager instance used by this class.
        '''</summary>
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public ReadOnly Property ResourceManager() As System.Resources.ResourceManager
            Get
                If (_resMgr Is Nothing) Then
                    Dim temp As System.Resources.ResourceManager = New System.Resources.ResourceManager("EventBasedAsyncSampleVB.MyResources", GetType(MyResources).Assembly)
                    _resMgr = temp
                End If
                Return _resMgr
            End Get
        End Property
        
        '''<summary>
        '''   Overrides the current thread's CurrentUICulture property for all
        '''   resource lookups using this strongly typed resource class.
        '''</summary>
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Property Culture() As System.Globalization.CultureInfo
            Get
                Return _resCulture
            End Get
            Set
                _resCulture = value
            End Set
        End Property
        
        Public ReadOnly Property SampleBitmap() As System.Drawing.Bitmap
            Get
                Return CType(ResourceManager.GetObject("SampleBitmap", _resCulture),System.Drawing.Bitmap)
            End Get
        End Property
        
        '''<summary>
        '''   Looks up a localized string similar to "{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq1\fcharset0 Courier New;}{\f1\fswiss\fcharset0 Arial;}}
        '''{\colortbl ;\red0\green0\blue255;\red128\green0\blue0;\red255\green0\blue255;\red255\green0\blue0;\red0\green128\blue0;}
        '''{\*\generator Msftedit 5.41.15.1503;}\viewkind4\uc1\pard\cf1\f0\fs20 <%@\cf0  \cf2 WebService\cf3  \cf4 Language\cf1 ="VB"\cf3  \cf4 Class\cf1 ="SimpleWebService"\cf3  \cf1 %>\par
        '''\par
        '''Imports\cf0  System\par
        '''\cf1 Imports\cf0  System.Web.Services\par
        '''\par
        '''<WebServ [rest of String was truncated]".
        '''</summary>
        Public ReadOnly Property SimpleWebServiceSourceCode() As String
            Get
                Return ResourceManager.GetString("SimpleWebServiceSourceCode", _resCulture)
            End Get
        End Property
    End Module
End Namespace

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?