Winform with background image and transparent usercontrols

A

arkam

Hi,

I have a form which has a background image. My problem is that when I
load a user control its background hides my image.

I used
SetStyle(ControlStyles.SupportsTransparentBackColor, true);
and
BackColor = Color.Transparent;
on each of my usercontrols and it works great, even the buttons do
draw the background image on their back !

I have two problems :

1. ListView, TreeView and TabControl do not support this, they stay
gray and white !

2. When I maximize/minimize/resize my form it takes ages to
refresh/redraw the form ! It is simply very very slow !!!

Any ideas ?

Thanks,

Arkam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top