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