i fix that! System.IntPtr srcDC = GetDC(f.Handle); Bitmap bmp = new Bitmap(****50****, f.Height + 30); Graphics g = Graphics.FromImage(bmp); System.IntPtr bmDC = g.GetHdc(); BitBlt(bmDC, 0, 0, **50**, bmp.Height, srcDC, r, -30, 0x00CC0020 /*SRCCOPY*/); r += 10; ReleaseDC(f.Handle, srcDC); g.ReleaseHdc(bmDC); g.Dispose(); Image img; img = bmp; img.RotateFlip(RotateFlipType.RotateNoneFlipX); f3.pictureBox1.Image = img;
i should set bitmaps width to 50!(because my pixtureboxs width and actually my last images width is 50); tnx.
و این منم زنی تنها در آستانه فصلی سرد...