Make a resx writer and specify the file to write to : Resx « GUI Windows Forms « C# / CSharp Tutorial






using System;

using System.Resources;

using System.Drawing;
using System.Collections;
using System.Windows.Forms;

public class MainClass{
  public static void Main(){
    
    ResXResourceWriter w = new ResXResourceWriter("ResXForm.resx");

    Image i = new Bitmap("YourFile.bmp");
    w.AddResource("happyDude", i);
    
    w.AddResource("welcomeString", "Hello new resource format!");

    w.Generate();
    w.Close();
  }
}








23.73.Resx
23.73.1.Create a Resx resource file
23.73.2.Make a resx writer and specify the file to write to
23.73.3.ResXResourceWriter and ResXResourceReader