12 references to IsDisposed
System.Windows.Forms (12)
System\Windows\Forms\Controls\Menus\MenuTimer.cs (1)
168
if (CurrentItem is not null && !CurrentItem.
IsDisposed
&& CurrentItem.Selected && CurrentItem.Enabled && ToolStripManager.ModalMenuFilter.InMenuMode)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
1147
(_lastMouseDownedItem.
IsDisposed
|| _lastMouseDownedItem.ParentInternal != this))
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
3203
if (!_state[s_stateDisposing] && !
IsDisposed
)
System\Windows\Forms\DataBinding\BindingNavigator.cs (8)
263
if (_moveFirstItem is not null && _moveFirstItem.
IsDisposed
)
287
if (_movePreviousItem is not null && _movePreviousItem.
IsDisposed
)
311
if (_moveNextItem is not null && _moveNextItem.
IsDisposed
)
335
if (_moveLastItem is not null && _moveLastItem.
IsDisposed
)
359
if (_addNewItem is not null && _addNewItem.
IsDisposed
)
389
if (_deleteItem is not null && _deleteItem.
IsDisposed
)
419
if (_positionItem is not null && _positionItem.
IsDisposed
)
443
if (_countItem is not null && _countItem.
IsDisposed
)
System\Windows\Forms\Input\MouseHoverTimer.cs (1)
59
if (_currentItem.TryGetTarget(out var currentItem) && !currentItem.
IsDisposed
)