Click here to Skip to main content
15,899,314 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
i work on one project in that i make my window from transparent. in that one label in that label text set by dynamically. after set the text it shown like below link image.


http://i.stack.imgur.com/rmCM5.jpg[^]

i want clear type text in the label.
please help me to solve out this.
Posted
Updated 27-Aug-13 20:40pm
v6
Comments
Sadique KT 28-Aug-13 1:32am    
Set label's position ..
[no name] 28-Aug-13 1:40am    
but i want label in totally transparent window no mining to set label position,
Sadique KT 28-Aug-13 2:31am    
I did not understand your requirement...properly..
just check by setting FormBorder =false..
muneebalikiyani 28-Aug-13 2:32am    
what are u upto ? The link above shows just the text of label. Form and label are transparent.
[no name] 28-Aug-13 2:36am    
i update my link now you can got proper idea about it.

You can add following codes to your form loading event..
C#
//You can change your form border style according your requirement..
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.WindowState = FormWindowState.Maximized;
 
Share this answer
 
Change your FormBorderStyle Property to "None"
 
Share this answer
 
Comments
[no name] 28-Aug-13 2:48am    
i try it but same result
muneebalikiyani 28-Aug-13 2:52am    
use this code to make your form transparent in form_load event and set that porperty to None. i have tried this is working for me.
this.BackColor = Color.LimeGreen;
this.TransparencyKey = Color.LimeGreen;

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