By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,375 Members | 1,342 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,375 IT Pros & Developers. It's quick & easy.

Should I use the PictureBox Image or BackgroundImage

P: n/a
For various reasons I want to use a PictureBox to display images.
That is I want sometimes to assign an Image to the PictureBox
Sometimes I want to draw on that Image.

What are the reasons for and against using the PictureBox Image property,
and what are they for using the
BackgroundImage.

Looking for help in deciding which to use.

Thanks
Feb 5 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi,

" Frank" <fr***@a-znet.comwrote in message
news:Oy**************@TK2MSFTNGP06.phx.gbl...
| For various reasons I want to use a PictureBox to display images.
| That is I want sometimes to assign an Image to the PictureBox
| Sometimes I want to draw on that Image.
|
| What are the reasons for and against using the PictureBox Image property,
| and what are they for using the
| BackgroundImage.

Background is that, a background image for a control which has other
features, it won't be nice (or smart) to use let's say a Textbox just for
its background image instead of his main feature.

With such little details as you provided in your post I would suggest u to
go with the PictureBox

--
Ignacio Machin
machin AT laceupsolutions com
Feb 5 '07 #2

P: n/a
Thanks, I am going with the PictureBox but wonder if I should use the Image
or BackgroundImage to draw on.
"Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.comwrote in
message news:uA**************@TK2MSFTNGP06.phx.gbl...
Hi,

" Frank" <fr***@a-znet.comwrote in message
news:Oy**************@TK2MSFTNGP06.phx.gbl...
| For various reasons I want to use a PictureBox to display images.
| That is I want sometimes to assign an Image to the PictureBox
| Sometimes I want to draw on that Image.
|
| What are the reasons for and against using the PictureBox Image
property,
| and what are they for using the
| BackgroundImage.

Background is that, a background image for a control which has other
features, it won't be nice (or smart) to use let's say a Textbox just for
its background image instead of his main feature.

With such little details as you provided in your post I would suggest u to
go with the PictureBox

--
Ignacio Machin
machin AT laceupsolutions com


Feb 5 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.