11 writes to Parent
System.Windows.Forms.Tests (11)
System\Windows\Forms\ToolStripControlHostTests.cs (11)
1394
Parent
= parent
1404
item.
Parent
= parent;
1415
item.
Parent
= otherParent;
1425
item.
Parent
= null;
1435
item.
Parent
= statusParent;
1463
Parent
= parent
1475
item.
Parent
= parent;
1488
item.
Parent
= otherParent;
1500
item.
Parent
= null;
1512
item.
Parent
= statusParent;
1534
Assert.Throws<ObjectDisposedException>(() => item.
Parent
= parent);
22 references to Parent
System.Windows.Forms.Tests (22)
System\Windows\Forms\ToolStripControlHostTests.cs (22)
104
Assert.Null(item.
Parent
);
1396
Assert.Same(parent, item.
Parent
);
1405
Assert.Same(parent, item.
Parent
);
1416
Assert.Same(otherParent, item.
Parent
);
1426
Assert.Null(item.
Parent
);
1436
Assert.Same(statusParent, item.
Parent
);
1465
Assert.Same(parent, item.
Parent
);
1476
Assert.Same(parent, item.
Parent
);
1489
Assert.Same(otherParent, item.
Parent
);
1501
Assert.Null(item.
Parent
);
1513
Assert.Same(statusParent, item.
Parent
);
1535
Assert.Same(parent, item.
Parent
);
3110
Assert.Null(item.
Parent
);
3119
Assert.Null(item.
Parent
);
3130
Assert.Null(item.
Parent
);
3141
Assert.Null(item.
Parent
);
3152
Assert.Null(item.
Parent
);
3183
Assert.Null(item.
Parent
);
3193
Assert.Null(item.
Parent
);
3205
Assert.Null(item.
Parent
);
3217
Assert.Null(item.
Parent
);
3229
Assert.Null(item.
Parent
);