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