6 references to LockBits
System.Drawing (3)
commonui\System\Drawing\Icon.cs (3)
971
System.Drawing.Imaging.BitmapData bmpdata = bitmap.
LockBits
(new Rectangle(0, 0, Size.Width, Size.Height),
1023
bmpData = tmpBitmap.
LockBits
(new Rectangle(0,0, tmpBitmap.Width, tmpBitmap.Height), ImageLockMode.ReadOnly, tmpBitmap.PixelFormat);
1028
targetData = bitmap.
LockBits
(new Rectangle(0, 0, bmpData.Width, bmpData.Height), ImageLockMode.WriteOnly, PixelFormat.Format32bppArgb);
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ControlPaint.cs (1)
267
BitmapData data = bitmap.
LockBits
(new Rectangle(0,0, width, height),
winforms\Managed\System\WinForms\ImageList.cs (2)
720
bmpData = tmpBitmap.
LockBits
(new Rectangle(imageInfo.rcImage_left,imageInfo.rcImage_top, imageInfo.rcImage_right-imageInfo.rcImage_left, imageInfo.rcImage_bottom-imageInfo.rcImage_top), ImageLockMode.ReadOnly, tmpBitmap.PixelFormat);
726
targetData = result.
LockBits
(new Rectangle(0, 0, imageSize.Width, imageSize.Height), ImageLockMode.WriteOnly, PixelFormat.Format32bppArgb);