Hi,
I am messing about using resource file.
I have the following code:
Assembly assembly = Assembly.GetExe cutingAssembly( );
rm = new ResourceManager ("ResourceDemo. demo", assembly);
txtBoxTitle.Tex t = rm.getString("T itle");
This works no problem, but what i would like to do is make a resource
editor, where any resource file can be loaded. the problem is the names of
any of the resources wont be known. (The hardcoded "Title" for example.
Is there a way of of getting the values from the resource file ?
If I have a file with the following:
UserName = "Steven"
I want to load this value without having to do this:
txtBoxTitle.Tex t = rm.getString("U serName");
Hopefully something like, rm.GET_ITEM(i) or something like that.
Hope that makes sense
Steven
I am messing about using resource file.
I have the following code:
Assembly assembly = Assembly.GetExe cutingAssembly( );
rm = new ResourceManager ("ResourceDemo. demo", assembly);
txtBoxTitle.Tex t = rm.getString("T itle");
This works no problem, but what i would like to do is make a resource
editor, where any resource file can be loaded. the problem is the names of
any of the resources wont be known. (The hardcoded "Title" for example.
Is there a way of of getting the values from the resource file ?
If I have a file with the following:
UserName = "Steven"
I want to load this value without having to do this:
txtBoxTitle.Tex t = rm.getString("U serName");
Hopefully something like, rm.GET_ITEM(i) or something like that.
Hope that makes sense
Steven
Comment