23 writes to WaitOnLoad
System.Windows.Forms.Tests (22)
System\Windows\Forms\PictureBoxTests.cs (22)
719WaitOnLoad = true 744WaitOnLoad = true 770WaitOnLoad = true 790WaitOnLoad = true 829WaitOnLoad = true, 861WaitOnLoad = true, 886WaitOnLoad = true 1714WaitOnLoad = value 1719pictureBox.WaitOnLoad = value; 1723pictureBox.WaitOnLoad = !value; 1741WaitOnLoad = true 1761WaitOnLoad = true 1780WaitOnLoad = false 1830pictureBox.WaitOnLoad = true; 1986WaitOnLoad = true 2009WaitOnLoad = true 2044WaitOnLoad = true, 2076WaitOnLoad = true, 2098WaitOnLoad = true 2520pictureBox.WaitOnLoad = true; 2546pictureBox.WaitOnLoad = true; 2576pictureBox.WaitOnLoad = true;
WinFormsControlsTest (1)
PictureBoxes.cs (1)
34pictureBox1.WaitOnLoad = false;
7 references to WaitOnLoad
System.Windows.Forms (3)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (3)
329if (WaitOnLoad && !_pictureBoxState[InInitializationState] && !string.IsNullOrEmpty(_imageLocation)) 1111if (WaitOnLoad) 1213if (ImageLocation is not null && ImageLocation.Length != 0 && WaitOnLoad)
System.Windows.Forms.Tests (4)
System\Windows\Forms\PictureBoxTests.cs (4)
108Assert.False(control.WaitOnLoad); 1716Assert.Equal(value, pictureBox.WaitOnLoad); 1720Assert.Equal(value, pictureBox.WaitOnLoad); 1724Assert.Equal(!value, pictureBox.WaitOnLoad);