1 write to _pictureBoxState
System.Windows.Forms (1)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
108
_pictureBoxState
= new BitVector32(UseDefaultErrorImageState | UseDefaultInitialImageState);
26 references to _pictureBoxState
System.Windows.Forms (26)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (26)
170
_pictureBoxState
[CancellationPendingState] = true;
234
if (_errorImage is null &&
_pictureBoxState
[UseDefaultErrorImageState])
253
_pictureBoxState
[UseDefaultErrorImageState] = false;
320
_pictureBoxState
[NeedToLoadImageLocationState] = !string.IsNullOrEmpty(_imageLocation);
328
if (WaitOnLoad && !
_pictureBoxState
[InInitializationState] && !string.IsNullOrEmpty(_imageLocation))
393
if (_initialImage is null &&
_pictureBoxState
[UseDefaultInitialImageState])
411
_pictureBoxState
[UseDefaultInitialImageState] = false;
467
_pictureBoxState
[NeedToLoadImageLocationState] = false;
525
if (
_pictureBoxState
[AsyncOperationInProgressState])
531
_pictureBoxState
[AsyncOperationInProgressState] = true;
547
_pictureBoxState
[NeedToLoadImageLocationState] = false;
548
_pictureBoxState
[CancellationPendingState] = false;
639
_pictureBoxState
[CancellationPendingState] = false;
640
_pictureBoxState
[AsyncOperationInProgressState] = false;
648
if (
_pictureBoxState
[CancellationPendingState])
682
if (
_pictureBoxState
[CancellationPendingState])
765
_pictureBoxState
[UseDefaultInitialImageState] = true;
771
_pictureBoxState
[UseDefaultErrorImageState] = true;
799
private bool ShouldSerializeInitialImage() => !
_pictureBoxState
[UseDefaultInitialImageState];
804
private bool ShouldSerializeErrorImage() => !
_pictureBoxState
[UseDefaultErrorImageState];
1106
if (
_pictureBoxState
[NeedToLoadImageLocationState])
1194
get =>
_pictureBoxState
[WaitOnLoadState];
1195
set =>
_pictureBoxState
[WaitOnLoadState] = value;
1200
_pictureBoxState
[InInitializationState] = true;
1205
if (!
_pictureBoxState
[InInitializationState])
1218
_pictureBoxState
[InInitializationState] = false;