1 write to _control
System.Windows.Forms (1)
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.cs (1)
34_control = control;
25 references to _control
System.Windows.Forms (25)
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.cs (25)
36_control.HandleCreated += OnCreateHandle; 37_control.HandleDestroyed += OnDestroyHandle; 38_control.LocationChanged += OnBoundsChanged; 39_control.SizeChanged += OnBoundsChanged; 40_control.VisibleChanged += OnParentVisibleChanged; 41_control.ParentChanged += OnParentVisibleChanged; 53private ControlItemAccessibleObject CreateAccessibilityInstance() => new(this, _window, _control, _provider); 57if (_control is not null) 59_control.HandleCreated -= OnCreateHandle; 60_control.HandleDestroyed -= OnDestroyHandle; 61_control.LocationChanged -= OnBoundsChanged; 62_control.SizeChanged -= OnBoundsChanged; 63_control.VisibleChanged -= OnParentVisibleChanged; 64_control.ParentChanged -= OnParentVisibleChanged; 216x = _control.Left - size.Width - _iconPadding; 221x = _control.Right + _iconPadding; 229y = _control.Top; 233y = _control.Top + (_control.Height - size.Height) / 2; 237y = _control.Bottom - size.Height; 270(_control.Created || _control.RecreatingHandle) && 271_control.Visible && _control.ParentInternal is not null && 274_window = _provider.EnsureErrorWindow(_control.ParentInternal);