What’s the use of resource manager class
What’s the use of resource manager class?
ResourceManager class helps us to read the resource files and get the values using key.
First you need to create the object of resource manager. You need to specify the resource name and the assembly in the constructor.
private ResourceManager objResourceManager = new ResourceManager("Globalization.resource",System.Reflection.Assembly.GetExecutingAssembly());
Once the resource manager is populated with details you can then use the GetString function to get by key. For instance in the below code snippet we are using the
“cmdAddNew” key to get the value for button “cmdAddNew”.
cmdAddNew.Text = objResourceManager.GetString("cmdAddNew");
2007-11-01, 5056👍, 0💬
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]? a[i] == *...
What is thread? A thread is an independent path of execution in a system.
How To Run "mysql" Commands from a Batch File? - MySQL FAQs - Command-Line End User Interface mysql ...
How to convert a Unix timestamp to a Win32 FILETIME or SYSTEMTIME? The following function converts a...
What is the result of using Option Explicit? When writing your C program, you can include files in t...