Click here to Skip to main content
15,903,362 members
Home / Discussions / C#
   

C#

 
AnswerRe: Nested foreach is a bad practice?(please read) Pin
Luc Pattyn1-Nov-11 7:01
sitebuilderLuc Pattyn1-Nov-11 7:01 
GeneralRe: Nested foreach is a bad practice?(please read) Pin
Pete O'Hanlon1-Nov-11 8:08
mvePete O'Hanlon1-Nov-11 8:08 
QuestionHow set the background of an MDI container window? Pin
jojoba2029-Oct-11 1:17
jojoba2029-Oct-11 1:17 
AnswerRe: How set the background of an MDI container window? Pin
Philippe Mori29-Oct-11 3:16
Philippe Mori29-Oct-11 3:16 
AnswerRe: How set the background of an MDI container window? Pin
Dave Kreskowiak29-Oct-11 3:17
mveDave Kreskowiak29-Oct-11 3:17 
GeneralRe: How set the background of an MDI container window? Pin
BillWoodruff29-Oct-11 17:47
professionalBillWoodruff29-Oct-11 17:47 
GeneralRe: How set the background of an MDI container window? Pin
Dave Kreskowiak29-Oct-11 18:00
mveDave Kreskowiak29-Oct-11 18:00 
AnswerRe: How set the background of an MDI container window? Pin
BillWoodruff29-Oct-11 4:00
professionalBillWoodruff29-Oct-11 4:00 
If your question means you want a solution where there is one MDI container Form with a background image, and all the Forms on it ... interpreting "client" to meaning an 'mdi child form:' someForm.MdiParent = MDIContainerForm ... show a background as if they were 'transparent,' and you were seeing the portion of the MDIContainerForm's background their current bounding-box covers ...

You are in for some deep-plumbing, and as others comment here, it ain't worth it.

Now if the MDI container form just has a background that's a texture, then it's easy, but I'm pretty sure you are asking about the container form having a background picture, not a texture.

However, if you have the option of not using the MDI architecture, there are some ways you can 'simulate' the effect of contained Forms having the same background image. You make them transparent, and you "do the right thing" so that at run-time they remain in the boundary of the intended container control.

If you wish to hear about the specifics of this alternative, just ask.

best, Bill
"Last year I went fishing with Salvador Dali. He was using a dotted
line. He caught every other fish." Steven Wright

AnswerRe: How set the background of an MDI container window? Pin
Alisaunder29-Oct-11 4:43
Alisaunder29-Oct-11 4:43 
AnswerRe: How set the background of an MDI container window? Pin
Luc Pattyn29-Oct-11 5:07
sitebuilderLuc Pattyn29-Oct-11 5:07 
GeneralRe: How set the background of an MDI container window? Pin
Dave Kreskowiak29-Oct-11 6:52
mveDave Kreskowiak29-Oct-11 6:52 
GeneralRe: How set the background of an MDI container window? Pin
Alisaunder29-Oct-11 10:52
Alisaunder29-Oct-11 10:52 
GeneralRe: How set the background of an MDI container window? Pin
Dave Kreskowiak29-Oct-11 14:24
mveDave Kreskowiak29-Oct-11 14:24 
GeneralRe: How set the background of an MDI container window? Pin
Alisaunder29-Oct-11 17:13
Alisaunder29-Oct-11 17:13 
GeneralRe: How set the background of an MDI container window? Pin
Dave Kreskowiak29-Oct-11 17:15
mveDave Kreskowiak29-Oct-11 17:15 
GeneralRe: How set the background of an MDI container window? Pin
Alisaunder29-Oct-11 17:16
Alisaunder29-Oct-11 17:16 
AnswerRe: How set the background of an MDI container window? PinPopular
Luc Pattyn29-Oct-11 17:48
sitebuilderLuc Pattyn29-Oct-11 17:48 
GeneralRe: How set the background of an MDI container window? Pin
Alisaunder29-Oct-11 17:52
Alisaunder29-Oct-11 17:52 
GeneralRe: How set the background of an MDI container window? Pin
Dave Kreskowiak29-Oct-11 17:55
mveDave Kreskowiak29-Oct-11 17:55 
GeneralRe: How set the background of an MDI container window? Pin
Alisaunder29-Oct-11 17:59
Alisaunder29-Oct-11 17:59 
GeneralRe: How set the background of an MDI container window? Pin
phil.o29-Oct-11 23:26
professionalphil.o29-Oct-11 23:26 
GeneralRe: How set the background of an MDI container window? Pin
Dave Kreskowiak30-Oct-11 3:24
mveDave Kreskowiak30-Oct-11 3:24 
GeneralRe: How set the background of an MDI container window? Pin
Dave Kreskowiak29-Oct-11 17:52
mveDave Kreskowiak29-Oct-11 17:52 
GeneralRe: How set the background of an MDI container window? Pin
Alisaunder29-Oct-11 18:02
Alisaunder29-Oct-11 18:02 
GeneralRe: How set the background of an MDI container window? Pin
Dave Kreskowiak30-Oct-11 3:16
mveDave Kreskowiak30-Oct-11 3:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.