Hi all
I am trying to do a non rectangular shaped form.
I have done it in 2003 and worked fine but doesnt work properly in VS2005.
I have a bitmap image and set the forms background image to it.
I then call the set transparency in code to get round the bug for 32bit color monitors.
The background color from my bitmap is removed correctly but i see the background of the form instead. Any idea what i am doing wrong
Is there a new way of doing it in .NET 2
Here is my SetTransparency method for the form:
protected void SetTransparency() Bitmap Img = (Bitmap)this.BackgroundImage; if (Img != null) Img.MakeTransparent(Img.GetPixel(10, 10)); |

Forms Transparency not working in .NET2
JimArgeropoulos
There are several articles on TransparencyKey in support.microsoft.com
http://support.microsoft.com/default.aspx scid=kb;en-us;822495
http://support.microsoft.com/default.aspx scid=kb;en-us;820640