Custom Resource Managers Examples


Before we embark on writing our first custom resource manager, you might like to look at the demo program in the source code for this book. The Custom Resource Managers Examples application (see Figure 12.4) enables you to experiment with the completed resource managers, and you may find this helpful in visualizing their operation and behavior.

Figure 12.4. Custom Resource Managers Examples Application


To use the DbResourceManager, you first need to create the required SQL Server database and fill it with data. You can do this by clicking on the Create Example Database button. This creates the "CustomResourceManagersExample" database. You can verify that the resource manager is reading from the database by changing the contents of the ResourceSets table and observing the changes in the demo program. This is particularly effective when changing the entries for "Form2" (you can see Form2 by clicking on the "Show Form2" button).




.NET Internationalization(c) The Developer's Guide to Building Global Windows and Web Applications
.NET Internationalization: The Developers Guide to Building Global Windows and Web Applications
ISBN: 0321341384
EAN: 2147483647
Year: 2006
Pages: 213

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net