25 references to RecreatingHandle
System.Windows.Forms (24)
System\Windows\Forms\ApplicationContext.cs (1)
134if (!form.RecreatingHandle)
System\Windows\Forms\Control.cs (6)
4925if (RecreatingHandle && _threadCallbackList is not null) 4954if (!RecreatingHandle && _threadCallbackList is not null) 8004&& !RecreatingHandle) 8145if (!RecreatingHandle && GetState(States.OwnCtlBrush) && Properties.TryGetValue(s_backBrushProperty, out HBRUSH backBrush)) 12157if (!RecreatingHandle && !Disposing && !IsDisposed && GetState(States.TrackingMouseEvent)) 12176if (!RecreatingHandle)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
957if (!RecreatingHandle)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
716if (RecreatingHandle || GetState(States.CreatingHandle))
System\Windows\Forms\Controls\ListView\ListView.cs (2)
2560if (!RecreatingHandle) 7111if (!RecreatingHandle && !ListViewHandleDestroyed)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
1116if (!RecreatingHandle)
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
560if (!RecreatingHandle)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
2252if (_toolTip is not null && !RecreatingHandle)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
1351if (RecreatingHandle || GetAnyDisposingInHierarchy())
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
962if (!RecreatingHandle)
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
1484if (!_flagState[s_isNullMask] && RecreatingHandle)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
3108!RecreatingHandle)
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
301if (!RecreatingHandle)
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
754if (!RecreatingHandle)
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1650if (!RecreatingHandle)
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
432if (RecreatingHandle)
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (1)
253if (!RecreatingHandle && !_hbrushDither.IsNull)
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.cs (1)
270(_control.Created || _control.RecreatingHandle) &&
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\SelectionUIService.cs (1)
343Debug.Assert(!RecreatingHandle, "Perf hit: we are recreating the docwin handle");