469,918 Members | 2,035 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,918 developers. It's quick & easy.

User Control - transparent areas on Parent form

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
0 1444

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by Sagaert Johan | last post: by
7 posts views Thread by Chuck | last post: by
2 posts views Thread by Simon Tamman {Uchiha Jax} | last post: by
reply views Thread by Gino | last post: by
1 post views Thread by FredC | last post: by
8 posts views Thread by MikeB | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.