Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to display background image
Message
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00948681
Message ID:
00948957
Views:
23
Hi Craig,

This unfortunately is a bug of WinForms. The best work around for the image is to hide it when you display your first form and then once the last form is closed, show it again.

>Here's the example:
>I have a windows forms application, the main (startup) form is an MDI Parent form. I want to display an image as a background picture for the application, centred on the screen. If I set the background image for the form, the image repeats and I can't see an obvious property that will prevent it.
>If I add a picturebox to the form, I can get the image to display correctly, however any MDI Child forms that are opened, open up underneath the picture box.
>
>TIA
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform