vinnureddy
April 1st, 2009, 05:47 AM
Hi
Controls used : picturebox control,placed a bmp image on it thru image property of picturebox.Made picturebox back color to transparent.(I have taken an arrow image downloaded from net,it has white background)
When we place image on the picturebox control and run the application white background is visible. I doent need the white background it should be transparent.
did with this code also
Bitmap Logo = new Bitmap(this.pboxMain.Image);
Logo.MakeTransparent(Logo.GetPixel(1, 1));
this.pboxMain.Image = (Image)Logo;
pboxMain.Refresh();
but still not working....
help me...
advance thanks
Controls used : picturebox control,placed a bmp image on it thru image property of picturebox.Made picturebox back color to transparent.(I have taken an arrow image downloaded from net,it has white background)
When we place image on the picturebox control and run the application white background is visible. I doent need the white background it should be transparent.
did with this code also
Bitmap Logo = new Bitmap(this.pboxMain.Image);
Logo.MakeTransparent(Logo.GetPixel(1, 1));
this.pboxMain.Image = (Image)Logo;
pboxMain.Refresh();
but still not working....
help me...
advance thanks