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