Click here to Skip to main content
15,891,372 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can you help me with how to make a form translucent?

Windows Forms or WPF
Posted
Updated 14-Jun-10 2:46am
v2
Comments
Johnny J. 14-Jun-10 4:21am    
What is your question?
[no name] 14-Jun-10 7:32am    
Your question is incomplete.Which technology are you targeting?Win forms or WPF?
Anshul R 14-Jun-10 8:45am    
Improved the question.
Johnny J. 14-Jun-10 8:47am    
Interesting, pranav95 - How do you apply your psychic powers to deduce that what you changed the original question to is actually what the OP is asking?
Johnny J. 14-Jun-10 8:47am    
Ah, I see - you edited the question to fit your answer - clever!

Windows Forms
VB
Me.Opacity = 50

WPF
VB
Me.AllowsTransparency=True
Me.Opacity = 0.5
 
Share this answer
 
me.Opacity = Value '(e.g. 50 or 30)

and write this code in your Constructor.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900