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