PictureBox

Hello! I have a picturebox which displays an image. The main application have some notes (childforms) in different categories. I want the picturebox to display a different image for each category. How can it be done? I can't find the original image that I now use in the code. Only a code something like GetObject(picturebox1.image) I've tried to define the gif-file that I want to use but it doesn't work. Thanks for all help //Carol

1 Reply

RP Ramesh Praveen Syncfusion Team May 2, 2003 12:11 PM UTC

This faq tells you how to load a embedded bmp in your app. (So, that's what you should do, embed images in your project and then load them programatically). How do I load a BMP file that has been added to my solution as an embedded resource? Check it out at: http://www.syncfusion.com/faq/winforms/search/649.asp -Praveen

Loader.
Up arrow icon