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();
}
}
|