[Mono-winforms-list] PictureBox, Resources and RTF text box problems
pjohnson1 at uclan.ac.uk
Wed Feb 3 09:44:27 EST 2010
Two questions which my frazzled brain isn't coping with...
I have a pile of resources for a project which the resource manager handles
quite nicely. I have an XML file which contains the name of the resource,
but stored as a string rather than as an Image (it's the name of the
Is there a way that I can have
pictureBox1.Image = foo.Properties.Resources.filename where filename is the
string that contains the filename? I've tried casting the string, but
foo.Properties.Resources is showing all of the resources available and the
files are there.
I have an rtf text box and I have two rtf files held in the resources. I
created the rtf files in OpenOffice and can load them back in and the
formatting is there.
I try to load them into a form using
and it comes out in plain text. No formatting or anything like that.
Am I missing something here?
View this message in context: http://old.nabble.com/PictureBox%2C-Resources-and-RTF-text-box-problems-tp27437394p27437394.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
More information about the Mono-winforms-list