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