using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Resources;
using System.Threading;
using System.Globalization;
using System.Reflection;
public class MainClass
{
[STAThread]
static void Main()
{
// set UI culture
Thread.CurrentThread.CurrentUICulture = new CultureInfo( "ja" );
// create a resourcemanager to load satellite assembly
ResourceManager resMan = new ResourceManager( "SatelliteAssemblyClient.MyResources", Assembly.GetExecutingAssembly() );
// set picture box
(Image) resMan.GetObject( "flag" );
// set label
resMan.GetString( "Hello" );
}
}
/*
File: SatelliteAssembly\MyResources.ja.txt
Hello=Hello World
*/
|