Alan,
There might be as many resources as you want with one application. the
resources can be stored in on the disk as resx files, embeded in the an
assembly, in satellite assembly, etc. I addtion any files that you want
can be added as a embedded resource to your assembly.
The resource file the windows forms form or user control uses to store
localized proeprty values is hidden by default. In order to see it click
on the "Show All Files" button from the solution explorer toolbar. Then
you can see [+] sign next to the form or user control node on the tree.
Expand the node and you'll see the resx file.
In order to read resource at runtime you can use the ResourceManager class
or alternatively you can use Assembly.GetManifestResourceStream method.
My suggestion is to turn on the localization on some test form and look at
the InitializeComponent method the code that VS generates.
--
HTH
Stoitcho Goutsev (100)
Alan T said:
How do I read the resource file of a Windows Form? Is that with
extension.resx ?