public void HideTooltip() { if (m_Tooltip != null) { TooltipDelayAction.Stop(); m_Tooltip.OnClose(); Invalidate(); } }
// *** The next both functions ()Show and Hide) are PUBLIC, the rest is PRIVATE. public void ShowTooltip(string text, PointF location) { if (String.IsNullOrEmpty(text)) { HideTooltip(); return; } m_Tooltip.Text = text; SetTooltipLocation(location); if (TooltipDelayAction.Enabled) { TooltipDelayAction.Start(); } }