zoukankan      html  css  js  c++  java
  • AutoCAD.Net/C#.Net QQ群:193522571 定义资源项目时应注意,如果想要在其它命名空间调用,一定定义成public

      public class Resources
        public static global::System.Resources.ResourceManager ResourceManager
        public static global::System.Globalization.CultureInfo Culture
        public static System.Drawing.Bitmap
     
    //------------------------------------------------------------------------------
    // <auto-generated>
    //     此代码由工具生成。
    //     运行时版本:4.0.30319.42000
    //
    //     对此文件的更改可能会导致不正确的行为,并且如果
    //     重新生成代码,这些更改将会丢失。
    // </auto-generated>
    //------------------------------------------------------------------------------
    
    namespace MyDwg.Properties
    {
      using System;
    
    
      /// <summary>
      ///   一个强类型的资源类,用于查找本地化的字符串等。
      /// </summary>
      // 此类是由 StronglyTypedResourceBuilder
      // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
      // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
      // (以 /str 作为命令选项),或重新生成 VS 项目。
      [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
      [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
      public class Resources
      {
    
        private static global::System.Resources.ResourceManager resourceMan;
    
        private static global::System.Globalization.CultureInfo resourceCulture;
    
        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
        internal Resources()
        {
        }
    
        /// <summary>
        ///   返回此类使用的缓存的 ResourceManager 实例。
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        public static global::System.Resources.ResourceManager ResourceManager
        {
          get
          {
            if (object.ReferenceEquals(resourceMan, null))
            {
              global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MyDwg.Properties.Resources", typeof(Resources).Assembly);
              resourceMan = temp;
            }
            return resourceMan;
          }
        }
    
        /// <summary>
        ///   使用此强类型资源类,为所有资源查找
        ///   重写当前线程的 CurrentUICulture 属性。
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        public static global::System.Globalization.CultureInfo Culture
        {
          get
          {
            return resourceCulture;
          }
          set
          {
            resourceCulture = value;
          }
        }
    
        /// <summary>
        ///   查找 System.Drawing.Bitmap 类型的本地化资源。
        /// </summary>
        public static System.Drawing.Bitmap test_output
        {
          get
          {
            object obj = ResourceManager.GetObject("test_output", resourceCulture);
            return ((System.Drawing.Bitmap)(obj));
          }
        }
      }
    }
  • 相关阅读:
    SQL优化系列(三)- 用最少的索引获得最大的性能提升
    SQL优化系列(二)- 优化Top SQL
    SQL优化神器
    优化SQL之最快等价SQL
    ngnix反向代理导致请求头header中的信息丢失
    centos7安装docker
    (一)硬盘技术
    (四)存储行业基础知识
    (三)磁盘阵列技术
    硬盘的文件类型解释!
  • 原文地址:https://www.cnblogs.com/swtool/p/15229591.html
Copyright © 2011-2022 走看看