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;
53
private ControlItemAccessibleObject CreateAccessibilityInstance() => new(this, _window,
_control
, _provider);
57
if (
_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;
216
x =
_control
.Left - size.Width - _iconPadding;
221
x =
_control
.Right + _iconPadding;
229
y =
_control
.Top;
233
y =
_control
.Top + (
_control
.Height - size.Height) / 2;
237
y =
_control
.Bottom - size.Height;
270
(
_control
.Created ||
_control
.RecreatingHandle) &&
271
_control
.Visible &&
_control
.ParentInternal is not null &&
274
_window = _provider.EnsureErrorWindow(
_control
.ParentInternal);