2 writes to _addNewItem
System.Windows.Forms (2)
System\Windows\Forms\DataBinding\BindingNavigator.cs (2)
361
_addNewItem
= null;
375
WireUpButton(ref
_addNewItem
, value, OnAddNew);
8 references to _addNewItem
System.Windows.Forms (8)
System\Windows\Forms\DataBinding\BindingNavigator.cs (8)
359
if (
_addNewItem
is not null &&
_addNewItem
.IsDisposed)
364
return
_addNewItem
;
369
if (
_addNewItem
!= value && value is not null)
540
_addNewItem
!.InternalEnabledChanged -= handler;
541
_addNewItem
.Enabled = (_addNewItemUserEnabled && allowNew);
542
_addNewItem
.InternalEnabledChanged += handler;
817
_addNewItemUserEnabled =
_addNewItem
!.Enabled;