82 references to RecreatingHandle
System.Windows.Forms (23)
System\Windows\Forms\ApplicationContext.cs (1)
142if (!form.RecreatingHandle)
System\Windows\Forms\Control.cs (5)
4623if (RecreatingHandle && _threadCallbackList is not null) 4652if (!RecreatingHandle && _threadCallbackList is not null) 7448if (!RecreatingHandle && GetState(States.OwnCtlBrush) && Properties.TryGetValue(s_backBrushProperty, out HBRUSH backBrush)) 11320if (!RecreatingHandle && !Disposing && !IsDisposed && GetState(States.TrackingMouseEvent)) 11339if (!RecreatingHandle)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
959if (!RecreatingHandle)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
718if (RecreatingHandle || GetState(States.CreatingHandle))
System\Windows\Forms\Controls\ListView\ListView.cs (2)
2548if (!RecreatingHandle) 7048if (!RecreatingHandle && !ListViewHandleDestroyed)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
1121if (!RecreatingHandle)
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
553if (!RecreatingHandle)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
2229if (_toolTip is not null && !RecreatingHandle)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
1315if (RecreatingHandle || GetAnyDisposingInHierarchy())
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
959if (!RecreatingHandle)
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
1490if (!_flagState[s_isNullMask] && RecreatingHandle)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
2097!RecreatingHandle)
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
301if (!RecreatingHandle)
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
756if (!RecreatingHandle)
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1516if (!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)
349Debug.Assert(!RecreatingHandle, "Perf hit: we are recreating the docwin handle");
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
104Assert.False(control.RecreatingHandle);
System.Windows.Forms.Tests (57)
System\Windows\Forms\AxHostTests.cs (2)
97Assert.False(control.RecreatingHandle); 191Assert.False(control.RecreatingHandle);
System\Windows\Forms\ButtonBaseTests.cs (1)
99Assert.False(control.RecreatingHandle);
System\Windows\Forms\ButtonTests.cs (1)
97Assert.False(control.RecreatingHandle);
System\Windows\Forms\CheckBoxTests.cs (1)
99Assert.False(control.RecreatingHandle);
System\Windows\Forms\ComboBoxTests.cs (1)
109Assert.False(control.RecreatingHandle);
System\Windows\Forms\ContainerControlTests.cs (1)
102Assert.False(control.RecreatingHandle);
System\Windows\Forms\ControlTests.cs (5)
80Assert.False(control.RecreatingHandle); 169Assert.False(control.RecreatingHandle); 265Assert.False(control.RecreatingHandle); 361Assert.False(control.RecreatingHandle); 457Assert.False(control.RecreatingHandle);
System\Windows\Forms\ControlTests.Properties.cs (1)
10011Assert.False(control.RecreatingHandle);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
102Assert.False(control.RecreatingHandle);
System\Windows\Forms\DateTimePickerTests.cs (1)
101Assert.False(control.RecreatingHandle);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
133Assert.False(control.RecreatingHandle);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
104Assert.False(control.RecreatingHandle);
System\Windows\Forms\DomainUpDownTests.cs (1)
126_sub.RecreatingHandle.Should().BeFalse();
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
96Assert.False(control.RecreatingHandle);
System\Windows\Forms\FormTests.cs (1)
135Assert.False(control.RecreatingHandle);
System\Windows\Forms\GroupBoxTests.cs (1)
84Assert.False(control.RecreatingHandle);
System\Windows\Forms\HScrollBarTests.cs (1)
95Assert.False(control.RecreatingHandle);
System\Windows\Forms\LabelTests.cs (1)
92Assert.False(control.RecreatingHandle);
System\Windows\Forms\ListBoxTests.cs (1)
102Assert.False(control.RecreatingHandle);
System\Windows\Forms\ListControlTests.cs (1)
90Assert.False(control.RecreatingHandle);
System\Windows\Forms\ListViewTests.cs (1)
118Assert.False(control.RecreatingHandle);
System\Windows\Forms\MdiClientTests.cs (1)
70Assert.False(control.RecreatingHandle);
System\Windows\Forms\MenuStripTests.cs (1)
121Assert.False(control.RecreatingHandle);
System\Windows\Forms\MonthCalendarTests.cs (1)
107Assert.False(control.RecreatingHandle);
System\Windows\Forms\PanelTests.cs (1)
96Assert.False(control.RecreatingHandle);
System\Windows\Forms\PictureBoxTests.cs (1)
91Assert.False(control.RecreatingHandle);
System\Windows\Forms\ProgressBarTests.cs (1)
81Assert.False(control.RecreatingHandle);
System\Windows\Forms\PropertyGridTests.cs (1)
134Assert.False(control.RecreatingHandle);
System\Windows\Forms\RadioButtonTests.cs (1)
97Assert.False(control.RecreatingHandle);
System\Windows\Forms\RichTextBoxTests.cs (1)
110Assert.False(control.RecreatingHandle);
System\Windows\Forms\ScrollableControlTests.cs (1)
95Assert.False(control.RecreatingHandle);
System\Windows\Forms\ScrollBarTests.cs (1)
84Assert.False(control.RecreatingHandle);
System\Windows\Forms\SplitterPanelTests.cs (1)
86Assert.False(control.RecreatingHandle);
System\Windows\Forms\SplitterTests.cs (1)
84Assert.False(control.RecreatingHandle);
System\Windows\Forms\StatusStripTests.cs (1)
120Assert.False(control.RecreatingHandle);
System\Windows\Forms\TabControlTests.cs (1)
88Assert.False(control.RecreatingHandle);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
104Assert.False(control.RecreatingHandle);
System\Windows\Forms\TabPageTests.cs (2)
101Assert.False(control.RecreatingHandle); 210Assert.False(control.RecreatingHandle);
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
98Assert.False(control.RecreatingHandle);
System\Windows\Forms\ToolStripDropDownTests.cs (2)
129Assert.False(control.RecreatingHandle); 2313Assert.False(control.RecreatingHandle);
System\Windows\Forms\ToolStripPanelTests.cs (1)
98Assert.False(control.RecreatingHandle);
System\Windows\Forms\ToolStripTests.cs (2)
137Assert.False(control.RecreatingHandle); 292Assert.False(control.RecreatingHandle);
System\Windows\Forms\TreeViewTests.cs (1)
98Assert.False(control.RecreatingHandle);
System\Windows\Forms\UpDownBaseTests.cs (1)
111Assert.False(control.RecreatingHandle);
System\Windows\Forms\UserControlTests.cs (1)
102Assert.False(control.RecreatingHandle);
System\Windows\Forms\VScrollBarTests.cs (1)
94Assert.False(control.RecreatingHandle);
System\Windows\Forms\WebBrowserTests.cs (1)
80Assert.False(control.RecreatingHandle);
TextBoxTests.cs (1)
96Assert.False(control.RecreatingHandle);
TrackBarTests.cs (1)
87Assert.False(control.RecreatingHandle);