14 writes to ErrorImage
System.Windows.Forms.Tests (14)
System\Windows\Forms\PictureBoxTests.cs (14)
316
ErrorImage
= value
322
pictureBox.
ErrorImage
= value;
333
ErrorImage
= new Bitmap(10, 10)
336
pictureBox.
ErrorImage
= value;
341
pictureBox.
ErrorImage
= value;
353
pictureBox.
ErrorImage
= value;
358
pictureBox.
ErrorImage
= value;
369
ErrorImage
= new Bitmap(10, 10)
373
pictureBox.
ErrorImage
= value;
378
pictureBox.
ErrorImage
= value;
391
pictureBox.
ErrorImage
= image;
408
pictureBox.
ErrorImage
= image;
828
ErrorImage
= errorImage,
2043
ErrorImage
= errorImage,
26 references to ErrorImage
System.Windows.Forms (4)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (4)
253
if (
ErrorImage
!= value)
505
InstallNewImage(
ErrorImage
, ImageInstallationType.ErrorOrInitial);
616
Image? img =
ErrorImage
;
1123
_image =
ErrorImage
;
System.Windows.Forms.Tests (22)
System\Windows\Forms\PictureBoxTests.cs (22)
63
Assert.NotNull(control.
ErrorImage
);
64
Assert.Same(control.
ErrorImage
, control.
ErrorImage
);
318
Assert.Same(value, pictureBox.
ErrorImage
);
323
Assert.Same(value, pictureBox.
ErrorImage
);
337
Assert.Same(value, pictureBox.
ErrorImage
);
342
Assert.Same(value, pictureBox.
ErrorImage
);
354
Assert.Same(value, pictureBox.
ErrorImage
);
359
Assert.Same(value, pictureBox.
ErrorImage
);
374
Assert.Same(value, pictureBox.
ErrorImage
);
379
Assert.Same(value, pictureBox.
ErrorImage
);
387
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PictureBox))[nameof(PictureBox.
ErrorImage
)];
395
Assert.NotSame(image, pictureBox.
ErrorImage
);
404
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PictureBox))[nameof(PictureBox.
ErrorImage
)];
412
Assert.NotSame(image, pictureBox.
ErrorImage
);
834
Assert.Same(pictureBox.
ErrorImage
, pictureBox.Image);
839
Assert.Same(pictureBox.
ErrorImage
, pictureBox.Image);
866
Assert.Same(pictureBox.
ErrorImage
, pictureBox.Image);
2049
Assert.Same(pictureBox.
ErrorImage
, pictureBox.Image);
2054
Assert.Same(pictureBox.
ErrorImage
, pictureBox.Image);
2081
Assert.Same(pictureBox.
ErrorImage
, pictureBox.Image);
2579
Assert.Same(pictureBox.
ErrorImage
, pictureBox.Image);