M
MySelf
Hello,
I am working on a winform app in which I display some text in RTF text
boxes. In particular, I use \n\r chars to skip lines ...
If I directly store theses texts in string objects, the display is
correct and the lines are correctly skipped.
But now I want to store the RTF strings in a RESX resource file. Now I
recover them with
string s = nameOfMyResourceFile.NameOfMyString;
But if I send the recovered string to my RTF textbox, the text is
displayed as simple text, and \n\r chars are displayed in spite of
being interpreted to skip lines.
So how can I store the RTF string in a RESX file, and recover them as
RTF text that can be correctly display in RTF textboxes ?$
Thank you for any help.
I am working on a winform app in which I display some text in RTF text
boxes. In particular, I use \n\r chars to skip lines ...
If I directly store theses texts in string objects, the display is
correct and the lines are correctly skipped.
But now I want to store the RTF strings in a RESX resource file. Now I
recover them with
string s = nameOfMyResourceFile.NameOfMyString;
But if I send the recovered string to my RTF textbox, the text is
displayed as simple text, and \n\r chars are displayed in spite of
being interpreted to skip lines.
So how can I store the RTF string in a RESX file, and recover them as
RTF text that can be correctly display in RTF textboxes ?$
Thank you for any help.