2 writes to _image
System.Windows.Forms (2)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
423_image = value; 1123_image = ErrorImage;
15 references to _image
System.Windows.Forms (15)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (15)
304get => _image; 345if (_image is not null) 352result.Size = _image.Size; 361result.X += (result.Width - _image.Width) / 2; 362result.Y += (result.Height - _image.Height) / 2; 363result.Size = _image.Size; 367Size imageSize = _image.Size; 982if (_image is not null) 984ImageAnimator.Animate(_image, OnFrameChanged); 990if (_image is not null) 992ImageAnimator.StopAnimate(_image, OnFrameChanged); 1034if (_image is null) 1041return _image.Size + bordersAndPadding; 1127if (_image is not null && pe is not null) 1137pe.Graphics.DrawImage(_image, drawingRect);