I am working on a form application in VS 2008 and got stuck when overlapping two images. These images are transparent so they should be able to blend together but the result is show below:
I have seen similar posts to this one but seem to not be able to figure out why these two images can not blend together. Below is the code for how I am going about it:
InitializeComponent();
this.Width = 700;
this.Height = 768;
Bitmap BackgroundImg = new Bitmap(@"C:\Users\Classic.bmp");
Bitmap img = new Bitmap(@"C:\Users\Lime.bmp");
backImage.Image = BackgroundImg;
backImage.Width = 700;
backImage.Height = 768;
backImage.Location = new Point(0, 0);
overImage.Image = img;
overImage.Width = img.Width;
overImage.Height = img.Height;
overImage.Parent = backImage;
//overImage.BackColor = Color.Transparent;
overImage.Location = new Point(200, 200);
backImage and overImage are pictureBoxes