This method is only applicable to the forms called by initializecomponent that contain system. Resources. ResourceManager.
1. Convert the resource file format to. Resources (Binary) file to. resx file (XML)
Use resgen.exe under Program Files \ Microsoft Visual Studio. NET 2003 \ SDK \ V1.1 \ bin
Format: resgen *. Resources *. resx (The. resx file should be the same as the form. CS file)
See:
Http://www.microsoft.com/china/community/program/originalarticles/techdoc/how_resourcefile.mspx
2. Replace the object manager in the initializecomponent method with resources (yes, only replace the variable name pai_^)
3. Place the resource file. resx in the same folder as the form file. CS.
4. exclude all forms (. CS) from the project, and then add (this saves the process of ing the. resx file to. csproj ).
This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/102442/archive/2008/04/27/2333726.aspx