Click here to Skip to main content
15,849,129 members
Please Sign up or sign in to vote.
2.75/5 (4 votes)
See more:
hi
i wanna show a text without background
for exampel : for welcome to user when user enter to sofware ( WELCOME )
please guide me ...
Posted
Comments
Sergey Alexandrovich Kryukov 28-Sep-11 20:17pm    
How come your text shows background. Where is your code?
--SA

1 solution

C#
// in form load
private void Form1_Load(object sender, EventArgs e)
{
    // must background and TransparencyKey properties set into (for example) white color and your text (label) black
    this.BackColor = this.TransparencyKey = Color.White;

    this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
}
 
Share this answer
 
v2

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