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