35 references to Disposing
System.Windows.Forms (32)
System\Windows\Forms\Control.cs (4)
5443
if (control.
Disposing
)
10994
if (!
Disposing
&& IsHandleCreated)
11428
if (!RecreatingHandle && !
Disposing
&& !IsDisposed && GetState(States.TrackingMouseEvent))
11443
if (!
Disposing
)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
1130
if (
Disposing
|| IsDisposed)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2373
if (
Disposing
)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
2820
if (DataGridView is not null && !DataGridView.IsDisposed && !DataGridView.
Disposing
)
System\Windows\Forms\Controls\Labels\Label.cs (1)
1178
if (
Disposing
|| IsDisposed)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
866
if (
Disposing
|| IsDisposed)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1809
if (
Disposing
)
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (2)
392
if (ListView is not null && ListView.IsHandleCreated && !ListView.
Disposing
&& ListView.View == View.Details)
479
if (ListView is not null && ListView.IsHandleCreated && !ListView.
Disposing
)
System\Windows\Forms\Controls\ListView\ListView.cs (2)
4713
if (!
Disposing
&& !VirtualMode)
5377
if (IsHandleCreated && !
Disposing
)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
1047
if (
Disposing
|| IsDisposed)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
3363
if (
Disposing
|| GetFlag(Flags.RefreshingProperties))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (4)
3498
if (
Disposing
|| ParentInternal is null || ParentInternal.
Disposing
)
3518
if (
Disposing
|| ParentInternal is null || ParentInternal.
Disposing
)
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1310
if (!
Disposing
)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
3665
if (!
Disposing
&& !IsDisposed)
4090
if (!
Disposing
&& !IsDisposed)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.RestoreFocusMessageFilter.cs (1)
19
if (_ownerToolStrip.
Disposing
|| _ownerToolStrip.IsDisposed || _ownerToolStrip.IsDropDown)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
1732
if (TopLevel && (!IsDisposed || !
Disposing
))
1754
if (toolStrip is not null && !(toolStrip.IsDisposed || toolStrip.
Disposing
))
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (2)
2672
if (parent.
Disposing
|| parent.IsDisposed)
3008
if (Owner is not null && !(Owner.IsDisposed || Owner.
Disposing
))
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
194
!toolStrip.
Disposing
&&
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (1)
392
&& !_wrappedToolStrip.
Disposing
)
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
203
if (!
Disposing
&& !IsDisposed)
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
476
if (Visible && !
Disposing
&& !IsDisposed)
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
361
if (
Disposing
|| IsDisposed)
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (1)
367
if (!_outerRect.IsEmpty && !_selUIsvc.
Disposing
)
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
94
if (
Disposing
)