35 references to Disposing
System.Windows.Forms (35)
winforms\Managed\System\WinForms\ButtonBase.cs (1)
1025
if (
Disposing
|| IsDisposed) {
winforms\Managed\System\WinForms\ColumnHeader.cs (2)
393
if (listview != null && listview.IsHandleCreated && !listview.
Disposing
&& listview.View == View.Details) {
474
if (this.listview.IsHandleCreated && !this.listview.
Disposing
) {
winforms\Managed\System\WinForms\ComboBox.cs (1)
2521
if (
Disposing
) {
winforms\Managed\System\WinForms\Control.cs (4)
6664
if (up.
Disposing
) {
12671
if (!
Disposing
&& findNewParent && IsHandleCreated) {
13292
if (!RecreatingHandle && !
Disposing
&& !IsDisposed && GetState(STATE_TRACKINGMOUSEEVENT))
13307
if (!
Disposing
) {
winforms\Managed\System\WinForms\DataGrid.cs (1)
4639
if (value != temp && !
Disposing
) {
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
3231
if (this.DataGridView != null && !this.DataGridView.IsDisposed && !this.DataGridView.
Disposing
)
winforms\Managed\System\WinForms\Form.cs (1)
5700
if (IsDisposed ||
Disposing
) {
winforms\Managed\System\WinForms\Label.cs (1)
1441
if (
Disposing
|| IsDisposed) {
winforms\Managed\System\WinForms\LinkLabel.cs (1)
1030
if (
Disposing
|| IsDisposed) {
winforms\Managed\System\WinForms\ListBox.cs (1)
1816
if (
Disposing
) {
winforms\Managed\System\WinForms\ListView.cs (2)
4379
if (!
Disposing
&& !VirtualMode) {
4980
if (this.IsHandleCreated && !this.
Disposing
) {
winforms\Managed\System\WinForms\PictureBox.cs (1)
1234
if (
Disposing
|| IsDisposed) {
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
3884
if (
Disposing
) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (4)
3673
if (this.
Disposing
|| this.ParentInternal == null || this.ParentInternal.
Disposing
) {
3690
if (this.
Disposing
|| this.ParentInternal == null || this.ParentInternal.
Disposing
) {
winforms\Managed\System\WinForms\TabControl.cs (1)
1398
if (!
Disposing
) {
winforms\Managed\System\WinForms\ToolBar.cs (1)
1986
if (!owner.
Disposing
) {
winforms\Managed\System\WinForms\ToolStrip.cs (3)
3830
if (!
Disposing
&& !IsDisposed) {
4196
if (!
Disposing
&& !IsDisposed) {
5149
if (ownerToolStrip.
Disposing
|| ownerToolStrip.IsDisposed || ownerToolStrip.IsDropDown) {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
1961
if (TopLevel && (!IsDisposed || !
Disposing
)) {
1981
if (toolStrip != null && !(toolStrip.IsDisposed || toolStrip.
Disposing
)) {
winforms\Managed\System\WinForms\ToolStripItem.cs (2)
3064
if (parent.
Disposing
|| parent.IsDisposed) {
3396
if (Owner != null && !(Owner.IsDisposed || Owner.
Disposing
)) {
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
204
!toolStrip.
Disposing
&&
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (1)
357
&& !_wrappedToolStrip.
Disposing
) {
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
820
if (!
Disposing
&& !IsDisposed) {
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
539
if (Visible && !
Disposing
&& !IsDisposed) {