Q&A
| Q1: | Is it possible to have multiple forms with multiple locales running in the same Windows Forms application? |
A1: | Yes, that's 100% possible. Because the running thread defines the CurrentUICulture, you can create a new thread in your application to display another locale. The following pseudo-code does just that:
In the code for the individual threads, you could create a new ResourceManager instance to retrieve the culture specific resources from the XML-based resource assembly file. |
| Q2: | This stuff seems easy enough. Is there anything you aren't telling me? |
A2: | Not really. The only thing left to study is how to write language-neutral code for things such as sorting and string comparisons. Each language is very different in those respects. If you need to do only a basic display of data, and make sure that the formatting is correct, you can use today's lesson chapter as your tutor. If your needs are greater than that, the Framework SDK has a huge amount of information about globalization.If you do a search for globalization or CultureInfo or System.Globalization, you'll find everything that you'll ever need to know about globalization in .NET. |
• Table of Contents
• Index
Sams Teach Yourself Visual Studio® .NET 2003 in 21 Days
By
Jason Beres
Publisher
: Sams Publishing
Pub Date
: January 14, 2003
ISBN
: 0-672-32421-0
Pages
: 696
Sams Teach Yourself Visual Studio .NET in 21 Days will help developers that are new to application development and experienced developers understand how to use the .NET Framework and Visual Studio .NET to rapidly develop any type of computer application. The Visual Studio .NET development environment is the most comprehensive developer tool ever created, putting that together with the .NET Frameworks' Class Libraries, the developer has everything he or she needs to get up-to-speed on Microsoft's latest revolution in application development. This book will guide the developer through using the VS .NET IDE, the Visual Basic .NET and C# language, and the supporting tools available from Microsoft to create Windows and Web-based applications. The market is full of books that pretty much say the same thing, which is already available in the help files, the author of this book has written and deployed over a dozen successful applications using Visual Studio .NET and the .NET Framework. All of his expertise and experience is used to give you the most comprehensive title on using Visual Studio .NET.