-
ResourceManager GetString problem...
Hi.
I have a messagebox with some text in 2 lines like this...
MessageBox.Show("ErrorText\nProceed?");
The \n causes a linebreak but I now want to switch to using resourcemanager for this string and when I insert it
using the following code it prints everything on one line ignoring the fact that \n should cause linebreak.
//In the form
MessageBox.Show(resManager.GetString("DeleteMessage");
//In the XML resource file
<data name="DeleteMessage">
<value>ErrorText\nProceed?</value>
</data>
How do I get this to work?
Regards
<PW>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks