int i = 0, j=0; foreach (string file in Directory.GetFiles(Dossier_origine.Text)) { Image newImage = Image.FromFile(file); Graphics graphics = Graphics.FromImage(newImage); graphics = this.pictureBox2.CreateGraphics(); Rectangle Rect = new Rectangle(10+i , 10+j, 150, 100); graphics.DrawImage(newImage, Rect); //graphics.DrawImage(newImage, new PointF(1.1F, 0.0F)); if (graphics != null) graphics.Dispose(); i = i + 150; if (i 450) { i 0; j = j + 120; } }