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;
233
if (_errorImage is null &&
_pictureBoxState
[UseDefaultErrorImageState])
252
_pictureBoxState
[UseDefaultErrorImageState] = false;
319
_pictureBoxState
[NeedToLoadImageLocationState] = !string.IsNullOrEmpty(_imageLocation);
327
if (WaitOnLoad && !
_pictureBoxState
[InInitializationState] && !string.IsNullOrEmpty(_imageLocation))
392
if (_initialImage is null &&
_pictureBoxState
[UseDefaultInitialImageState])
410
_pictureBoxState
[UseDefaultInitialImageState] = false;
466
_pictureBoxState
[NeedToLoadImageLocationState] = false;
524
if (
_pictureBoxState
[AsyncOperationInProgressState])
530
_pictureBoxState
[AsyncOperationInProgressState] = true;
546
_pictureBoxState
[NeedToLoadImageLocationState] = false;
547
_pictureBoxState
[CancellationPendingState] = false;
638
_pictureBoxState
[CancellationPendingState] = false;
639
_pictureBoxState
[AsyncOperationInProgressState] = false;
647
if (
_pictureBoxState
[CancellationPendingState])
681
if (
_pictureBoxState
[CancellationPendingState])
764
_pictureBoxState
[UseDefaultInitialImageState] = true;
770
_pictureBoxState
[UseDefaultErrorImageState] = true;
798
private bool ShouldSerializeInitialImage() => !
_pictureBoxState
[UseDefaultInitialImageState];
803
private bool ShouldSerializeErrorImage() => !
_pictureBoxState
[UseDefaultErrorImageState];
1102
if (
_pictureBoxState
[NeedToLoadImageLocationState])
1190
get =>
_pictureBoxState
[WaitOnLoadState];
1191
set =>
_pictureBoxState
[WaitOnLoadState] = value;
1196
_pictureBoxState
[InInitializationState] = true;
1201
if (!
_pictureBoxState
[InInitializationState])
1214
_pictureBoxState
[InInitializationState] = false;