I set a picture to be the form's background but it's filled full on form.
How can i do to show only that image?
Printable View
I set a picture to be the form's background but it's filled full on form.
How can i do to show only that image?
You can use the gdi+ to draw the image on the from where you want it. Lookup the DrawImage method.
Jeremy
Try this.
PHP Code:Bitmap b = new Bitmap("C:/myfile.bmp");
Graphics g = this.CreateGraphics();
g.DrawImage(b, new Rectangle(0, 0, b.Width, b.Height), 0, 0, b.Width, b.Height, GraphicsUnit.Pixel);