2 writes to _image
System.Windows.Forms (2)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
420
_image
= value;
1117
_image
= ErrorImage;
15 references to _image
System.Windows.Forms (15)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (15)
301
get =>
_image
;
342
if (
_image
is not null)
349
result.Size =
_image
.Size;
358
result.X += (result.Width -
_image
.Width) / 2;
359
result.Y += (result.Height -
_image
.Height) / 2;
360
result.Size =
_image
.Size;
364
Size imageSize =
_image
.Size;
979
if (
_image
is not null)
981
ImageAnimator.Animate(
_image
, OnFrameChanged);
987
if (
_image
is not null)
989
ImageAnimator.StopAnimate(
_image
, OnFrameChanged);
1028
if (
_image
is null)
1035
return
_image
.Size + bordersAndPadding;
1121
if (
_image
is not null && pe is not null)
1131
pe.Graphics.DrawImage(
_image
, drawingRect);