i have this code
Bitmap bmp1, bmp2, bmp3,bmp4;
Graphics gp2,gp3;
if (bmp2 == null)
{
bmp2 = new Bitmap(pictureBox1.Height, pictureBox1.Width);
}
gp2 = Graphics.FromImage(bmp2);
// Rectangle rect = new Rectangle((float)(pictureBox1.Width / 2),(float)(pictureBox1.Height / 2),width, height);
gp2.DrawImageUnscaled(bmp1,0,0);
gp2.FillEllipse(Brushes.Red, (float)(pictureBox1.Width / 2), (float)(pictureBox1.Height / 2), width, height);
gp2.Dispose();
but i am unable to release the control of gp2 as i want to give its control to gp3;
help required???