2 writes to imageSize
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ImageList.cs (2)
276
imageSize
= new Size(value.Width, value.Height);
315
imageSize
= new Size(x,y);
18 references to imageSize
System.Windows.Forms (18)
winforms\Managed\System\WinForms\ImageList.cs (18)
256
return
imageSize
;
275
if (
imageSize
.Width != value.Width ||
imageSize
.Height != value.Height) {
464
if (size.Width == 0 || (size.Width %
imageSize
.Width) != 0)
466
if (size.Height !=
imageSize
.Height)
544
nativeImageList = new NativeImageList(SafeNativeMethods.ImageList_Create(
imageSize
.Width,
imageSize
.Height, flags, INITIAL_CAPACITY, GROWBY));
616
Draw(g, x, y,
imageSize
.Width,
imageSize
.Height, index);
722
int offset = bmpData.Stride *
imageSize
.Height * index;
725
result = new Bitmap(
imageSize
.Width,
imageSize
.Height, PixelFormat.Format32bppArgb);
726
targetData = result.LockBits(new Rectangle(0, 0,
imageSize
.Width,
imageSize
.Height), ImageLockMode.WriteOnly, PixelFormat.Format32bppArgb);
745
result = new Bitmap(
imageSize
.Width,
imageSize
.Height);
752
imageSize
.Width,
imageSize
.Height, NativeMethods.CLR_NONE, NativeMethods.CLR_NONE, NativeMethods.ILD_TRANSPARENT);