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

User Control - transparent areas on Parent form

P: n/a
I'm using VS C#.Net 2003.
I built a simple windows form app. with the following attributes:
- has a BackgroundImage set to a jpeg
I built a very simple user control that contains a picture box set to an
icon. The control does nothing except show the icon.

In the main windows form, on formload event, I declare and instantiate 30
user controls and give them various locations on the main form.

The Problem(s):
1) When the main form initially loads/displays, there are transparent (to
the desktop) rectangles in locations where the usercontrols are to be
displayed. The transparent areas "march" accross the screen until all 30
see-thru rectangles are displayed. Then the icons in the usercontrol fill in
the transparent rectangles.
2) This happens again when the main form is minimized and then restored.

Is there any way to fix this?
Mar 6 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.