We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PictureBox

Thread ID:

Created:

Updated:

Platform:

Replies:

4170 May 1,2003 02:04 PM UTC May 2,2003 12:11 PM UTC WinForms 1
loading
Tags: FAQ
Carol
Asked On May 1, 2003 02:04 PM UTC

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

Ramesh Praveen [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;