18 references to Load
System.Windows.Forms.Tests (18)
System\Windows\Forms\PictureBoxTests.cs (18)
1911Assert.ThrowsAny<Exception>(() => pictureBox.Load(value)); 1916Assert.ThrowsAny<Exception>(() => pictureBox.Load(value)); 1932Assert.ThrowsAny<Exception>(() => pictureBox.Load(value)); 1937Assert.ThrowsAny<Exception>(() => pictureBox.Load(value)); 1951Assert.ThrowsAny<Exception>(() => pictureBox.Load("Location")); 1957Assert.ThrowsAny<Exception>(() => pictureBox.Load("Location")); 1963Assert.Throws<InvalidOperationException>(() => pictureBox.Load(null)); 1969Assert.Throws<InvalidOperationException>(() => pictureBox.Load(string.Empty)); 1975pictureBox.Load(PathImageLocation); 1989pictureBox.Load(PathImageLocation); 1994pictureBox.Load(PathImageLocation); 2014pictureBox.Load(UrlImageLocation); 2019pictureBox.Load(UrlImageLocation); 2048pictureBox.Load(value); 2053pictureBox.Load(value); 2102pictureBox.Load(PathImageLocation); 2107pictureBox.Load(PathImageLocation); 2121Assert.Throws<InvalidOperationException>(() => pictureBox.Load(imageLocation));