39 writes to ImageLocation
System.Windows.Forms (2)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
513
ImageLocation
= url;
744
ImageLocation
= url;
System.Windows.Forms.Tests (37)
System\Windows\Forms\PictureBoxTests.cs (37)
635
ImageLocation
= value
641
pictureBox.
ImageLocation
= value;
656
ImageLocation
= value
662
pictureBox.
ImageLocation
= value;
674
pictureBox.
ImageLocation
= value;
679
pictureBox.
ImageLocation
= value;
689
ImageLocation
= null
696
pictureBox.
ImageLocation
= "Location";
701
pictureBox.
ImageLocation
= "Location";
706
pictureBox.
ImageLocation
= null;
711
pictureBox.
ImageLocation
= string.Empty;
726
pictureBox.
ImageLocation
= PathImageLocation;
731
pictureBox.
ImageLocation
= PathImageLocation;
751
pictureBox.
ImageLocation
= UrlImageLocation;
756
pictureBox.
ImageLocation
= UrlImageLocation;
775
pictureBox.
ImageLocation
= value;
780
pictureBox.
ImageLocation
= value;
795
Assert.ThrowsAny<Exception>(() => pictureBox.
ImageLocation
= value);
800
Assert.ThrowsAny<Exception>(() => pictureBox.
ImageLocation
= value);
835
pictureBox.
ImageLocation
= value;
840
pictureBox.
ImageLocation
= value;
866
pictureBox.
ImageLocation
= "Invalid";
870
pictureBox.
ImageLocation
= value;
892
pictureBox.
ImageLocation
= value;
897
pictureBox.
ImageLocation
= value;
1748
pictureBox.
ImageLocation
= PathImageLocation;
1768
pictureBox.
ImageLocation
= imageLocation;
1787
pictureBox.
ImageLocation
= PathImageLocation;
1804
ImageLocation
= imageLocation
1827
ImageLocation
= imageLocation
2081
pictureBox.
ImageLocation
= "Invalid";
2085
pictureBox.
ImageLocation
= value;
2120
ImageLocation
= imageLocation
2132
ImageLocation
= imageLocation
2517
ImageLocation
= PathImageLocation
2543
ImageLocation
= imageLocation
2573
ImageLocation
= imageLocation
65 references to ImageLocation
System.Windows.Forms (2)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
1213
if (
ImageLocation
is not null &&
ImageLocation
.Length != 0 && WaitOnLoad)
System.Windows.Forms.Tests (63)
System\Windows\Forms\PictureBoxTests.cs (63)
75
Assert.Null(control.
ImageLocation
);
637
Assert.Equal(value, pictureBox.
ImageLocation
);
642
Assert.Equal(value, pictureBox.
ImageLocation
);
658
Assert.Equal(value, pictureBox.
ImageLocation
);
663
Assert.Equal(value, pictureBox.
ImageLocation
);
675
Assert.Equal(value, pictureBox.
ImageLocation
);
680
Assert.Equal(value, pictureBox.
ImageLocation
);
697
Assert.Equal("Location", pictureBox.
ImageLocation
);
702
Assert.Equal("Location", pictureBox.
ImageLocation
);
707
Assert.Null(pictureBox.
ImageLocation
);
712
Assert.Same(string.Empty, pictureBox.
ImageLocation
);
728
Assert.Equal(PathImageLocation, pictureBox.
ImageLocation
);
733
Assert.Equal(PathImageLocation, pictureBox.
ImageLocation
);
753
Assert.Same(UrlImageLocation, pictureBox.
ImageLocation
);
758
Assert.Same(UrlImageLocation, pictureBox.
ImageLocation
);
777
Assert.Equal(value, pictureBox.
ImageLocation
);
782
Assert.Equal(value, pictureBox.
ImageLocation
);
797
Assert.Equal(value, pictureBox.
ImageLocation
);
802
Assert.Equal(value, pictureBox.
ImageLocation
);
837
Assert.Equal(value, pictureBox.
ImageLocation
);
842
Assert.Equal(value, pictureBox.
ImageLocation
);
867
Assert.Equal("Invalid", pictureBox.
ImageLocation
);
871
Assert.Equal(value, pictureBox.
ImageLocation
);
894
Assert.Equal(value, pictureBox.
ImageLocation
);
899
Assert.Equal(value, pictureBox.
ImageLocation
);
1749
Assert.Same(PathImageLocation, pictureBox.
ImageLocation
);
1753
Assert.Same(PathImageLocation, pictureBox.
ImageLocation
);
1769
Assert.Same(imageLocation, pictureBox.
ImageLocation
);
1773
Assert.Same(imageLocation, pictureBox.
ImageLocation
);
1788
Assert.Same(PathImageLocation, pictureBox.
ImageLocation
);
1792
Assert.Same(PathImageLocation, pictureBox.
ImageLocation
);
1806
Assert.Equal(imageLocation, pictureBox.
ImageLocation
);
1811
Assert.Equal(imageLocation, pictureBox.
ImageLocation
);
1815
Assert.Equal(imageLocation, pictureBox.
ImageLocation
);
1829
Assert.Equal(imageLocation, pictureBox.
ImageLocation
);
1833
Assert.Equal(imageLocation, pictureBox.
ImageLocation
);
1838
Assert.Equal(imageLocation, pictureBox.
ImageLocation
);
1842
Assert.Equal(imageLocation, pictureBox.
ImageLocation
);
1914
Assert.Equal(value, pictureBox.
ImageLocation
);
1919
Assert.Equal(value, pictureBox.
ImageLocation
);
1935
Assert.Equal(value, pictureBox.
ImageLocation
);
1940
Assert.Equal(value, pictureBox.
ImageLocation
);
1954
Assert.Equal("Location", pictureBox.
ImageLocation
);
1960
Assert.Equal("Location", pictureBox.
ImageLocation
);
1966
Assert.Null(pictureBox.
ImageLocation
);
1972
Assert.Same(string.Empty, pictureBox.
ImageLocation
);
1978
Assert.Equal(PathImageLocation, pictureBox.
ImageLocation
);
1992
Assert.Same(PathImageLocation, pictureBox.
ImageLocation
);
1997
Assert.Same(PathImageLocation, pictureBox.
ImageLocation
);
2017
Assert.Same(UrlImageLocation, pictureBox.
ImageLocation
);
2022
Assert.Same(UrlImageLocation, pictureBox.
ImageLocation
);
2052
Assert.Equal(value, pictureBox.
ImageLocation
);
2057
Assert.Equal(value, pictureBox.
ImageLocation
);
2082
Assert.Equal("Invalid", pictureBox.
ImageLocation
);
2086
Assert.Equal(value, pictureBox.
ImageLocation
);
2105
Assert.Equal(PathImageLocation, pictureBox.
ImageLocation
);
2110
Assert.Equal(PathImageLocation, pictureBox.
ImageLocation
);
2520
Assert.Equal(PathImageLocation, pictureBox.
ImageLocation
);
2525
Assert.Equal(PathImageLocation, pictureBox.
ImageLocation
);
2545
Assert.Same(imageLocation, pictureBox.
ImageLocation
);
2550
Assert.Same(imageLocation, pictureBox.
ImageLocation
);
2575
Assert.Same(imageLocation, pictureBox.
ImageLocation
);
2580
Assert.Same(imageLocation, pictureBox.
ImageLocation
);