37 references to Disposing
System.Windows.Forms (34)
System\Windows\Forms\Control.cs (6)
5667
if (control.
Disposing
)
8802
||
Disposing
8817
if (!GetTopLevel() ||
Disposing
|| IsDisposed)
11723
if (!
Disposing
&& IsHandleCreated)
12157
if (!RecreatingHandle && !
Disposing
&& !IsDisposed && GetState(States.TrackingMouseEvent))
12172
if (!
Disposing
)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
1115
if (
Disposing
|| IsDisposed)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2470
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)
878
if (
Disposing
|| IsDisposed)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1811
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)
4715
if (!
Disposing
&& !VirtualMode)
5379
if (IsHandleCreated && !
Disposing
)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
1047
if (
Disposing
|| IsDisposed)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
3411
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
)