39 writes to ImageLocation
System.Windows.Forms (2)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
514
ImageLocation
= url;
745
ImageLocation
= url;
System.Windows.Forms.Tests (37)
System\Windows\Forms\PictureBoxTests.cs (37)
633
ImageLocation
= value
639
pictureBox.
ImageLocation
= value;
654
ImageLocation
= value
660
pictureBox.
ImageLocation
= value;
672
pictureBox.
ImageLocation
= value;
677
pictureBox.
ImageLocation
= value;
687
ImageLocation
= null
694
pictureBox.
ImageLocation
= "Location";
699
pictureBox.
ImageLocation
= "Location";
704
pictureBox.
ImageLocation
= null;
709
pictureBox.
ImageLocation
= string.Empty;
724
pictureBox.
ImageLocation
= PathImageLocation;
729
pictureBox.
ImageLocation
= PathImageLocation;
749
pictureBox.
ImageLocation
= UrlImageLocation;
754
pictureBox.
ImageLocation
= UrlImageLocation;
773
pictureBox.
ImageLocation
= value;
778
pictureBox.
ImageLocation
= value;
793
Assert.ThrowsAny<Exception>(() => pictureBox.
ImageLocation
= value);
798
Assert.ThrowsAny<Exception>(() => pictureBox.
ImageLocation
= value);
833
pictureBox.
ImageLocation
= value;
838
pictureBox.
ImageLocation
= value;
864
pictureBox.
ImageLocation
= "Invalid";
868
pictureBox.
ImageLocation
= value;
890
pictureBox.
ImageLocation
= value;
895
pictureBox.
ImageLocation
= value;
1746
pictureBox.
ImageLocation
= PathImageLocation;
1766
pictureBox.
ImageLocation
= imageLocation;
1785
pictureBox.
ImageLocation
= PathImageLocation;
1802
ImageLocation
= imageLocation
1825
ImageLocation
= imageLocation
2079
pictureBox.
ImageLocation
= "Invalid";
2083
pictureBox.
ImageLocation
= value;
2118
ImageLocation
= imageLocation
2130
ImageLocation
= imageLocation
2515
ImageLocation
= PathImageLocation
2541
ImageLocation
= imageLocation
2571
ImageLocation
= imageLocation
65 references to ImageLocation
System.Windows.Forms (2)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
1214
if (
ImageLocation
is not null &&
ImageLocation
.Length != 0 && WaitOnLoad)
System.Windows.Forms.Tests (63)
System\Windows\Forms\PictureBoxTests.cs (63)
73
Assert.Null(control.
ImageLocation
);
635
Assert.Equal(value, pictureBox.
ImageLocation
);
640
Assert.Equal(value, pictureBox.
ImageLocation
);
656
Assert.Equal(value, pictureBox.
ImageLocation
);
661
Assert.Equal(value, pictureBox.
ImageLocation
);
673
Assert.Equal(value, pictureBox.
ImageLocation
);
678
Assert.Equal(value, pictureBox.
ImageLocation
);
695
Assert.Equal("Location", pictureBox.
ImageLocation
);
700
Assert.Equal("Location", pictureBox.
ImageLocation
);
705
Assert.Null(pictureBox.
ImageLocation
);
710
Assert.Same(string.Empty, pictureBox.
ImageLocation
);
726
Assert.Equal(PathImageLocation, pictureBox.
ImageLocation
);
731
Assert.Equal(PathImageLocation, pictureBox.
ImageLocation
);
751
Assert.Same(UrlImageLocation, pictureBox.
ImageLocation
);
756
Assert.Same(UrlImageLocation, pictureBox.
ImageLocation
);
775
Assert.Equal(value, pictureBox.
ImageLocation
);
780
Assert.Equal(value, pictureBox.
ImageLocation
);
795
Assert.Equal(value, pictureBox.
ImageLocation
);
800
Assert.Equal(value, pictureBox.
ImageLocation
);
835
Assert.Equal(value, pictureBox.
ImageLocation
);
840
Assert.Equal(value, pictureBox.
ImageLocation
);
865
Assert.Equal("Invalid", pictureBox.
ImageLocation
);
869
Assert.Equal(value, pictureBox.
ImageLocation
);
892
Assert.Equal(value, pictureBox.
ImageLocation
);
897
Assert.Equal(value, pictureBox.
ImageLocation
);
1747
Assert.Same(PathImageLocation, pictureBox.
ImageLocation
);
1751
Assert.Same(PathImageLocation, pictureBox.
ImageLocation
);
1767
Assert.Same(imageLocation, pictureBox.
ImageLocation
);
1771
Assert.Same(imageLocation, pictureBox.
ImageLocation
);
1786
Assert.Same(PathImageLocation, pictureBox.
ImageLocation
);
1790
Assert.Same(PathImageLocation, pictureBox.
ImageLocation
);
1804
Assert.Equal(imageLocation, pictureBox.
ImageLocation
);
1809
Assert.Equal(imageLocation, pictureBox.
ImageLocation
);
1813
Assert.Equal(imageLocation, pictureBox.
ImageLocation
);
1827
Assert.Equal(imageLocation, pictureBox.
ImageLocation
);
1831
Assert.Equal(imageLocation, pictureBox.
ImageLocation
);
1836
Assert.Equal(imageLocation, pictureBox.
ImageLocation
);
1840
Assert.Equal(imageLocation, pictureBox.
ImageLocation
);
1912
Assert.Equal(value, pictureBox.
ImageLocation
);
1917
Assert.Equal(value, pictureBox.
ImageLocation
);
1933
Assert.Equal(value, pictureBox.
ImageLocation
);
1938
Assert.Equal(value, pictureBox.
ImageLocation
);
1952
Assert.Equal("Location", pictureBox.
ImageLocation
);
1958
Assert.Equal("Location", pictureBox.
ImageLocation
);
1964
Assert.Null(pictureBox.
ImageLocation
);
1970
Assert.Same(string.Empty, pictureBox.
ImageLocation
);
1976
Assert.Equal(PathImageLocation, pictureBox.
ImageLocation
);
1990
Assert.Same(PathImageLocation, pictureBox.
ImageLocation
);
1995
Assert.Same(PathImageLocation, pictureBox.
ImageLocation
);
2015
Assert.Same(UrlImageLocation, pictureBox.
ImageLocation
);
2020
Assert.Same(UrlImageLocation, pictureBox.
ImageLocation
);
2050
Assert.Equal(value, pictureBox.
ImageLocation
);
2055
Assert.Equal(value, pictureBox.
ImageLocation
);
2080
Assert.Equal("Invalid", pictureBox.
ImageLocation
);
2084
Assert.Equal(value, pictureBox.
ImageLocation
);
2103
Assert.Equal(PathImageLocation, pictureBox.
ImageLocation
);
2108
Assert.Equal(PathImageLocation, pictureBox.
ImageLocation
);
2518
Assert.Equal(PathImageLocation, pictureBox.
ImageLocation
);
2523
Assert.Equal(PathImageLocation, pictureBox.
ImageLocation
);
2543
Assert.Same(imageLocation, pictureBox.
ImageLocation
);
2548
Assert.Same(imageLocation, pictureBox.
ImageLocation
);
2573
Assert.Same(imageLocation, pictureBox.
ImageLocation
);
2578
Assert.Same(imageLocation, pictureBox.
ImageLocation
);