34,333
edits
Changes
→Rendering a Bitmap Image on a Control
Graphics graphicsObj = e.Graphics;
myBitmap = new Bitmap(this.ClientRectangle.Width, this.ClientRectangle.Height, System.Drawing.Imaging.PixelFormat.Format24bppRgb);
graphicsObj.DrawImage(myBitmap, 0, 0, myBitmap.Width, myBitmap.Height);