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