2 writes to _parentControl
System.Windows.Forms (2)
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (2)
75
_parentControl
= parentControl;
181
_parentControl
= value;
12 references to _parentControl
System.Windows.Forms (12)
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (12)
168
get =>
_parentControl
;
171
if (
_parentControl
== value)
176
if (
_parentControl
is not null)
178
_parentControl
.BindingContextChanged -= _propChangedEvent;
183
if (
_parentControl
is not null)
185
_parentControl
.BindingContextChanged += _propChangedEvent;
272
if (
_parentControl
is not null && _dataSource is not null &&
_parentControl
.BindingContext is not null)
274
_errorManager =
_parentControl
.BindingContext[_dataSource, _dataMember];
310
if (
_parentControl
is not null &&
_parentControl
.BindingContext is not null && value is not null && !string.IsNullOrEmpty(_dataMember))
315
_errorManager =
_parentControl
.BindingContext[value, _dataMember];