using(Bitmap bm = new Bitmap("somefile.gif")) pictureBox1.Image = Image.FromHbitmap(bm.GetHbitmap());