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)
174
_pictureBoxState
[CancellationPendingState] = true;
235
if (_errorImage is null &&
_pictureBoxState
[UseDefaultErrorImageState])
254
_pictureBoxState
[UseDefaultErrorImageState] = false;
321
_pictureBoxState
[NeedToLoadImageLocationState] = !string.IsNullOrEmpty(_imageLocation);
329
if (WaitOnLoad && !
_pictureBoxState
[InInitializationState] && !string.IsNullOrEmpty(_imageLocation))
394
if (_initialImage is null &&
_pictureBoxState
[UseDefaultInitialImageState])
412
_pictureBoxState
[UseDefaultInitialImageState] = false;
468
_pictureBoxState
[NeedToLoadImageLocationState] = false;
526
if (
_pictureBoxState
[AsyncOperationInProgressState])
532
_pictureBoxState
[AsyncOperationInProgressState] = true;
548
_pictureBoxState
[NeedToLoadImageLocationState] = false;
549
_pictureBoxState
[CancellationPendingState] = false;
640
_pictureBoxState
[CancellationPendingState] = false;
641
_pictureBoxState
[AsyncOperationInProgressState] = false;
649
if (
_pictureBoxState
[CancellationPendingState])
683
if (
_pictureBoxState
[CancellationPendingState])
766
_pictureBoxState
[UseDefaultInitialImageState] = true;
772
_pictureBoxState
[UseDefaultErrorImageState] = true;
800
private bool ShouldSerializeInitialImage() => !
_pictureBoxState
[UseDefaultInitialImageState];
805
private bool ShouldSerializeErrorImage() => !
_pictureBoxState
[UseDefaultErrorImageState];
1107
if (
_pictureBoxState
[NeedToLoadImageLocationState])
1195
get =>
_pictureBoxState
[WaitOnLoadState];
1196
set =>
_pictureBoxState
[WaitOnLoadState] = value;
1201
_pictureBoxState
[InInitializationState] = true;
1206
if (!
_pictureBoxState
[InInitializationState])
1219
_pictureBoxState
[InInitializationState] = false;