System\Windows\Forms\ToolTip\ToolTip.cs (27)
151return _tools.TryGetValue(tool, out TipInfo? tipInfo) ? tipInfo.Caption : null;
312if (_tools.TryGetValue(control, out TipInfo? tt) && (tt.TipType & TipInfo.Type.SemiAbsolute) != 0)
314_tools.Remove(control);
485Control[] controls = [.. _tools.Keys];
793Control[] controls = [.. _tools.Keys];
802Control[] controls = [.. _tools.Keys];
1019return _tools.TryGetValue(control, out TipInfo? tipInfo)
1041_tools.ContainsKey(currentControl))
1147Control[] controls = [.. _tools.Keys];
1162_tools.Clear();
1218bool exists = _tools.ContainsKey(control);
1222_tools.Remove(control);
1226_tools[control] = info!;
1346if (!_tools.TryGetValue(associatedControl, out TipInfo? tipInfo))
1502if ((tool is Control toolAsControl && _tools.TryGetValue(toolAsControl, out TipInfo? tipInfo)) ||
1503(ownerWindow is Control ownerWindowAsControl && _tools.TryGetValue(ownerWindowAsControl, out tipInfo)))
1751if (_tools.ContainsKey(tool))
1793if (tool is not null && _tools.ContainsKey(tool))
1808if (!_tools.TryGetValue(tool, out TipInfo? tipInfo))
1819_tools[tool] = tipInfo;
1832if (!_tools.TryGetValue(windowAsControl, out TipInfo? tipInfo))
1843_tools[windowAsControl] = tipInfo;
1977if (window is not Control windowAsControl || !_tools.TryGetValue(windowAsControl, out TipInfo? tipInfo))
2152if (window is Control windowAsControl && !_tools.TryGetValue(windowAsControl, out tipInfo))
2226if (window is not Control control || !_tools.TryGetValue(control, out TipInfo? tipInfo))
2242_tools.Remove(control);
2260_tools[control] = tipInfo;