2 writes to _image
System.Windows.Forms (2)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
421
_image
= value;
1121
_image
= ErrorImage;
15 references to _image
System.Windows.Forms (15)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (15)
302
get =>
_image
;
343
if (
_image
is not null)
350
result.Size =
_image
.Size;
359
result.X += (result.Width -
_image
.Width) / 2;
360
result.Y += (result.Height -
_image
.Height) / 2;
361
result.Size =
_image
.Size;
365
Size imageSize =
_image
.Size;
980
if (
_image
is not null)
982
ImageAnimator.Animate(
_image
, OnFrameChanged);
988
if (
_image
is not null)
990
ImageAnimator.StopAnimate(
_image
, OnFrameChanged);
1032
if (
_image
is null)
1039
return
_image
.Size + bordersAndPadding;
1125
if (
_image
is not null && pe is not null)
1135
pe.Graphics.DrawImage(
_image
, drawingRect);