This documentation is archived and is not being maintained.

MultilingualForm Sample: Demonstrates Creating and Localizing Windows Forms

Visual Studio .NET 2003

The MultilingualForm sample demonstrates creating and localizing windows forms. It shows how to use the Windows Forms designer to create, edit, and build localized applications.

For more information about localized applications, see Globalizing and Localizing.

Building and Running the Sample

To build and run this sample

  1. Open the solution MultilingualForm.sln.
  2. From the Build menu, click Build Solution.
  3. From the Debug menu, click Start Without Debugging.
  4. To see a different culture's resources, type a valid RFC 1766 culture name into the edit box and click the switch button. (This sample only comes with resources for "en-US" and "ko-KR".)

To localize your own Windows Forms or Web Forms

  1. Select the form to be localized in the appropriate forms designer.
  2. Set the form's Localizable property to true.
  3. For each language you want to localize to, do the following:
    1. Set the form's Language property to the desired language.
    2. Enter the new text in the new language for each control.

    You can also change the appearance of the form's controls (size, position, and so on) for each language.

Classes and Keywords

This sample demonstrates the following classes:


This sample demonstrates the following keywords:

System.Windows.Forms.Form.Localizable; System.Windows.Forms.Form.Language; System.Resources; System.Resources.ResourceManager

See Also

Visual C# Samples | General Samples | Windows Forms: Multilingual Form Sample (Visual Basic)