Can not make a control transparent in XP.
Please help me.
Thanks!
public class Class1 : System.Windows.Forms.CheckBox
{
public Class1()
{
this.Left=50;
this.Top=50;
this.Width=32;
this.Height=32;
this.SetStyle(ControlStyles.SupportsTransparentBac kColor, true);
this.BackColor=Color.Transparent;
}
}//
//FORM
public Form1()
{
Class1 obj=new Class1();
this.Controls.Add(obj);
}