Generate resource file with image : Resource ResX : Development Class C# Source Code


Custom Search

C# Source Code » Development Class » Resource ResX »

 

Generate resource file with image








    

  using System;
  using System.Resources;
  using System.Drawing;
  using System.Windows.Forms;
  using System.Reflection;

  class ResourceGenerator
  {
    static void Main(string[] args)
    {
      ResourceWriter rw;
      rw = new ResourceWriter("myResources.resources");

      rw.AddResource("anImage", new Bitmap("winter.jpg"));

      rw.AddResource("welcomeString", "www.navioo.com");
      rw.Generate();

    }
  }


           
       
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Development Class
» Resource ResX