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; 236if (_errorImage is null && _pictureBoxState[UseDefaultErrorImageState]) 255_pictureBoxState[UseDefaultErrorImageState] = false; 322_pictureBoxState[NeedToLoadImageLocationState] = !string.IsNullOrEmpty(_imageLocation); 330if (WaitOnLoad && !_pictureBoxState[InInitializationState] && !string.IsNullOrEmpty(_imageLocation)) 395if (_initialImage is null && _pictureBoxState[UseDefaultInitialImageState]) 413_pictureBoxState[UseDefaultInitialImageState] = false; 469_pictureBoxState[NeedToLoadImageLocationState] = false; 527if (_pictureBoxState[AsyncOperationInProgressState]) 533_pictureBoxState[AsyncOperationInProgressState] = true; 549_pictureBoxState[NeedToLoadImageLocationState] = false; 550_pictureBoxState[CancellationPendingState] = false; 641_pictureBoxState[CancellationPendingState] = false; 642_pictureBoxState[AsyncOperationInProgressState] = false; 650if (_pictureBoxState[CancellationPendingState]) 684if (_pictureBoxState[CancellationPendingState]) 767_pictureBoxState[UseDefaultInitialImageState] = true; 773_pictureBoxState[UseDefaultErrorImageState] = true; 801private bool ShouldSerializeInitialImage() => !_pictureBoxState[UseDefaultInitialImageState]; 806private bool ShouldSerializeErrorImage() => !_pictureBoxState[UseDefaultErrorImageState]; 1108if (_pictureBoxState[NeedToLoadImageLocationState]) 1196get => _pictureBoxState[WaitOnLoadState]; 1197set => _pictureBoxState[WaitOnLoadState] = value; 1202_pictureBoxState[InInitializationState] = true; 1207if (!_pictureBoxState[InInitializationState]) 1220_pictureBoxState[InInitializationState] = false;