25 references to RecreatingHandle
System.Windows.Forms (24)
System\Windows\Forms\ApplicationContext.cs (1)
134
if (!form.
RecreatingHandle
)
System\Windows\Forms\Control.cs (6)
4710
if (
RecreatingHandle
&& _threadCallbackList is not null)
4739
if (!
RecreatingHandle
&& _threadCallbackList is not null)
7403
&& !
RecreatingHandle
)
7537
if (!
RecreatingHandle
&& GetState(States.OwnCtlBrush) && Properties.TryGetValue(s_backBrushProperty, out HBRUSH backBrush))
11428
if (!
RecreatingHandle
&& !Disposing && !IsDisposed && GetState(States.TrackingMouseEvent))
11447
if (!
RecreatingHandle
)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
957
if (!
RecreatingHandle
)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
716
if (
RecreatingHandle
|| GetState(States.CreatingHandle))
System\Windows\Forms\Controls\ListView\ListView.cs (2)
2560
if (!
RecreatingHandle
)
7109
if (!
RecreatingHandle
&& !ListViewHandleDestroyed)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
1116
if (!
RecreatingHandle
)
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
560
if (!
RecreatingHandle
)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
2252
if (_toolTip is not null && !
RecreatingHandle
)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
1315
if (
RecreatingHandle
|| GetAnyDisposingInHierarchy())
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
962
if (!
RecreatingHandle
)
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
1484
if (!_flagState[s_isNullMask] &&
RecreatingHandle
)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
2114
!
RecreatingHandle
)
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
301
if (!
RecreatingHandle
)
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
754
if (!
RecreatingHandle
)
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1514
if (!
RecreatingHandle
)
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
432
if (
RecreatingHandle
)
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (1)
253
if (!
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)
343
Debug.Assert(!
RecreatingHandle
, "Perf hit: we are recreating the docwin handle");