J
Jeff
Hello,
Bitmap.MakeTransparent( ) causes some really wild graphical anomalies.
This must me a bug. Does anyone know a work-around?
Can anyone shed some light on this issue?
To see this in action just do the following:
1. Create a new Windows Application Project
2. Add two buttons to the form (make button2 bigger than button1).
3. Add the following three lines of code to Form1_Load( )
Bitmap img = new Bitmap(@"c:\test.bmp"); //use any .bmp file you desire
img.MakeTransparent();
this.button2.BackgroundImage = img;
Run it.
Thanks, Jeff
Bitmap.MakeTransparent( ) causes some really wild graphical anomalies.
This must me a bug. Does anyone know a work-around?
Can anyone shed some light on this issue?
To see this in action just do the following:
1. Create a new Windows Application Project
2. Add two buttons to the form (make button2 bigger than button1).
3. Add the following three lines of code to Form1_Load( )
Bitmap img = new Bitmap(@"c:\test.bmp"); //use any .bmp file you desire
img.MakeTransparent();
this.button2.BackgroundImage = img;
Run it.
Thanks, Jeff