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.

How to make label transparent in CSharp

P: n/a
thi
Hi Experts,

I am new to C# moving from VB 6.0.

Basic i want to know how do i make the label transparent with the control
color it currently on.

For example

I have a picturebox control in my form, I set the picture property to
'C:\windows\web\wallpapers\wall.bmp'. Then i placed a label control onto the
picturebox and i want that label to be transparent with the picturebox
picture, how can i do that.

Thanks in advance.
Jun 28 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I recomend you to look there for the contols samples with description
http://www.codeproject.com/info/sear...ed=28+Jun+2006
"thi" wrote:
Hi Experts,

I am new to C# moving from VB 6.0.

Basic i want to know how do i make the label transparent with the control
color it currently on.

For example

I have a picturebox control in my form, I set the picture property to
'C:\windows\web\wallpapers\wall.bmp'. Then i placed a label control onto the
picturebox and i want that label to be transparent with the picturebox
picture, how can i do that.

Thanks in advance.


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Jun 28 '06 #2

P: n/a
"thi" <th******@hotmail.com> wrote in message
news:OU******************@TK2MSFTNGP05.phx.gbl...
Hi Experts,

I am new to C# moving from VB 6.0.

Basic i want to know how do i make the label transparent with the control
color it currently on.
label1.BackColor = Color.Transparent;

For example

I have a picturebox control in my form, I set the picture property to
'C:\windows\web\wallpapers\wall.bmp'. Then i placed a label control onto
the picturebox and i want that label to be transparent with the picturebox
picture, how can i do that.

Thanks in advance.

Jun 28 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.