Example #1
0
 public void HideTooltip()
 {
     if (m_Tooltip != null)
     {
         TooltipDelayAction.Stop();
         m_Tooltip.OnClose();
         Invalidate();
     }
 }
Example #2
0
        // *** 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();
            }
        }