6 writes to _topLevelControl
System.Windows.Forms (6)
System\Windows\Forms\ToolTip\ToolTip.cs (6)
520_topLevelControl = currentTopLevel; 634_topLevelControl = null; 1117_topLevelControl = null; 1122_topLevelControl = TopLevelControl; 1165_topLevelControl = null; 1771_topLevelControl = null;
10 references to _topLevelControl
System.Windows.Forms (10)
System\Windows\Forms\ToolTip\ToolTip.cs (10)
479if (_topLevelControl is not null) 481return _topLevelControl; 680if (_topLevelControl is null) 685_topLevelControl.ParentChanged -= OnTopLevelPropertyChanged; 686_topLevelControl.HandleCreated -= TopLevelCreated; 687_topLevelControl.HandleDestroyed -= TopLevelDestroyed; 859if (control.IsHandleCreated && _topLevelControl is null) 903&& _topLevelControl is not null 904&& _topLevelControl.IsHandleCreated 906if (_topLevelControl is not Form topForm || (topForm is not null && !topForm.Modal))