1 write to _pictureBoxState
System.Windows.Forms (1)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
109
_pictureBoxState
= new BitVector32(UseDefaultErrorImageState | UseDefaultInitialImageState);
26 references to _pictureBoxState
System.Windows.Forms (26)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (26)
175
_pictureBoxState
[CancellationPendingState] = true;
236
if (_errorImage is null &&
_pictureBoxState
[UseDefaultErrorImageState])
255
_pictureBoxState
[UseDefaultErrorImageState] = false;
322
_pictureBoxState
[NeedToLoadImageLocationState] = !string.IsNullOrEmpty(_imageLocation);
330
if (WaitOnLoad && !
_pictureBoxState
[InInitializationState] && !string.IsNullOrEmpty(_imageLocation))
395
if (_initialImage is null &&
_pictureBoxState
[UseDefaultInitialImageState])
413
_pictureBoxState
[UseDefaultInitialImageState] = false;
469
_pictureBoxState
[NeedToLoadImageLocationState] = false;
527
if (
_pictureBoxState
[AsyncOperationInProgressState])
533
_pictureBoxState
[AsyncOperationInProgressState] = true;
549
_pictureBoxState
[NeedToLoadImageLocationState] = false;
550
_pictureBoxState
[CancellationPendingState] = false;
641
_pictureBoxState
[CancellationPendingState] = false;
642
_pictureBoxState
[AsyncOperationInProgressState] = false;
650
if (
_pictureBoxState
[CancellationPendingState])
684
if (
_pictureBoxState
[CancellationPendingState])
767
_pictureBoxState
[UseDefaultInitialImageState] = true;
773
_pictureBoxState
[UseDefaultErrorImageState] = true;
801
private bool ShouldSerializeInitialImage() => !
_pictureBoxState
[UseDefaultInitialImageState];
806
private bool ShouldSerializeErrorImage() => !
_pictureBoxState
[UseDefaultErrorImageState];
1108
if (
_pictureBoxState
[NeedToLoadImageLocationState])
1196
get =>
_pictureBoxState
[WaitOnLoadState];
1197
set =>
_pictureBoxState
[WaitOnLoadState] = value;
1202
_pictureBoxState
[InInitializationState] = true;
1207
if (!
_pictureBoxState
[InInitializationState])
1220
_pictureBoxState
[InInitializationState] = false;