2 writes to _imageSize
System.Windows.Forms (2)
System\Windows\Forms\Controls\ImageList\ImageList.cs (2)
169_imageSize = new Size(value.Width, value.Height); 217_imageSize = new Size(x, y);
17 references to _imageSize
System.Windows.Forms (17)
System\Windows\Forms\Controls\ImageList\ImageList.cs (17)
146get => _imageSize; 167if (_imageSize.Width != value.Width || _imageSize.Height != value.Height) 323if (size.Width == 0 || (size.Width % _imageSize.Width) != 0) 328if (size.Height != _imageSize.Height) 431_nativeImageList = new NativeImageList(_imageSize, flags); 516public void Draw(Graphics g, int x, int y, int index) => Draw(g, x, y, _imageSize.Width, _imageSize.Height, index); 627int offset = bmpData.Stride * _imageSize.Height * index; 631result = new Bitmap(_imageSize.Width, _imageSize.Height, PixelFormat.Format32bppArgb); 632targetData = result.LockBits(new Rectangle(0, 0, _imageSize.Width, _imageSize.Height), ImageLockMode.WriteOnly, PixelFormat.Format32bppArgb); 659result = new Bitmap(_imageSize.Width, _imageSize.Height); 673_imageSize.Width, 674_imageSize.Height,