14 references to TopLevelControl
System.Windows.Forms (14)
System\Windows\Forms\ToolTip\ToolTip.cs (14)
196
if (
TopLevelControl
is not null && !
TopLevelControl
.IsDisposed)
198
cp.Parent =
TopLevelControl
.Handle;
847
&&
TopLevelControl
is not null
848
&&
TopLevelControl
.IsHandleCreated;
874
if (!_created.Contains(control) && control.IsHandleCreated &&
TopLevelControl
is not null)
940
if (
TopLevelControl
is Form baseFrom)
977
if (
TopLevelControl
?.RightToLeft == RightToLeft.Yes && !control.IsMirrored)
992
if (
TopLevelControl
?.RightToLeft == RightToLeft.Yes)
1030
Control? current =
TopLevelControl
;
1122
_topLevelControl =
TopLevelControl
;
1242
&&
TopLevelControl
is not null
1243
&&
TopLevelControl
.IsHandleCreated;
1595
Rectangle topContainerBounds = ((IKeyboardToolTip?)
TopLevelControl
)?.GetNativeScreenRectangle() ?? Rectangle.Empty;