Implemented interface member:
property
Handle
System.Windows.Forms.IWin32Window.Handle
2283 references to Handle
Microsoft.VisualStudio.LanguageServices (1)
LanguageService\AbstractLanguageService`2.VsCodeWindowManager.cs (1)
278
phwnd = _documentOutlineViewHost.
Handle
;
PresentationUI (5)
MS\Internal\Documents\RMPublishingDialog.cs (1)
691
String[] userNames = picker.Show(this.
Handle
);
MS\Internal\Documents\SignatureSummaryDialog.cs (4)
329
_documentSignatureManager.OnSign(null, this.
Handle
);
350
this.
Handle
);
357
_documentSignatureManager.OnSign(null, this.
Handle
);
376
this.
Handle
);
System.Windows.Forms (47)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (2)
46
Handle = ownerControl.
Handle
;
232
/// the <see cref="Control.
Handle
"/> property of the <see cref="Owner"/> it is associated with.
System\Windows\Forms\ActiveX\AxHost.cs (1)
817
private HWND GetHandleNoCreate() => IsHandleCreated ? (HWND)
Handle
: default;
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
760
*phwnd = (HWND)_control.
Handle
;
System\Windows\Forms\Application.cs (1)
1221
cp.Parent = threadContext.GetParkingWindow(dpiAwarenessContext).
Handle
;
System\Windows\Forms\Control.cs (7)
1218
return !focusHwnd.IsNull && (focusHwnd ==
Handle
|| PInvoke.IsChild(this, focusHwnd));
2269
internal HWND InternalHandle => !IsHandleCreated ? default : (HWND)
Handle
;
4458
return Graphics.FromHwndInternal(
Handle
);
5695
/// Return <see cref="
Handle
"/> if <paramref name="window"/> is a <see cref="Control"/>.
7284
IntPtr handle =
Handle
;
10176
Debug.Assert(
Handle
!= value, "Cycle created in SetParentHandle");
12845
internal HWND HWND => (HWND)
Handle
;
System\Windows\Forms\Control.Ime.cs (4)
90
return ImeContext.GetImeMode(
Handle
);
353
ImeContext.SetImeStatus(newImeContextMode,
Handle
);
600
OnImeContextStatusChanged(
Handle
);
659
ImeContext.SetImeStatus(PropagatingImeMode, topMostWinformsParent.
Handle
);
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (1)
652
_ = DataGridView.
Handle
;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
1270
h = comboBox.ParentInternal.
Handle
;
1273
h = comboBox.
Handle
; // make sure that assigning the DataSource property does not assert.
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
1533
if (m.HWnd ==
Handle
)
System\Windows\Forms\Controls\Labels\LinkLabel.Link.LinkAccessibleObject.cs (1)
37
using Graphics graphics = Graphics.FromHwnd(_owningLink.Owner.
Handle
);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
2168
if (m.HWnd ==
Handle
)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAccessibleObject.cs (1)
32
UseStdAccessibleObjects(owningDropDownButton.
Handle
);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
2541
if (hwnd == _dropDownHolder.
Handle
)
5241
if (nmhdr->hwndFrom == ToolTip.
Handle
)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
77
cp.Parent = _gridView.ParentInternal.
Handle
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (1)
294
if (nmhdr->hwndFrom == PropertyGridView.ToolTip.
Handle
)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
3230
if (m.LParamInternal ==
Handle
&& !GetState(States.CreatingHandle))
3253
if (m.HWnd !=
Handle
)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
3998
if (!_hwndThatLostFocus.IsNull && (_hwndThatLostFocus !=
Handle
))
4408
if (Focused && (otherHwnd !=
Handle
))
4426
if ((
Handle
!= otherHwnd) && !PInvoke.IsChild(this, otherHwnd))
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
94
/// <see cref="Control.
Handle
" /> is not.
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (1)
641
m.HWnd = activeToolStrip.
Handle
;
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (2)
49
if (value._treeView is not null && value._treeView.
Handle
!= tv.
Handle
)
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
581
internal IntPtr GetHandleNoCreate() => IsHandleCreated ?
Handle
: IntPtr.Zero;
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
100
Parent = _parent.
Handle
System\Windows\Forms\Form.cs (3)
4671
if (_ctlClient is not null && _ctlClient.
Handle
!= IntPtr.Zero &&
4900
callback?.SetOwners(
Handle
);
5645
if (PInvokeCore.GetWindowLong(ownerHwnd.Handle, WINDOW_LONG_PTR_INDEX.GWL_HWNDPARENT) ==
Handle
)
System\Windows\Forms\MDI\MDIClient.cs (3)
144
if (
Handle
== IntPtr.Zero)
173
if (site is not null && site.DesignMode &&
Handle
!= IntPtr.Zero)
333
if (ParentInternal is not null && ParentInternal.Site is not null && ParentInternal.Site.DesignMode &&
Handle
!= IntPtr.Zero)
System\Windows\Forms\Screen.cs (1)
269
return FromHandle(control.
Handle
);
System\Windows\Forms\SendKeys\SendKeys.cs (1)
923
ParseKeys(keys, (control is not null) ? (HWND)control.
Handle
: default);
System\Windows\Forms\ToolTip\ToolTip.cs (1)
198
cp.Parent = TopLevelControl.
Handle
;
System.Windows.Forms.Design (40)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
80
using (GetDcScope hdc = new((HWND)listBox.
Handle
))
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (3)
69
cp.Parent = _parentControl.
Handle
;
116
if (hWnd == (HWND)
Handle
)
141
PInvokeCore.SetWindowLong(this, WINDOW_LONG_PTR_INDEX.GWL_HWNDPARENT, parent.
Handle
);
System\ComponentModel\Design\DesignerActionUI.cs (1)
750
if (_designerActionHost is not null && _designerActionHost.
Handle
!= 0 && _designerActionHost.Visible)
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (5)
57
if (focusedControl ==
Handle
)
63
if (CurrentPanel is not null && CurrentPanel.
Handle
== focusedControl)
90
if (
Handle
== hwndActivating && e.CloseReason == ToolStripDropDownCloseReason.AppClicked)
94
else if (WindowOwnsWindow((HWND)
Handle
, hwndActivating))
232
_cancelClose = WindowOwnsWindow((HWND)
Handle
, hwndActivating);
System\ComponentModel\Design\ObjectSelectorEditor.cs (1)
67
HWND hwnd = (HWND)treeView.
Handle
;
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.MouseHook.cs (1)
163
|| (hwnd != adornerWindow.DesignerFrame.
Handle
&& PInvoke.IsChild(adornerWindow.DesignerFrame, hwnd)))
System\Windows\Forms\Design\Behavior\BehaviorService.cs (1)
710
hwndTrack = (HWND)_adornerWindow.
Handle
,
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (1)
545
_dragOffset = _behaviorService.MapAdornerWindowPoint(rootControl.
Handle
, Point.Empty);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
887
_parentLocation = bhvSvc.MapAdornerWindowPoint(parentControl.
Handle
, Point.Empty);
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
622
controlBounds.Location = _behaviorService.MapAdornerWindowPoint(targetControl.Parent.
Handle
, controlBounds.Location);
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (1)
350
Point adornerServiceOrigin = _behaviorService.MapAdornerWindowPoint(baseControl.
Handle
, new Point(0, 0));
System\Windows\Forms\Design\ControlCommandSet.cs (2)
1759
return PARAM.ToInt(cX.Parent.
Handle
) - PARAM.ToInt(cY.Parent.
Handle
);
System\Windows\Forms\Design\ControlDesigner.cs (4)
881
HookChildHandles((HWND)child.
Handle
);
903
HookChildHandles((HWND)child.
Handle
);
1796
if (m.HWnd == Control.
Handle
)
2065
if (m.HWnd != Control.
Handle
)
System\Windows\Forms\Design\DesignerFrame.cs (2)
321
ThemedScrollbarWindow windowInfo = new() { Handle = c.
Handle
};
505
if (c.IsHandleCreated && m.LParamInternal == c.
Handle
)
System\Windows\Forms\Design\DesignerUtils.cs (3)
388
using GetDcScope controlDC = new((HWND)control.
Handle
);
834
HWND hwnd = (HWND)treeView.
Handle
;
849
HWND hwnd = (HWND)listView.
Handle
;
System\Windows\Forms\Design\ListViewDesigner.cs (3)
66
HookChildHandles((HWND)Control.
Handle
);
81
if (!hwndHit.IsNull && hwndHit != listView.
Handle
)
110
HookChildHandles((HWND)Control.
Handle
);
System\Windows\Forms\Design\OleDragDropHandler.cs (2)
381
DrawReversibleFrame((HWND)parentControl.
Handle
, newRect, backColor);
402
DrawReversibleFrame((HWND)parentControl.
Handle
, newRect, backColor);
System\Windows\Forms\Design\RichTextBoxDesigner.cs (2)
31
if (control is not null && control.
Handle
!= IntPtr.Zero)
33
PInvoke.RevokeDragDrop((HWND)control.
Handle
);
System\Windows\Forms\Design\TabControlDesigner.cs (1)
392
_ = e.Control.
Handle
;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
1075
Point loc = BehaviorService.MapAdornerWindowPoint(Table.
Handle
, Table.DisplayRectangle.Location);
System\Windows\Forms\Design\ToolStripInSituService.cs (2)
218
hWnd = (_toolDesigner.Editor.EditBox.Visible) ? _toolDesigner.Editor.EditBox.
Handle
: hWnd;
222
hWnd = (_toolItemDesigner.Editor.EditBox.Visible) ? _toolItemDesigner.Editor.EditBox.
Handle
: hWnd;
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1552
if (hWnd == _parent.
Handle
)
System.Windows.Forms.Design.Tests (10)
ControlDesignerTests.cs (1)
371
var msg = Message.Create(_designer._control.
Handle
, 0x0202, IntPtr.Zero, IntPtr.Zero);
System\ComponentModel\Design\ByteViewerTests.cs (9)
232
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
285
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
357
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
473
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
548
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
651
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
764
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
948
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
976
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System.Windows.Forms.Tests (2162)
CheckedListBoxTests.cs (4)
190
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
298
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
328
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
433
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
MaskedTextBoxTests.cs (7)
102
control.
Handle
.Should().NotBe(IntPtr.Zero);
175
control.
Handle
.Should().NotBe(IntPtr.Zero);
234
control.
Handle
.Should().NotBe(IntPtr.Zero);
275
control.
Handle
.Should().NotBe(IntPtr.Zero);
349
control.
Handle
.Should().NotBe(IntPtr.Zero);
664
nint handleBefore = control.
Handle
;
669
nint handleAfter = control.
Handle
;
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (8)
633
accessibleObject.UseStdAccessibleObjects(control.
Handle
);
655
accessibleObject.UseStdAccessibleObjects(control.
Handle
);
699
accessibleObject.UseStdAccessibleObjects(control.
Handle
, 250);
718
accessibleObject.UseStdAccessibleObjects(control.
Handle
, 0);
737
accessibleObject.UseStdAccessibleObjects(control.
Handle
, unchecked((int)0xFFFFFFFC));
759
accessibleObject.UseStdAccessibleObjects(control.
Handle
, 250);
780
accessibleObject.UseStdAccessibleObjects(control.
Handle
, unchecked((int)0xFFFFFFFC));
801
accessibleObject.UseStdAccessibleObjects(control.
Handle
, 0);
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (9)
75
Assert.NotEqual(IntPtr.Zero, ownerControl.
Handle
);
95
Assert.Equal(ownerControl.
Handle
, accessibleObject.Handle);
128
Assert.Equal(ownerControl.
Handle
, controlAccessibleObject.Handle);
142
Assert.Equal(ownerControl.
Handle
, controlAccessibleObject.Handle);
162
Assert.Equal(ownerControl.
Handle
, accessibleObject.Handle);
173
Assert.Equal(ownerControl.
Handle
, controlAccessibleObject.Handle);
246
value = control.
Handle
;
1064
Assert.NotEqual(IntPtr.Zero, ownerControl.
Handle
);
1083
Assert.NotEqual(IntPtr.Zero, ownerControl.
Handle
);
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (11)
155
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
224
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
393
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
485
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
519
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
602
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
688
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
726
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
758
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1276
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1464
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (6)
72
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
652
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
714
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
848
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
896
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
931
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemWithImageAccessibleObjectTests.cs (1)
42
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\AccessibleObjects\MonthCalendar.MonthCalendarChildAccessibleObjectTests.cs (1)
113
Assert.Equal(PARAM.ToInt(control.
Handle
), accessibleObject.RuntimeId[1]);
System\Windows\Forms\AccessibleObjects\ProgressBarAccessibleObjectTests.cs (2)
36
Assert.Equal(ownerControl.
Handle
, accessibilityObject.Handle);
61
Assert.Equal(ownerControl.
Handle
, accessibilityObject.Handle);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (2)
29
Assert.Equal(ownerControl.
Handle
, accessibilityObject.Handle);
62
Assert.Equal(ownerControl.
Handle
, accessibilityObject.Handle);
System\Windows\Forms\ApplicationContextTests.cs (4)
79
Assert.NotEqual(IntPtr.Zero, mainForm.
Handle
);
108
Assert.NotEqual(IntPtr.Zero, mainForm.
Handle
);
111
Assert.NotEqual(IntPtr.Zero, newMainForm.
Handle
);
142
Assert.NotEqual(IntPtr.Zero, mainForm.
Handle
);
System\Windows\Forms\ApplicationTests.cs (1)
249
window.AssignHandle(control.
Handle
);
System\Windows\Forms\AxHost.AxPropertyDescriptorTests.cs (20)
156
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
404
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
427
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
453
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
556
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
592
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
623
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
671
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
719
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
837
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
868
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
897
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
929
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
958
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1001
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1045
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1097
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1145
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1193
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1247
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\AxHostTests.cs (27)
452
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
808
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
902
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1295
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1310
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1323
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1373
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1415
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2090
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2156
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2226
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2345
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2387
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2427
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2467
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2509
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2553
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2603
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2647
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2704
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2752
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2800
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2846
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2903
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2951
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2999
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3053
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\ButtonBaseTests.cs (97)
276
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
374
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
423
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
703
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
906
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
961
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1202
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1263
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1326
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
1327
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1617
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1669
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1723
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
1724
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1804
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1947
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1995
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
1996
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2180
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2331
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2438
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2479
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2543
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2611
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2760
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2915
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2963
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3135
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3176
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
3177
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3382
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3438
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
3439
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3611
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3664
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
3665
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3817
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3862
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4036
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4091
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
4092
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4204
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4245
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4306
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4433
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4488
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5037
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5213
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5271
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5336
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5401
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5454
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5590
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5649
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5704
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5728
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5855
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5919
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5983
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6007
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6054
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6167
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6315
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6374
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6469
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6647
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6714
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6782
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6884
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7042
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7100
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7248
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7296
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
7297
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7472
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7530
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7580
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7747
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7792
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7835
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7877
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8087
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8137
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8185
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8232
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8353
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8393
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8592
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8642
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8690
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8737
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8795
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8975
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9019
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9067
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9155
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9225
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\ButtonTests.cs (27)
414
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
462
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
535
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
634
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
851
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
892
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
893
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1857
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1978
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2026
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2147
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2200
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2315
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2457
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2515
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2605
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2752
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2819
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2982
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3030
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
3031
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3159
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3206
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3454
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3486
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3529
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3633
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\CheckBoxRendererTests.cs (4)
22
form.
Handle
.Should().NotBe(IntPtr.Zero);
58
form.
Handle
.Should().NotBe(IntPtr.Zero);
95
form.
Handle
.Should().NotBe(IntPtr.Zero);
130
form.
Handle
.Should().NotBe(IntPtr.Zero);
System\Windows\Forms\CheckBoxTests.cs (6)
319
control.
Handle
.Should().NotBe(IntPtr.Zero);
338
control.
Handle
.Should().NotBe(IntPtr.Zero);
348
control.
Handle
.Should().NotBe(IntPtr.Zero);
384
control.
Handle
.Should().NotBe(IntPtr.Zero);
403
control.
Handle
.Should().NotBe(IntPtr.Zero);
413
control.
Handle
.Should().NotBe(IntPtr.Zero);
System\Windows\Forms\ColumnHeaderCollectionTests.cs (4)
458
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
509
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
975
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1014
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
System\Windows\Forms\ColumnHeaderTests.cs (21)
163
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
218
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
405
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
441
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
470
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
495
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
622
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
661
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
692
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
709
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
813
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
988
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1006
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1159
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1198
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1232
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1256
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1322
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1360
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1378
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1421
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
System\Windows\Forms\ColumnStyleTests.cs (1)
101
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\ComboBoxTests.cs (18)
197
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
233
if (control.
Handle
!= IntPtr.Zero)
360
comboBox.TestAccessor().Dynamic.OnPaint(new PaintEventArgs(Graphics.FromHwnd(comboBox.
Handle
), default));
373
comboBox.InvokeOnPaint(new PaintEventArgs(Graphics.FromHwnd(comboBox.
Handle
), default));
377
comboBox.InvokeOnPaint(new PaintEventArgs(Graphics.FromHwnd(comboBox.
Handle
), default));
917
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1085
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1198
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1382
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1408
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1435
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1881
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1915
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2076
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2121
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2685
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2698
control.
Handle
.Should().NotBe(IntPtr.Zero);
2709
control.
Handle
.Should().NotBe(IntPtr.Zero);
System\Windows\Forms\CommonDialogTests.cs (2)
189
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
211
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
System\Windows\Forms\ContainerControlTests.cs (3)
1222
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1259
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1290
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\ControlTests.ControlCollection.cs (20)
335
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
364
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
393
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
400
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
432
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
439
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
448
Assert.Equal(owner.
Handle
, PInvoke.GetParent(control));
589
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
811
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1037
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1127
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1151
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2061
Assert.NotEqual(IntPtr.Zero, child1.
Handle
);
2137
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2289
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2508
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2704
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3179
Assert.NotEqual(IntPtr.Zero, child1.
Handle
);
3258
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3352
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
System\Windows\Forms\ControlTests.cs (2)
597
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
609
Assert.Equal(parent.
Handle
, createParams.Parent);
System\Windows\Forms\ControlTests.Handlers.cs (45)
68
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
107
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
258
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
302
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
461
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
607
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
875
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
933
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1436
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1470
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1696
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1839
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1890
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1934
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2153
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2195
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2240
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2275
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2453
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2486
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2521
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2556
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2848
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2918
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2985
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3097
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3223
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3278
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3674
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3709
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3783
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4042
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4135
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
4684
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4715
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4756
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4809
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4898
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4962
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5005
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5159
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5216
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5322
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5626
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5672
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\ControlTests.Internals.cs (1)
92
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\ControlTests.Methods.cs (138)
54
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
101
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
195
Assert.NotEqual(IntPtr.Zero, child1.
Handle
);
250
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
317
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
367
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
423
IntPtr handle1 = control.
Handle
;
430
IntPtr handle2 = control.
Handle
;
445
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
466
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
482
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
497
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
514
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
526
IntPtr handle1 = control.
Handle
;
537
IntPtr handle2 = control.
Handle
;
558
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
559
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
590
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
631
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
653
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
669
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
684
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
701
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
717
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
718
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
730
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
750
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
825
IntPtr handle1 = control.
Handle
;
834
IntPtr handle2 = control.
Handle
;
849
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
872
IntPtr handle1 = control.
Handle
;
883
IntPtr handle2 = control.
Handle
;
899
IntPtr handle1 = control.
Handle
;
910
IntPtr handle2 = control.
Handle
;
943
IntPtr handle = control.
Handle
;
959
handle = control.
Handle
;
1198
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1684
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1747
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1840
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1903
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1992
IntPtr handle = control.
Handle
;
2023
IntPtr parentHandle = parent.
Handle
;
2047
IntPtr handle = control.
Handle
;
2078
IntPtr parentHandle = parent.
Handle
;
3037
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3078
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3152
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3196
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3290
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3331
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3431
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3472
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3568
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3609
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3711
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3752
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3797
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3822
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3848
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4013
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4039
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4101
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4182
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4388
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4500
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4648
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4718
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4989
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5263
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6302
IntPtr handle1 = control.
Handle
;
6307
IntPtr handle2 = control.
Handle
;
6314
IntPtr handle3 = control.
Handle
;
6348
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6517
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6830
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7090
Assert.NotEqual(IntPtr.Zero, child1.
Handle
);
7145
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
7212
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
7262
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7340
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7866
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8006
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
8723
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8863
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
9514
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9646
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
9897
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10017
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10091
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10203
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10251
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10298
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10345
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10729
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10796
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10868
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
11427
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
11548
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
11925
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
12046
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
12150
IntPtr handle = control.
Handle
;
12165
Assert.Equal(handle, control.
Handle
);
12172
Assert.Equal(handle, control.
Handle
);
12214
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
12246
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
12279
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
12324
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
12371
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
12439
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
12493
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
12604
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
12654
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
12724
Assert.NotEqual(0, control.
Handle
);
12806
Assert.NotEqual(0, control.
Handle
);
12944
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
12987
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
13043
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
13088
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
13141
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
13283
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
13313
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
13353
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
13583
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
13627
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
13679
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
13734
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
13914
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
13958
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
14006
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
14061
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
14099
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
14148
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
14215
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
14259
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
14303
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
14347
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
14398
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\ControlTests.Properties.cs (84)
38
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
206
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
243
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
283
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
870
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1065
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1112
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
1350
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1413
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1661
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1783
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2011
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2109
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2848
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2965
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
3052
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3102
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3122
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
3153
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3212
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3435
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3826
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4350
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4465
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4531
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4945
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4991
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5391
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5454
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5672
IntPtr intptr = cont.
Handle
;
6137
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6266
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
6381
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6488
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6559
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6572
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6627
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6638
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6847
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6940
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
7064
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7330
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7423
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
7549
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7766
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7805
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
8201
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8239
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8277
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8326
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
8394
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
8879
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8939
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9005
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9075
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
9164
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
9507
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9561
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
9744
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9919
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9953
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10150
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10184
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10247
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10499
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10527
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10550
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10558
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10586
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10609
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10667
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
11541
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
11675
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
11889
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
11981
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
12281
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
12372
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
12496
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
12657
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
12775
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
12816
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
13556
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
13685
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
13791
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\DataGridViewCellTests.cs (6)
509
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
568
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1125
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1169
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4522
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4582
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\DataGridViewHeaderCellTests.cs (11)
284
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
319
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
356
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
381
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
418
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2719
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2779
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2808
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2844
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2871
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2932
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\DataGridViewRowTests.cs (1)
1226
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\DataGridViewTests.cs (15)
196
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
263
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
548
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
582
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
886
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1116
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1187
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1477
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1515
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1799
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1890
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1966
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2158
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2440
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2639
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\DataGridViewTests.Rendering.cs (1)
165
Assert.NotEqual(IntPtr.Zero, dataGridView.
Handle
);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (4)
420
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
489
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1167
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1276
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (2)
287
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
342
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
400
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\DomainUpDownTests.cs (5)
204
_control.
Handle
.Should().NotBe(IntPtr.Zero);
736
_sub.
Handle
.Should().NotBe(IntPtr.Zero);
786
_sub.
Handle
.Should().NotBe(IntPtr.Zero);
836
_sub.
Handle
.Should().NotBe(IntPtr.Zero);
902
_control.
Handle
.Should().NotBe(IntPtr.Zero);
System\Windows\Forms\ErrorProviderTests.cs (1)
1181
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\FontDialogTests.cs (1)
687
Assert.Equal(IntPtr.Zero, dialog.HookProc(control.
Handle
, msg, wparam, IntPtr.Zero));
System\Windows\Forms\FormTests.cs (34)
194
Assert.True(form.
Handle
!= IntPtr.Zero);
405
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
458
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
505
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
713
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
752
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
795
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
840
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
894
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1038
Assert.NotEqual(0, form.
Handle
);
1052
Assert.True(form.
Handle
!= IntPtr.Zero);
1124
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1235
Assert.True(parent.
Handle
!= IntPtr.Zero);
1239
Assert.True(control.
Handle
!= IntPtr.Zero);
1422
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1461
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1496
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1538
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1570
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1604
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1640
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1676
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1708
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1742
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1791
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1833
IntPtr formHandle = form.
Handle
;
1837
Assert.NotEqual(formHandle, form.
Handle
);
1939
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1993
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2045
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2294
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2352
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2496
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2549
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\GroupBoxTests.cs (18)
384
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
432
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
505
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
705
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
759
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
822
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
885
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
984
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1094
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1126
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1276
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1321
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1542
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1900
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2117
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2178
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2223
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2266
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\LabelTests.cs (3)
187
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
204
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
463
Assert.NotEqual(0, label.
Handle
);
System\Windows\Forms\ListBox.IntegerCollectionTests.cs (28)
142
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
184
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
344
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
406
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
524
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
565
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
668
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
712
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
879
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
914
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
949
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
985
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1193
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1256
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1393
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1446
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1623
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1668
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1842
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1904
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2096
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2131
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2166
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2202
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2438
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2504
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2664
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2720
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (105)
499
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
588
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
912
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
985
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1062
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1162
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1471
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1550
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1632
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1714
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1945
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1990
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2039
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2099
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2211
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2322
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2374
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2429
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2484
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2669
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2713
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2761
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2809
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2996
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3053
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3113
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3173
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3383
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3432
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3485
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3538
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3687
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3793
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3830
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3867
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3905
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
4294
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
4373
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
4455
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
4537
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
4760
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
4805
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
4854
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
4914
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
5049
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
5238
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
5310
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
5390
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
5465
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
5730
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
5792
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
5858
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
5926
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
6155
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
6212
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
6276
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
6336
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
6585
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
6647
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
6713
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
6781
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
7302
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
7393
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
7717
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
7790
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
7867
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
7967
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
8276
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
8355
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
8437
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
8519
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
8750
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
8795
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
8844
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
8904
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
9016
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
9115
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
9152
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
9189
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
9227
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
9616
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
9695
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
9777
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
9859
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
10082
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
10127
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
10176
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
10236
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
10371
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
10560
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
10632
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
10712
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
10787
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
11052
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
11114
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
11180
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
11248
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
11477
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
11534
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
11598
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
11658
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
11907
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
11969
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
12035
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
12103
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
System\Windows\Forms\ListBoxTests.cs (68)
381
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
617
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
699
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
733
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
765
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
994
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1117
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1166
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1278
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1423
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1460
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1548
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1602
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1668
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1762
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1800
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1919
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1987
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2132
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2158
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2261
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2301
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2315
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2499
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2563
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2628
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2655
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2764
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2778
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2990
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3065
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3141
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3172
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3299
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3584
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3646
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3688
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3740
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3798
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3856
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3995
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4035
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4078
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4237
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4302
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4360
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4397
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4429
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4462
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4522
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4584
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4649
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4711
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4839
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4872
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5186
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5211
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5251
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5281
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5352
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5397
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5425
Assert.NotEqual(0, control.
Handle
);
5483
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5604
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5758
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5917
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5947
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6035
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\ListViewGroupCollectionTests.cs (8)
61
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
95
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
388
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
424
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
614
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
753
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
785
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
938
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
System\Windows\Forms\ListViewGroupTests.cs (18)
177
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
225
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
318
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
365
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
450
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
502
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
572
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
615
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
702
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
758
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
833
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
876
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
954
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1010
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1095
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1132
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1237
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1281
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
System\Windows\Forms\ListViewInsertionMarkTests.cs (15)
49
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
93
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
144
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
197
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
228
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
255
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
294
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
332
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
367
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
426
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
466
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
479
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
521
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
534
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
574
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\ListViewSubItemTests.cs (1)
208
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
System\Windows\Forms\ListViewTests.cs (56)
200
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
298
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
358
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
418
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
484
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
513
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
665
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
705
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
761
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
963
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1007
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1052
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1181
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1271
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1289
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1346
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1375
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1443
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1503
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1661
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1747
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1807
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
1846
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1857
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1974
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1984
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2005
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2059
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
2093
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
2153
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
2213
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
2300
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
2388
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
2448
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
2604
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
2691
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
2749
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
2809
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
2869
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
2929
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
3011
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
3052
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
3112
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
3294
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
3407
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
3465
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
3735
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
3925
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
3990
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
4049
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
4112
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4157
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4186
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4246
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4739
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
4816
Assert.NotEqual(IntPtr.Zero, listView.
Handle
);
System\Windows\Forms\MdiClientTests.cs (9)
333
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
358
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
383
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
428
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
630
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
756
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
908
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
1070
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
1209
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\MdiControlStripTests.cs (1)
306
IntPtr menuHandle = PInvoke.GetMenu((HWND)mdiParent.
Handle
);
System\Windows\Forms\MenuStripTests.cs (7)
184
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
270
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
377
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
578
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
644
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
769
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
794
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\MonthCalendarTests.cs (63)
235
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
313
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
563
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
665
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
696
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
772
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
848
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
887
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
959
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1027
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1055
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1066
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1086
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1097
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1108
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1119
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1130
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1141
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1158
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1170
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1198
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1242
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1344
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
1410
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
1477
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
1589
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
1655
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1769
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1857
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1908
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
1977
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
2059
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
2162
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
2256
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2328
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2388
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2424
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2460
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2487
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2548
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2653
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2740
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
2799
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
2834
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2877
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
2953
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
3027
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
3134
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
3241
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
3312
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3390
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3563
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3634
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3687
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3838
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3879
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3903
IntPtr handle1 = control.
Handle
;
3908
IntPtr handle2 = control.
Handle
;
3915
IntPtr handle3 = control.
Handle
;
3988
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
4095
Assert.NotEqual(IntPtr.Zero, calendar.
Handle
);
4545
nint handle = calendar.
Handle
;
4564
nint handle = calendar.
Handle
;
System\Windows\Forms\NativeWindowTests.cs (23)
22
window.AssignHandle(control.
Handle
);
23
Assert.Equal(control.
Handle
, window.Handle);
35
window1.AssignHandle(control.
Handle
);
36
Assert.Equal(control.
Handle
, window1.Handle);
41
window2.AssignHandle(control.
Handle
);
42
Assert.Equal(control.
Handle
, window1.Handle);
43
Assert.Equal(control.
Handle
, window2.Handle);
51
window.AssignHandle(control.
Handle
);
52
Assert.Equal(control.
Handle
, window.Handle);
57
window.AssignHandle(control.
Handle
);
58
Assert.Equal(control.
Handle
, window.Handle);
88
window.AssignHandle(control.
Handle
);
89
Assert.Equal(control.
Handle
, window.Handle);
91
Assert.Equal(control.
Handle
, window.Handle);
174
window.AssignHandle(control.
Handle
);
238
window.AssignHandle(control.
Handle
);
295
window.AssignHandle(control.
Handle
);
306
Assert.Equal(control.
Handle
, window.Handle);
343
window1.AssignHandle(control.
Handle
);
406
window.AssignHandle(control.
Handle
);
416
window.AssignHandle(control.
Handle
);
474
window.AssignHandle(control.
Handle
);
485
Assert.Equal(control.
Handle
, window.Handle);
System\Windows\Forms\PanelTests.cs (8)
372
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
420
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
493
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
576
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
678
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
770
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1025
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1091
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\PictureBoxTests.cs (21)
159
Assert.NotEqual(IntPtr.Zero, pictureBox.
Handle
);
258
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
351
Assert.NotEqual(IntPtr.Zero, pictureBox.
Handle
);
371
Assert.NotEqual(IntPtr.Zero, pictureBox.
Handle
);
565
Assert.NotEqual(IntPtr.Zero, pictureBox.
Handle
);
583
Assert.NotEqual(IntPtr.Zero, pictureBox.
Handle
);
670
Assert.NotEqual(IntPtr.Zero, pictureBox.
Handle
);
691
Assert.NotEqual(IntPtr.Zero, pictureBox.
Handle
);
940
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1048
Assert.NotEqual(IntPtr.Zero, pictureBox.
Handle
);
1068
Assert.NotEqual(IntPtr.Zero, pictureBox.
Handle
);
1310
Assert.NotEqual(IntPtr.Zero, pictureBox.
Handle
);
1333
Assert.NotEqual(IntPtr.Zero, pictureBox.
Handle
);
1483
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1573
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1656
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1948
Assert.NotEqual(IntPtr.Zero, pictureBox.
Handle
);
2217
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2276
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2698
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2754
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\ProgressBarTests.cs (25)
437
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
562
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
693
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
826
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
869
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
964
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1063
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1120
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1234
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1322
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1376
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1442
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1476
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1535
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1627
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1721
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1786
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1871
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1931
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2050
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2140
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2199
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2425
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2466
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2526
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\PropertyGridTests.cs (36)
236
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
312
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
609
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
664
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
725
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
803
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
888
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
966
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1051
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1136
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1214
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1299
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1403
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1463
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1579
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1640
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1754
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1839
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1917
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2027
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2113
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2173
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2251
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2337
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2420
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2498
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2584
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2674
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2884
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3022
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3136
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3224
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3309
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3394
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3541
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3595
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\RadioButtonRendererTests.cs (4)
21
form.
Handle
.Should().NotBe(IntPtr.Zero);
52
form.
Handle
.Should().NotBe(IntPtr.Zero);
89
form.
Handle
.Should().NotBe(IntPtr.Zero);
109
form.
Handle
.Should().NotBe(IntPtr.Zero);
System\Windows\Forms\RadioButtonTests.cs (16)
228
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
360
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
689
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
708
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
718
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
782
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
876
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
895
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
905
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
943
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
996
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1158
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1224
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1302
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1417
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1458
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\RichTextBoxTests.ClipboardTests.cs (1)
18
control.
Handle
.Should().NotBe(IntPtr.Zero);
System\Windows\Forms\RichTextBoxTests.cs (180)
267
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
304
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
345
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
550
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
600
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
639
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
678
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
881
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
918
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
959
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
988
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1028
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1057
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1097
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1148
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1187
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1219
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1256
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1297
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1428
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1465
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1512
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1551
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1594
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1715
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1744
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1759
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1832
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1876
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1906
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1915
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1989
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2017
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2045
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2247
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2321
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2358
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2427
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2463
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2531
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2567
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2602
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2650
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2745
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2812
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3026
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3091
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3173
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3223
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3290
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3347
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3428
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3478
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3532
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3600
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3649
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3696
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3739
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3775
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3821
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3863
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3883
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3941
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3970
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4035
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4085
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4139
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4182
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4232
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4288
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4346
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4397
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4426
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4489
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4536
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4586
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4615
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4675
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4752
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4791
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4851
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4929
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4966
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5011
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5070
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5109
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5150
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5204
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5250
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5305
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5341
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5395
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5503
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5545
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5605
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5652
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5700
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5738
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5794
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5840
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5891
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5925
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5984
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6093
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6135
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6188
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6238
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6294
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6339
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6372
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6444
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6476
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6522
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6564
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6614
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6653
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6674
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6719
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7238
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7284
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7334
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7395
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7460
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7535
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7626
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7663
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7709
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7747
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7802
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7859
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7888
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8146
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8169
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8192
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8215
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8366
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8389
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8412
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8578
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8599
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8665
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8686
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8847
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8874
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8907
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
8947
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9037
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9309
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9359
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9383
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9428
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9452
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9498
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9523
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9570
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9594
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9629
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9654
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9696
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9715
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9800
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9853
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9889
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
9972
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10028
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10063
LParam = control.
Handle
,
10133
HWnd = control.
Handle
,
10186
HWnd = control.
Handle
,
10232
HWnd = control.
Handle
,
10252
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10289
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10307
HWnd = control.
Handle
,
10339
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10369
HWnd = control.
Handle
,
10389
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10420
HWnd = control.
Handle
,
10440
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10468
HWnd = control.
Handle
,
10523
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
10638
Assert.NotEqual(0, richTextBox1.
Handle
);
System\Windows\Forms\RowStyleTests.cs (1)
101
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\ScreenTests.cs (2)
69
Assert.NotEqual(IntPtr.Zero, createdControl.
Handle
);
100
Screen screen = Screen.FromHandle(control.
Handle
);
System\Windows\Forms\ScrollableControlTests.cs (18)
224
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
280
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
377
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
493
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
620
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
753
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
915
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1192
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1227
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1304
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1477
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1749
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1851
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
1930
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2023
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2263
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2393
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2454
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\ScrollBarTests.cs (38)
390
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
436
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
609
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
615
Assert.True(PInvoke.GetScrollInfo((HWND)control.
Handle
, SCROLLBAR_CONSTANTS.SB_CTL, ref si));
730
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
745
Assert.True(PInvoke.GetScrollInfo((HWND)control.
Handle
, SCROLLBAR_CONSTANTS.SB_CTL, ref si));
760
Assert.True(PInvoke.GetScrollInfo((HWND)control.
Handle
, SCROLLBAR_CONSTANTS.SB_CTL, ref si));
780
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
795
Assert.True(PInvoke.GetScrollInfo((HWND)control.
Handle
, SCROLLBAR_CONSTANTS.SB_CTL, ref si));
810
Assert.True(PInvoke.GetScrollInfo((HWND)control.
Handle
, SCROLLBAR_CONSTANTS.SB_CTL, ref si));
862
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
881
Assert.True(PInvoke.GetScrollInfo((HWND)control.
Handle
, SCROLLBAR_CONSTANTS.SB_CTL, ref si));
903
Assert.True(PInvoke.GetScrollInfo((HWND)control.
Handle
, SCROLLBAR_CONSTANTS.SB_CTL, ref si));
925
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
944
Assert.True(PInvoke.GetScrollInfo((HWND)control.
Handle
, SCROLLBAR_CONSTANTS.SB_CTL, ref si));
967
Assert.True(PInvoke.GetScrollInfo((HWND)control.
Handle
, SCROLLBAR_CONSTANTS.SB_CTL, ref si));
1048
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1067
Assert.True(PInvoke.GetScrollInfo((HWND)control.
Handle
, SCROLLBAR_CONSTANTS.SB_CTL, ref si));
1089
Assert.True(PInvoke.GetScrollInfo((HWND)control.
Handle
, SCROLLBAR_CONSTANTS.SB_CTL, ref si));
1111
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1130
Assert.True(PInvoke.GetScrollInfo((HWND)control.
Handle
, SCROLLBAR_CONSTANTS.SB_CTL, ref si));
1152
Assert.True(PInvoke.GetScrollInfo((HWND)control.
Handle
, SCROLLBAR_CONSTANTS.SB_CTL, ref si));
1309
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1345
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1404
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1496
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1593
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1612
Assert.True(PInvoke.GetScrollInfo((HWND)control.
Handle
, SCROLLBAR_CONSTANTS.SB_CTL, ref si));
1634
Assert.True(PInvoke.GetScrollInfo((HWND)control.
Handle
, SCROLLBAR_CONSTANTS.SB_CTL, ref si));
1657
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1676
Assert.True(PInvoke.GetScrollInfo((HWND)control.
Handle
, SCROLLBAR_CONSTANTS.SB_CTL, ref si));
1698
Assert.True(PInvoke.GetScrollInfo((HWND)control.
Handle
, SCROLLBAR_CONSTANTS.SB_CTL, ref si));
1976
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2041
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2624
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2648
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2875
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2900
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\SplitterPanelTests.cs (5)
246
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
280
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
350
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
956
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1048
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\SplitterTests.cs (15)
338
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
650
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
822
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
921
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1016
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1068
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1282
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1322
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1376
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
1481
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1573
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1731
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1784
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2062
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2124
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
System\Windows\Forms\StatusStripTests.cs (1)
800
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\StatusStripTests.Rendering.cs (2)
25
Assert.NotEqual(IntPtr.Zero, form.
Handle
);
26
Assert.NotEqual(IntPtr.Zero, statusStrip.
Handle
);
System\Windows\Forms\TabControl.ControlCollectionTests.cs (16)
186
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
346
Assert.NotEqual(IntPtr.Zero, value1.
Handle
);
353
Assert.NotEqual(IntPtr.Zero, value2.
Handle
);
487
Assert.NotEqual(IntPtr.Zero, value1.
Handle
);
494
Assert.NotEqual(IntPtr.Zero, value2.
Handle
);
501
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
755
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
823
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1014
Assert.NotEqual(IntPtr.Zero, value1.
Handle
);
1021
Assert.NotEqual(IntPtr.Zero, value2.
Handle
);
1139
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1251
Assert.NotEqual(IntPtr.Zero, value1.
Handle
);
1258
Assert.NotEqual(IntPtr.Zero, value2.
Handle
);
1401
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1478
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1536
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (45)
174
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
337
Assert.NotEqual(IntPtr.Zero, value1.
Handle
);
344
Assert.NotEqual(IntPtr.Zero, value2.
Handle
);
481
Assert.NotEqual(IntPtr.Zero, value1.
Handle
);
488
Assert.NotEqual(IntPtr.Zero, value2.
Handle
);
495
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
759
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
829
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1403
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1461
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1536
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2111
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2280
Assert.NotEqual(IntPtr.Zero, value1.
Handle
);
2287
Assert.NotEqual(IntPtr.Zero, value2.
Handle
);
2430
Assert.NotEqual(IntPtr.Zero, value1.
Handle
);
2437
Assert.NotEqual(IntPtr.Zero, value2.
Handle
);
2444
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2686
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2707
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2727
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2747
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2767
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2787
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2855
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2929
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2958
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2997
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3163
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3190
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3223
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3448
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3504
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3547
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3619
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3680
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3845
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3900
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
4103
Assert.NotEqual(IntPtr.Zero, value1.
Handle
);
4110
Assert.NotEqual(IntPtr.Zero, value2.
Handle
);
4233
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
4350
Assert.NotEqual(IntPtr.Zero, value1.
Handle
);
4357
Assert.NotEqual(IntPtr.Zero, value2.
Handle
);
4507
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
4598
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
4658
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
System\Windows\Forms\TabControlTests.cs (68)
415
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
494
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
555
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
755
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
779
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
830
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
888
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
949
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1013
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1025
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1033
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1055
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1118
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1198
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1231
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1295
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1336
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1403
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1444
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1459
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1504
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1535
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1674
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1739
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1878
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1966
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1999
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2008
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2020
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2084
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2122
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2216
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2329
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2407
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2514
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2526
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2639
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2674
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2816
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2876
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2930
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3008
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3070
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3261
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3449
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3683
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3726
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3755
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3815
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4102
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4349
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4402
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4550
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4591
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4725
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4776
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4854
IntPtr handle1 = control.
Handle
;
4861
IntPtr handle2 = control.
Handle
;
4870
IntPtr handle3 = control.
Handle
;
4887
IntPtr handle1 = control.
Handle
;
4894
IntPtr handle2 = control.
Handle
;
4903
IntPtr handle3 = control.
Handle
;
5063
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5116
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5186
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5239
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5406
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5564
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\TableLayoutPanelTests.cs (5)
174
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
255
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1242
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1295
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1367
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\TableLayoutStyleTests.cs (1)
78
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\TabPageTests.cs (36)
442
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
478
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
835
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1026
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1218
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1257
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
1323
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
1382
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1449
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1600
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1637
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
1701
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
1757
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1821
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2080
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2160
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
2287
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2542
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2710
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2861
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2894
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
2956
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
3013
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3080
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3233
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3268
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
3332
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
3386
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3450
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3515
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3611
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3652
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
4118
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4219
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
4562
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4713
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
System\Windows\Forms\TextBoxBase.TextBoxBaseUiaTextProviderTests.cs (1)
922
Assert.NotEqual(IntPtr.Zero, textBoxBase.
Handle
);
System\Windows\Forms\TextBoxRendererTests.cs (6)
29
form.
Handle
.Should().NotBe(IntPtr.Zero);
30
textbox.
Handle
.Should().NotBe(IntPtr.Zero);
58
form.
Handle
.Should().NotBe(IntPtr.Zero);
59
textbox.
Handle
.Should().NotBe(IntPtr.Zero);
93
form.
Handle
.Should().NotBe(IntPtr.Zero);
94
textbox.
Handle
.Should().NotBe(IntPtr.Zero);
System\Windows\Forms\ToolStripButtonTests.cs (3)
696
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
769
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
908
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
System\Windows\Forms\ToolStripContentPanelTests.cs (10)
185
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
282
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
370
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
526
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
560
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
744
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1182
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1369
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1579
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1945
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\ToolStripDropDownTests.cs (27)
273
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
302
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
437
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
486
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
530
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1002
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1404
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1849
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2074
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2111
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2152
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2202
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2257
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2473
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2596
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2688
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2784
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2872
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3769
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3946
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4008
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4344
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4395
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4447
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4513
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4654
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4851
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\ToolStripItemTests.cs (93)
434
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
518
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
617
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
688
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
755
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
943
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1042
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
1309
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1435
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
1615
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1674
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
1817
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1878
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
1946
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2003
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
2179
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2255
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
2716
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
2863
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
3052
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3139
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
3305
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3367
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
3521
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
3619
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
3949
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
4042
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
4249
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
4333
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
4554
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
4688
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
5054
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
5182
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
5469
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
5553
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
5686
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
5753
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
5960
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
6051
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
6298
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
6390
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
6789
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
6873
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
7229
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
7332
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
7533
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
7633
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
7898
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
8000
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
8130
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
8215
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
8365
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
8449
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
8635
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
8725
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
8888
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
8972
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
9359
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
9485
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
9688
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
9786
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
10401
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
10447
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
10512
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
10560
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
10669
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
10743
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
10817
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
10882
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
11208
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
11287
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
11405
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
11487
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
11584
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
11658
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
12323
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
12425
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
12794
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
12900
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
13030
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
13136
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
13312
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
13378
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
13444
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
13548
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
13797
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
13902
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
14380
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
14469
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
14630
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
14758
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
15021
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
15147
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
System\Windows\Forms\ToolStripSeparatorTests.cs (2)
978
Assert.NotEqual(IntPtr.Zero, owner.
Handle
);
1053
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
System\Windows\Forms\ToolStripTests.cs (34)
414
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
451
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
490
PInvoke.RevokeDragDrop((HWND)control.
Handle
);
498
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
535
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
610
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
639
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
712
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1226
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2177
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2825
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3152
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3679
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3741
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3851
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3977
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4042
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4134
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4990
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5168
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5211
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5508
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5557
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5606
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5658
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6089
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6190
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
6265
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6348
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6628
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6744
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7047
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7167
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7195
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\ToolStripTests.Rendering.cs (2)
23
Assert.NotEqual(IntPtr.Zero, form.
Handle
);
24
Assert.NotEqual(IntPtr.Zero, toolStrip.
Handle
);
System\Windows\Forms\TreeNodeCollectionTests.cs (1)
128
IntPtr forcedHandle = treeView.
Handle
;
System\Windows\Forms\TreeNodeTests.cs (90)
307
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
393
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
470
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
522
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
533
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
545
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
613
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
658
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
684
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
748
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
834
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
927
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
951
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1150
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1207
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1234
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1265
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1286
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1313
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1441
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1480
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1510
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1542
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1560
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1579
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1603
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1672
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1707
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1728
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1752
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1781
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1800
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1812
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1836
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1864
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1882
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1894
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1918
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1966
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1977
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1989
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2013
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2082
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2132
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2201
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2236
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2257
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2318
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2342
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2372
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2421
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2490
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2525
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2594
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2629
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2650
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2711
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2735
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2765
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2843
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2924
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3132
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3189
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3218
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3249
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3270
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3297
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3425
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3464
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3494
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3526
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3544
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3563
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3799
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3853
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3883
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3915
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3944
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3988
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4177
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4216
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4254
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4294
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4316
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4335
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4413
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4451
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4474
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4519
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4588
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\TreeViewTests.cs (84)
157
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
454
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
487
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
579
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
640
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
730
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
997
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
1058
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
1146
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
1199
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
1287
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
1336
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
1420
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
1486
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1555
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
1643
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
1677
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1698
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1752
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
1840
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
1893
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
1981
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
2150
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
2174
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
2359
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
2380
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
2403
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
2495
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
2513
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
2532
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
2550
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
2601
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
2629
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
2668
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
2765
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2837
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
2925
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
3006
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3120
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3208
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3253
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
3341
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
3510
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
3534
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
3709
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
3730
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
3753
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
3789
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
3877
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
3930
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
4018
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
4071
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
4159
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
4212
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
4300
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
4353
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
4441
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
4508
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
4527
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
4578
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
4606
Assert.NotEqual(IntPtr.Zero, treeView.
Handle
);
4635
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4835
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4864
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4893
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4963
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4992
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5021
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5171
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5204
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5237
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5323
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5356
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5389
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5975
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6031
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6112
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6193
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6225
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6264
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6348
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6557
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6598
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7383
_ = treeView.
Handle
;
System\Windows\Forms\UpDownBaseTests.cs (22)
233
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
324
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
409
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
541
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
773
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
836
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
964
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1050
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1197
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1305
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1395
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1479
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1538
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1741
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1871
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1929
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2292
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2641
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2831
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2877
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2930
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2985
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\UserControlTests.cs (11)
487
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
535
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
608
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
759
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
813
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1020
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1159
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1213
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1688
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1725
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1756
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
System\Windows\Forms\VisualStyles\VisualStyleRendererTests.cs (1)
382
Assert.NotEqual(IntPtr.Zero, childControl.
Handle
);
System\Windows\Forms\WebBrowserTests.cs (11)
126
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1079
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1336
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1480
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1502
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1520
Assert.NotEqual(IntPtr.Zero, parent.
Handle
);
2177
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2195
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4457
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4573
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4623
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
TextBoxBaseTests.ClipboardTests.cs (3)
67
control.
Handle
.Should().NotBe(IntPtr.Zero);
127
control.
Handle
.Should().NotBe(IntPtr.Zero);
219
control.
Handle
.Should().NotBe(IntPtr.Zero);
TextBoxBaseTests.cs (90)
624
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
695
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
724
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
832
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
966
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1003
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1050
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1089
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1199
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1285
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1301
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1333
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1524
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1657
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1723
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1751
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1779
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1795
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1856
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1895
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2118
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2212
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2297
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2363
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2401
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2540
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2710
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2760
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2868
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2910
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2936
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3045
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3087
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3174
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3330
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3374
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3439
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3514
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3617
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3662
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3824
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3959
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3988
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4041
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4071
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4111
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4141
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4186
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4297
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4319
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4342
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4411
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4433
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4457
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4499
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4548
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4569
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4603
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4637
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4659
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4693
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4811
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4882
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4908
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4935
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
4968
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5262
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5398
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5468
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
5635
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6101
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6123
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6154
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6180
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6253
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6295
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6360
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6395
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6431
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6885
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
6912
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7029
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7085
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7144
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7362
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7406
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7458
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7488
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7565
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
7640
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
TextBoxTests.cs (6)
162
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
200
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
238
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
311
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
563
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
633
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
TextBoxTests.Rendering.cs (2)
26
Assert.NotEqual(IntPtr.Zero, form.
Handle
);
27
Assert.NotEqual(IntPtr.Zero, textBox.
Handle
);
TrackBarTests.cs (36)
296
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
350
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
586
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
713
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
779
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
790
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
809
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
821
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
832
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
843
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
864
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
908
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1003
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1073
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1136
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1212
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1274
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1379
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1426
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1486
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1600
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1688
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1737
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1793
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1882
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
1931
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2118
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2214
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2354
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2468
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2660
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2701
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
2776
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3087
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3119
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
3185
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
WebBrowserBaseTests.cs (2)
182
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
686
Assert.NotEqual(IntPtr.Zero, control.
Handle
);
WindowsFormsIntegration (13)
System\Windows\Integration\ElementHost.cs (5)
226
return (focusHandle == this.
Handle
|| (this.HwndSource != null && focusHandle == this.HwndSource.Handle));
577
HWSParam.ParentWindow =
Handle
;
597
if (wParam !=
Handle
)
611
UnsafeNativeMethods.SendMessage(new HandleRef(this, this.
Handle
), msg, wParam, lParam);
762
UnsafeNativeMethods.SendMessage(new HandleRef(this, this.
Handle
), msg, wParam, lParam);
System\Windows\Integration\WindowsFormsHost.cs (8)
98
SWF.ImeContext.Enable(this.Child.
Handle
);
105
SWF.ImeContext.Disable(this.Child.
Handle
);
501
UnsafeNativeMethods.SetParent(/* child = */ HostContainerInternal.
Handle
, /* parent = */ _hwndParent.Handle);
502
return new HandleRef(HostContainerInternal, HostContainerInternal.
Handle
);
776
_focusTarget.
Handle
!= _prevFocusHwnd &&
777
UnsafeNativeMethods.IsChild(
Handle
, _prevFocusHwnd) &&
778
!UnsafeNativeMethods.IsChild(
Handle
, focusHwnd))
991
if (UnsafeNativeMethods.SendMessage(new HandleRef(this, this.
Handle
),
WinFormsControlsTest (5)
FormShowInTaskbar.cs (2)
48
IntPtr formHandle = form.
Handle
;
54
if (formHandle == form.
Handle
)
ScalingBeforeChanges.cs (3)
49
GetDevicePixels((HWND)
Handle
, out _deviceDpiX, out _deviceDpiY);
50
EnableNonClientDpiScaling(new HandleRef(this,
Handle
));
51
EnableChildWindowDpiMessage(new HandleRef(this,
Handle
), true);