I\'m currently adding a tooltip to a label like so:
ToolTip LabelToolTip = new System.Windows.Forms.ToolTip();
LabelToolTip.SetToolTip(this.LocationLabel, te
To simply remove the tooltip from the control, you could modify the class like this:
public static void SetToolTip( Control control, string text )
{
if ( String.IsNullOrEmpty( text ) )
{
if ( tooltips.ContainsKey(control.Name ) )
{
GetControlToolTip( control ).RemoveAll();
tooltips.Remove( control.Name );
}
}
else
{
ToolTip tt = GetControlToolTip( control );
tt.SetToolTip( control, text );
}
}
and use this command:
ToolTipHelper.SetToolTip( control, "" )