transparent component
CodeKeep C# Feed Luglio 8th, 2008
Description: this is essential to create a component with transparent background
Link: http://www.codekeep.net/snippets/7c94d14a-c6ed-4f14-bfe1-bc110173845d.aspx
protected override CreateParams CreateParams
{
get
{
CreateParams cp = base.CreateParams;
cp.ExStyle |= 0x20;
return cp;
}
}
public constructor()
{
this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);
this.SetStyle(ControlStyles.Opaque, true);
}






