public void SetText(string text)
{
if (IsDiff(_toolTipText, text))
{
_toolTipText = text;
if (_toolTipText == null)
{
_toolTip.RemoveAll();
}
else if (_toolTipText.Length == 0)
{
_toolTip.RemoveAll();
}
else
{
/* update the hover text and rearm the delay so we
* hover as long as the API will allow */
_toolTip.SetToolTip(_control, _toolTipText);
_toolTip.AutoPopDelay = 32767;
}
}
else
{
/* nothing to do */
}
}