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