23 writes to WaitOnLoad
System.Windows.Forms.Tests (22)
System\Windows\Forms\PictureBoxTests.cs (22)
721
WaitOnLoad
= true
746
WaitOnLoad
= true
772
WaitOnLoad
= true
792
WaitOnLoad
= true
831
WaitOnLoad
= true,
863
WaitOnLoad
= true,
888
WaitOnLoad
= true
1716
WaitOnLoad
= value
1721
pictureBox.
WaitOnLoad
= value;
1725
pictureBox.
WaitOnLoad
= !value;
1743
WaitOnLoad
= true
1763
WaitOnLoad
= true
1782
WaitOnLoad
= false
1832
pictureBox.
WaitOnLoad
= true;
1988
WaitOnLoad
= true
2011
WaitOnLoad
= true
2046
WaitOnLoad
= true,
2078
WaitOnLoad
= true,
2100
WaitOnLoad
= true
2522
pictureBox.
WaitOnLoad
= true;
2548
pictureBox.
WaitOnLoad
= true;
2578
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)
110
Assert.False(control.
WaitOnLoad
);
1718
Assert.Equal(value, pictureBox.
WaitOnLoad
);
1722
Assert.Equal(value, pictureBox.
WaitOnLoad
);
1726
Assert.Equal(!value, pictureBox.
WaitOnLoad
);